Bug 456046 - NetworkManager applet doesn't work with fast user switching
Summary: NetworkManager applet doesn't work with fast user switching
Alias: None
Product: Fedora
Classification: Fedora
Component: NetworkManager
Version: 14
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Dan Williams
QA Contact: Fedora Extras Quality Assurance
: 372171 453985 460843 490850 508294 (view as bug list)
Depends On:
TreeView+ depends on / blocked
Reported: 2008-07-21 08:10 UTC by Avi Kivity
Modified: 2011-04-22 15:29 UTC (History)
29 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2011-04-19 21:48:05 UTC
Type: ---

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Launchpad 284596 0 None None None Never

Description Avi Kivity 2008-07-21 08:10:53 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/2008071615 Fedora/3.0.1-1.fc9 Firefox/3.0.1

Description of problem:
When multiple users are logged in, the NetworkManager applet will only work for one of them.  If one of the other users need to interact with NetworkManager, they are screwed.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Boot system
2. Log in, nm-applet loads and connects automatically
3. Log in as another user, keeping previous user logged in
4. Look in vain for the applet.  Starting nm-applet from the command line won't work.

Actual Results:
No NetworkManager applet.

Expected Results:
NetworkManager applet in all its glory.

Additional info:

Comment 1 Andre Robatino 2008-07-22 20:33:24 UTC
This might be related to bug #449976 concerning the inability to set whether the
NetworkManager applet appears on a per-user basis.

Comment 2 Alexey Kuznetsov 2008-09-08 15:07:45 UTC
*** Bug 460843 has been marked as a duplicate of this bug. ***

Comment 3 Mitch Davis 2008-10-01 13:46:24 UTC
This bug drives me crazy.  If I leave my computer going, and the screen locks, then someone else (who logs in with their own username) can't control the wireless network.  Dialog boxes pop up in the person who first logged in.  Please please fix!

Comment 4 Mitch Davis 2008-10-19 22:12:23 UTC
Has this bug been fixed for Fedora 10?  Would really really love to see it fixed.

Comment 5 Charles-Henri d'Adhémar 2009-01-10 14:23:05 UTC

This bug still apply to Fedora 10 unfortunatly.
I also suffer from this bug ...

Thank you very much for your help !

Comment 6 Mitch Davis 2009-01-10 22:45:22 UTC
This one's a royal pain, eh?

I want to tell you about how I have worked around this bug.  It is a workaround, not a fix.

 - Create a script called /usr/local/bin/grab-network

  #! /bin/bash

  sudo killall -1 nm-applet
  sleep 1
  nohup nm-applet < /dev/null > /dev/null 2>&1 &
  sleep 1

 - chmod a+x /usr/local/bin/grab-network

 - Run visudo, and add these lines:

    Cmnd_Alias GRAB_NETWORK = /usr/bin/killall -1 nm-applet


    # Allows people in grab_network group to restart wireless.
    %grab_network ALL = NOPASSWD: GRAB_NETWORK

 - Create a new group in /etc/group called "grab_network".

 - Add users who you want to be able to grab the network, to this group.

 - On the desktop for each of these users, create a launcher to /usr/local/bin/grab-network.

As I said, a workaround, not a fix.

Comment 7 Charles-Henri d'Adhémar 2009-01-11 11:29:22 UTC
Hi !

thanks for the workaround.

In fact this bug is not very annoying as long as the user who logged first is still logged. But when this user log out other users cannot use the network any more unless they log out and in again.

Still, should a bug zapper or the maintener mark this bug as belonging to F10 so that it is still valid when F9 will be end of life ? Thanks !


Comment 8 Magnus Glantz 2009-01-13 13:07:42 UTC
This bug may be solved..

I did experience it earlier, but now using:

Fedora 10 on #1 SMP



I do not longer get this problem. NetworkManager icon appears whatever user I switch to.

Can someone else verify this?

Comment 9 Alexey Kuznetsov 2009-01-13 13:30:11 UTC
still persist for x86

[axet@axet-laptop ~]$ rpm -qa|grep Network

Comment 10 Charles-Henri d'Adhémar 2009-01-13 13:48:52 UTC
Same for me on x86 it still persists with the latest NetworkManager packages

Comment 11 Magnus Glantz 2009-01-13 16:31:02 UTC
I thought perhaps me running Compiz-Fusion was the thing.. not sure if that was correct..

I turned off Compiz-Fusion (via the Desktop Effects control in the System menu) and the problem did returned.. though, once I turn on Desktop Effects again.. the problem stayed.

