launching text editor as root
Date: Thu, 14 Jul 2005 03:36:35 GMT
When I'm in a shell (bash konsole in my case) and say 'emacs' as user, the
editor launches normally. However, if I do the same as root, I get:
| Xlib: connection to ":0.0" refused by server
| Xlib: No protocol specified
| 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.
Curiously, vim starts fine in these conditions. The DISPLAY variable is
the same as it is as user. I'd greatly appreciate any explanations.
Sebastian P. Luque
- need help
... Xlib: connection to ":1.0" refused by server ... Xlib: Invalid XDM-AUTHORIZATION-1 key ... emacs: Cannot connect to X server:1.0. ...
- freebsd5.2 and kdm - what is wrong?
... i've added 'exec startkde' to .xsession, ... Xlib: connection to ":0.0" refused by server ...
- switching user after kde 3.4 update
... Protocol not supported by server ... Xlib: connection to ":1.0" refused by server ...
- vnc and X11/Xlib
... monitor connected to the remote host, but that defeats the purpose of this ... Xlib: connection to ":1.0" refused by server ... Xlib: Client is not authorized to connect to Server ...
- Re: [SLE] Good Mail Reader that can be launched from xterm???
... Xlib: connection to ":0.0" refused by server ... On 05-May-04 Ain Vagula wrote: ...