.xsession-errors

JB jb.1234abcd at gmail.com
Fri Nov 5 20:19:00 UTC 2010


Richard Ryniker <ryniker <at> alum.mit.edu> writes:

> 
> I assume "nm-applet" has something to do with NetworkManager, but that
> should not be running:
> 
>   [ryniker <at> mini ~]$ chkconfig --list NetworkManager
>   NetworkManager 	0:off	1:off	2:off	3:off	4:off	5:off	6:off
>   [ryniker <at> mini ~]$ 
> 
> Perhaps nm-applet is supposed to wait around until NetworkManager might run
> (that seems plausible), but these messages from nm-applet look like a
> program or configuration error.  Does nm-applet actually refer to
> something else, and not NetworkManager?
> 

$ ps aux |grep -i network
root      1055  0.0  0.1  27764  3860 ?        Ssl  Nov01   0:14 NetworkManager
--pid-file=/var/run/NetworkManager/NetworkManager.pid

$ ps aux |grep -i nm
...
root     12447  0.0  0.1   8712  3564 ?        S    05:49   0:00 /sbin/dhclient
-d -4 -sf /usr/libexec/nm-dhcp-client.action -pf /var/run/dhclient-eth0.pid -lf
/var/lib/dhclient/dhclient-5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03-eth0.lease -cf
/var/run/nm-dhclient-eth0.conf eth0
jb       13058  0.0  0.5 175648 11712 ?        Sl   06:01   0:00 nm-applet
--sm-disable

$ rpm -qf `which NetworkManager`
NetworkManager-0.8.1-9.git20100831.fc14.i686

$ rpm -qf `which nm-applet`
NetworkManager-gnome-0.8.1-9.git20100831.fc14.i686

$ yum info NetworkManager
Name        : NetworkManager
Arch        : i686
Epoch       : 1
Version     : 0.8.1
Release     : 9.git20100831.fc14
Size        : 5.1 M
Repo        : installed
>From repo   : updates-testing
Summary     : Network connection manager and user applications
URL         : http://www.gnome.org/projects/NetworkManager/
License     : GPLv2+
Description : NetworkManager is a system network service that manages your
            : network devices and connections, attempting to keep active
            : network connectivity when available. It manages ethernet, WiFi,
            : mobile broadband (WWAN), and PPPoE devices, and provides VPN
            : integration with a variety of different VPN services.

$ rpm -ql NetworkManager
...
/etc/rc.d/init.d/NetworkManager
...

$ yum info NetworkManager-gnome
Name        : NetworkManager-gnome
Arch        : i686
Epoch       : 1
Version     : 0.8.1
Release     : 9.git20100831.fc14
Size        : 1.5 M
Repo        : installed
>From repo   : updates-testing
Summary     : GNOME applications for use with NetworkManager
URL         : http://www.gnome.org/projects/NetworkManager/
License     : GPLv2+
Description : This package contains GNOME utilities and applications for use
            : with NetworkManager, including a panel applet for wireless
            : networks.

$ rpm -ql NetworkManager-gnome
...
/usr/bin/nm-applet
...

Now enlarge your gnome terminal window so you can see this unbroken tree:

$ pstree
init─┬─NetworkManager─┬─dhclient
     │                └─2*[{NetworkManager}]
...
     ├─login───bash───startx───xinit─┬─X
     │                               └─ck-xinit-sessio───gnome-session─┬─abrt-applet
     │                                                                 ├─ ...
     │                                                                
├─nm-applet───{nm-applet}
     │                                                                 ├─ ...

You can see what starts NetworkManager service and what starts GNOME applet
nm-applet.

JB




More information about the test mailing list