open file in root! 1 ERROR
Xlib: connection to ":0.0" refused by server
Gtk-WARNING **: cannot open display: this is the error if i open 1 file on root, what is the problem? anyone knows? tks |
just a guess, are you not using a gui? what kind of file are you trying to open?
|
The user has not allowed other users to connect to their desktop X display.
xhost + localhost then su - root <enter password> <enter command> RO |
RolledOat's solution doesn't work on my system, but copying the user's .Xauthority to /root does the trick (you might not want to do this if root's .Xauthority is already set up for connecting to other systems - in that case, use 'cat ~user/.Xauthority >> /root/.Xauthority')
|
yes it's work ;)
tks guy's :D |
All times are GMT -5. The time now is 12:02 PM. |