So now I again have the same problem. I can not reproduce this, even after reboot. I keep getting the missing NetworkManager icon all the time now.

My "Compiz Fusion" installation includes




When I didn't have the problem I got a notification about connected established to my Wireless network.

Comment 12 Martin Ebourne 2009-01-22 00:04:10 UTC
*** Bug 453985 has been marked as a duplicate of this bug. ***

Comment 13 Dan Williams 2009-02-05 00:06:51 UTC
*** Bug 372171 has been marked as a duplicate of this bug. ***

Comment 14 Dan Williams 2009-03-23 21:52:22 UTC
*** Bug 490850 has been marked as a duplicate of this bug. ***

Comment 15 Niels Haase 2009-04-09 20:11:09 UTC
same in rawhide with:


try to run nm-applet while another user is logged in result in:

** (nm-applet:5442): WARNING **: <WARN>  applet_dbus_manager_start_service(): Could not acquire the NetworkManagerUserSettings service as it is already taken.  Return: 3

Fedora Bugzappers volunteer triage team

Comment 16 Sebastian Krämer 2009-06-19 15:39:56 UTC
(In reply to comment #15)
> same in rawhide with:
> NetworkManager-glib-
> NetworkManager-gnome-
> NetworkManager-
> try to run nm-applet while another user is logged in result in:
> ** (nm-applet:5442): WARNING **: <WARN>  applet_dbus_manager_start_service():
> Could not acquire the NetworkManagerUserSettings service as it is already
> taken.  Return: 3

Maybe it's another bug but I too get this error message (only single user, no locked screen etc) whenever I want to start nm-applet.

I'm running f11 (fresh install) and version NM 0.7.1-4.git20090414.fc11. In f10, everything was fine.

Comment 17 Christian Nolte 2009-06-23 07:56:27 UTC
A remark regarding authorization: 

If a connection has been made and the user chooses to fast-user-switch to another account, this other account should not be able to tamper with already established connections, only if he has the appropriate rights to do so (via policykit).

Comment 18 Tomasz Sałaciński 2009-06-26 14:37:15 UTC
*** Bug 508294 has been marked as a duplicate of this bug. ***

Comment 19 Andre Robatino 2009-09-29 03:12:11 UTC
Bug #508294 was reported against F11, so this bug should have its Version bumped to 11 (certainly before F10 goes EOL).

Comment 20 Martin Ebourne 2009-09-29 07:12:55 UTC
I see this in F11 too.

Comment 21 Alexey Kuznetsov 2009-09-29 08:26:51 UTC
f12 - the same

Comment 22 Need Real Name 2009-10-25 14:06:03 UTC
Definitely still in F11. I did something similar to comment #5 some months ago but forgot to check for the existence of the bug.  It is absolutely related to fast user switch, specifically the nm-applet can only be executed once, but must be owned by the currently active user.

Comment 24 Bug Zapper 2009-11-16 08:09:48 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 12 development cycle.
Changing version to '12'.

More information and reason for this action is here:

Comment 25 Martin Ebourne 2010-03-22 02:33:19 UTC
This is still broken in F13 alpha, and has been forever.

Running from the command line for the second user gets:
% nm-applet
An instance of nm-applet is already running.

Of course the other instance is for the first user so no help at all.

Is there any plan to address this since it's a gaping hole in fast-user-switching support (which otherwise works excellently these days)?

Comment 26 JD 2010-06-06 20:48:31 UTC
Still broken in F13 release, any updates?

Comment 27 Jirka Klimes 2010-06-07 11:35:09 UTC
The feature is not implemented yet.
Nevertheless, the subject is currently being discussed on the networkmanager-list:

Comment 28 Martin Ebourne 2011-01-28 02:08:50 UTC
This is to be addressed in NM 0.9 I think? Hopefully that will be in F15 but as of F14 this is still broken,

Comment 29 Dan Williams 2011-04-19 21:48:05 UTC
Correct, this is addressed in 0.9 and Fedora 15 and later.  It works there, but it won't ever work in NM 0.8 and earlier (f14/f13).  Given that, I'm going to mark as fixed since it's been working in F15 for a few months already.  A large part of NM 0.9 was rearchitecting to make stuff like FUS possible.

Comment 30 Max Romanov 2011-04-22 15:29:06 UTC
another workaround: http://sourceforge.net/projects/nm-applet-guard/

Note You need to log in before you can comment on or make changes to this bug.