[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: root and X problem



Petr Simon wrote:

Hi,
when I am loged as user and I change to root in a konsole I can't open any app getting this error:
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified


Gtk-WARNING **: cannot open display: :0.0

What can I do about it?
Thanks a lot
Petr



What'd I'd recommend is to use sudo instead. Just "sudo <command>" should run that command as root (if you've set up sudo). If you need to be root for more than a single command, you can run "sudo xterm" and a new xterm will start with you as root.

--
Kent




Reply to: