LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 12-04-2008, 05:36 AM   #1
jatin
LQ Newbie
 
Registered: Dec 2008
Posts: 15

Rep: Reputation: 0
Lightbulb unable to run su root command in fedora


Anybody has marked that if you logged in as ordinary user in fedora 10 and try to run su root ... you can not run some commands suppose do this

log in as a ordinary user try to su roo your prompt will be changed to [root@user]

now run "nautilus --browser" you will get this Error

-----------------------------------------------------------
(nautilus:4382): Eel-WARNING **: GConf error:
Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://www.gnome.org/projects/gconf/ for information. (Details - 1: Failed to get connection to session: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.)
-------------------------------------------------------------

Infect it should open file browser as root

but file browser will open as ordinary user


What it could be....??????

anyone facing this problem.... does anyone knows the solution ..if yes please post it here


Thnx

Regards
 
Old 12-04-2008, 07:12 AM   #2
edwardsdigital
LQ Newbie
 
Registered: Dec 2008
Distribution: ArchLinux
Posts: 4

Rep: Reputation: 1
Im not 100% sure (I use Archlinux) about the issue, but try running the command as:

$sudo nautilus

when it asks for a password use YOUR users password and see if you get the same error.

I haven't dropped to root in gnome using su in a long time, so I cant remember if I got that error before on not. I do know that by default, gnome wont allow root to log onto the system (that can be changed easily, but not recommended). I don't know for sure if this policy has anything to do with your problem.
 
Old 12-06-2008, 02:44 AM   #3
jatin
LQ Newbie
 
Registered: Dec 2008
Posts: 15

Original Poster
Rep: Reputation: 0
Thumbs up

Quote:
Originally Posted by edwardsdigital View Post
Im not 100% sure (I use Archlinux) about the issue, but try running the command as:

$sudo nautilus

when it asks for a password use YOUR users password and see if you get the same error.

I haven't dropped to root in gnome using su in a long time, so I cant remember if I got that error before on not. I do know that by default, gnome wont allow root to log onto the system (that can be changed easily, but not recommended). I don't know for sure if this policy has anything to do with your problem.


---------------------------------------------------

in fedora 9 that command runs fine... without any problem.....

problem is only with fedora core 10


for $sudo nautilus you must have to allow that ordinary user to run su*
you have to edit some .conf files. I don't want to allow any of the user to run su command (only root can run the su*) for security reason

Regards
Thnx
 
Old 12-06-2008, 05:27 AM   #4
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,174
Blog Entries: 4

Rep: Reputation: 428Reputation: 428Reputation: 428Reputation: 428Reputation: 428
Moved: This thread is more suitable in Fedora and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 07-23-2009, 05:24 AM   #5
sreeharsha.t
Member
 
Registered: Jan 2009
Location: Mumbai, India
Distribution: Fedora 9, 10,11, RHEL 5
Posts: 67

Rep: Reputation: 18
I have seen this post lately but here is the solution for it.

As a normal user you need to permit other(root) users to use your desktop..you can do that with the following command:

Code:
xhost +local:
this command will allow access for all the local users to your desktop meaning anyone who logs into your desktop can set DISPLAY env variable to :0 and start a GUI program which will appear on your screen.

to disallow access

Code:
xhost -local:
Hope this helps.
 
  


Reply

Tags
error, gconf


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
why lftp command run failed when user isn't root, but ok when logining as root steven_yu Linux - Software 0 06-06-2007 08:36 PM
Unable to run a GUI app as root using su? vharishankar Linux - General 7 05-25-2005 08:08 AM
How do I make a command run as root at boot up under Fedora 3? versaulis Linux - Software 5 02-10-2005 06:22 PM
Unable to run app as root ADJenkins Linux - Newbie 6 05-23-2004 05:23 AM
Unable to run xfree86 unless logged in as root kdepa Linux - Security 9 02-28-2004 03:58 PM


All times are GMT -5. The time now is 07:51 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration