`su' returns error message
I am using Fedora Core 4
I am not able to do any root works with `su' command. I am giving the command proviided with password, I am getting the # prompt but nothing works. All the time I am getting a message that "Xlib: connection to ":0.0" refused by server Xlib: No protocol specified". For better understanding, I am trying to open `/boot/grub/grub.conf', Code:
[root@localhost anindyanuri]# gedit /boot/grub/grub.conf Code:
[root@localhost anindyanuri]# synaptic regrds anindyanuri |
before su type :
"xhost +" It allows all users to access X server. |
The problem is that X will only allow programs started by the user who started X to connect. root didn't fire up X therefore root can't run a gui program.
`xhost +` relaxes these permissions so that anyone can fire up a gui program. You should consider using a CLI editor such as vi, nano or pico rather than use `xhost +` especially if your computer is in a networked environment |
Thank you mmmm
it worked ......... and now i am able to do root works with `su' So, the problem is now solved. Thank you once again. regrds anindyanuri |
Quote:
But I have applied `xhost +' before your mail. Anyway, I'll remember your point. regrds anindyanuri |
sux
You can also use
Code:
sux Code:
su |
In some distributions (eg Gentoo), to use su you need to be a member of the wheel group (or some similar group).
|
All times are GMT -5. The time now is 05:05 PM. |