Red Hat Bugzilla – Bug 89169
Nautilus desktop stays as root after running from command line (as root)
Last modified: 2015-01-07 19:04:44 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225
Description of problem:
Task: Perform operations as root when logged in as another user.
History: The same approach was used in RH8 without the side effects found in RH9
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. open terminal window
2. log on as root
3. run natilus: e.g. ./nautilus &
4. Upon closing nautilus the desktop gets redrawn as root's desktop (not the
orignal user) and remains there until a logout is done.
Actual Results: Nautilus stays in "root mode" despite the process having been
terminated. The temporary workarounds are noted under additional info.
Expected Results: The problem here is that this behaviour differs radically
from RH8. Arguably RH8 should have behaved in this manner in the first place :-)
Workaround 1: run nautilus with the --no-desktop option.
Workaround 2: live with it and log out.
Workaround 3: Do not run as separate process
Workaround 4: Create a menu entry like in KDE for "Superuser Nautilus"
Well, it really shouldn't be managing the desktop if another copy already is.
This is fixed in RAWHIDE by the use of a manager selection for the desktop. If
anyone is already managing the desktop nautilus won't.