nm-applet in XFC

Hi.

I’m running openSUSE 12.1 with XFCE. So far my network setup is done by ifup. However, I would like to switch to NetworkManager.

When I try to run nm-applet I get the following output:

$ nm-applet
** Message: applet now removed from the notification area

** (nm-applet:18544): WARNING **: get_all_cb: couldn't retrieve system settings properties: (32) Unit dbus-org.freedesktop.NetworkManager.service failed to load: No such file or directory. See system logs and 'systemctl status dbus-org.freedesktop.NetworkManager.service' for details..
** Message: applet now embedded in the notification area

** (nm-applet:18544): WARNING **: fetch_connections_done: error fetching connections: (32) Unit dbus-org.freedesktop.NetworkManager.service failed to load: No such file or directory. See system logs and 'systemctl status dbus-org.freedesktop.NetworkManager.service' for details..

** (nm-applet:18544): WARNING **: Failed to register as an agent: (32) Unit dbus-org.freedesktop.NetworkManager.service failed to load: No such file or directory. See system logs and 'systemctl status dbus-org.freedesktop.NetworkManager.service' for details.
** Message: applet now removed from the notification area
^C** Message: PID 0 (we are 18544) sent signal 2, shutting down...

The output of systemctl status dbus-org.freedesktop.NetworkManager.service is:

$ systemctl status dbus-org.freedesktop.NetworkManager.service
dbus-org.freedesktop.NetworkManager.service
	  Loaded: error (Reason: No such file or directory)
	  Active: inactive (dead)

The applet doesn’t appear in the notification area.

What can I do to make nm-applet run?

Thanks!

Did you make the necessary changes in Yast - Network - Networksettings, i.e. make the change from ifup -> Networkmanager ? If not do so, and the nm-applet should show up.

Yes, that was the first thing I tried.

During the setup a dialog pops up and prompts:

Applet needed

NetworkManager is controlled by desktop applet
(knetworkmanager for KDE and nm-applet for GNOME).
Be sure it’s running and if not, start it manually.

When I run nm-applet on the command-line and press OK the following output appears in the terminal:

$ nm-applet
** Message: applet now removed from the notification area

** (nm-applet:24311): WARNING **: get_all_cb: couldn't retrieve system settings properties: (32) Unit dbus-org.freedesktop.NetworkManager.service failed to load: No such file or directory. See system logs and 'systemctl status dbus-org.freedesktop.NetworkManager.service' for details..

** (nm-applet:24311): WARNING **: fetch_connections_done: error fetching connections: (32) Unit dbus-org.freedesktop.NetworkManager.service failed to load: No such file or directory. See system logs and 'systemctl status dbus-org.freedesktop.NetworkManager.service' for details..

** (nm-applet:24311): WARNING **: Failed to register as an agent: (32) Unit dbus-org.freedesktop.NetworkManager.service failed to load: No such file or directory. See system logs and 'systemctl status dbus-org.freedesktop.NetworkManager.service' for details.
** Message: applet now embedded in the notification area
** Message: applet now removed from the notification area

** (nm-applet:24311): WARNING **: nm_client_get_devices: error getting devices: Unit dbus-org.freedesktop.NetworkManager.service failed to load: No such file or directory. See system logs and 'systemctl status dbus-org.freedesktop.NetworkManager.service' for details.


** (nm-applet:24311): WARNING **: Error in get_property: Unit dbus-org.freedesktop.NetworkManager.service failed to load: No such file or directory. See system logs and 'systemctl status dbus-org.freedesktop.NetworkManager.service' for details.


** (nm-applet:24311): WARNING **: nm_client_get_devices: error getting devices: Unit dbus-org.freedesktop.NetworkManager.service failed to load: No such file or directory. See system logs and 'systemctl status dbus-org.freedesktop.NetworkManager.service' for details.


** (nm-applet:24311): WARNING **: Failed to register as an agent: (4) Message did not receive a reply (timeout by message bus)
** Message: NM disappeared

When Yast is done an error message pops up:

Error

No network running

Then, the network is dead. And can only be revived by setting network back to the ifup method.

Did you try a reboot inbetween? I.e. set the network to use the networkmanager, then reboot ?

Duh I didn’t think of that. Okay, with a reboot it works. Thanks for pointing me there.

Might be a good idea to add that info to the applet needed dialog.

It is an issue. IMHO a change in handling of the network should not require a reboot, just a “rcnetwork restart” or the systemd equivalent. Recently I had to handle some laptops where the same thing happened, no network restart unless after a reboot.
But…glad it’s solved, have fun