Bug 89169

Summary: Nautilus desktop stays as root after running from command line (as root)
Product: [Retired] Red Hat Linux Reporter: Peter Davie <peter.davie>
Component: nautilusAssignee: Alexander Larsson <alexl>
Status: CLOSED RAWHIDE QA Contact: Jay Turner <jturner>
Severity: medium Docs Contact:
Priority: medium    
Version: 9CC: srevivo
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: i586   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-06-02 12:57:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Peter Davie 2003-04-19 01:06:16 UTC
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):


How reproducible:
Always

Steps to Reproduce:
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 :-)

Additional info:

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"

Comment 1 Alexander Larsson 2003-04-24 14:51:02 UTC
Well, it really shouldn't be managing the desktop if another copy already is.

Comment 2 Alexander Larsson 2003-06-02 12:57:05 UTC
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.