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 |
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. |
Quote:
--------------------------------------------------- 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 |
Moved: This thread is more suitable in Fedora and has been moved accordingly to help your thread/question get the exposure it deserves.
|
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: to disallow access Code:
xhost -local: |
All times are GMT -5. The time now is 07:45 AM. |