Xserver Refuse Connection
Hi!
After installed some apps via apt-get, when I tried to lunch them I see: ServerONE:/# xhost Xlib: connection to ":0.0" refused by server Xlib: Client is not authorized to connect to Server xhost: unable to open display ":0.0" OR: ServerONE:/# emacs & [1] 428 ServerONE:/# Xlib: connection to ":0.0" refused by server Xlib: Client is not authorized to connect to Server emacs: Cannot connect to X server :0.0. Check the DISPLAY environment variable or use `-d'. Also use the `xhost' program to verify that it is set to permit connections from your machine. [1]+ Exit 1 emacs Even: ServerONE:/# xawtv This is xawtv-3.72, running on Linux/i686 (2.2.20-idepci) Xlib: connection to ":0.0" refused by server Xlib: Client is not authorized to connect to Server Error: Can't open display: :0.0 ServerONE:/# Someone have an idea? Tks! ..:eMa:... |
My Answer:
xhost + (enter) Any host could launch any user's apps. |
My suggestion:
exit out of your su session and try these as the user. |
Yes. You CANNOT start x programs as root, though you can sudo into them.
|
All times are GMT -5. The time now is 07:58 AM. |