LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Xserver Refuse Connection (https://www.linuxquestions.org/questions/debian-26/xserver-refuse-connection-170147/)

..:eMa:.. 04-14-2004 03:00 PM

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:...

..:eMa:.. 04-14-2004 03:29 PM

My Answer:

xhost + (enter)

Any host could launch any user's apps.

llamakc 04-14-2004 04:20 PM

My suggestion:

exit out of your su session and try these as the user.

geekzen 04-14-2004 04:58 PM

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.