All of a sudden I started getting these messages when running emacs or
xbill etc. as root from an su'ed xterm on the workstation:

(agnete is the workstation)

$ su
Password:
#emacs
Xlib: connection to "agnete:0.0" refused by server
Xlib: Client is not authorized to connect to Server
emacs: Cannot connect to X server agnete: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
#/usr/games/xbill
Xlib: connection to "agnete:0.0" refused by server
Xlib: Client is not authorized to connect to Server
Error: Can't open display: agnete:0.0
#


So I check the DISPLAY variable:
DISPLAY=agnete:0.0

I'm not allowed to run xhost because of the same problem as above (no
I don't have a screen on the server and need to do this from a
workstation :) ).

If I ssh -X to my server and try to run an X-program it works fine as
long as I'm not root.  If I'm root, the program just hangs still and
does nothing.  It seems to execute but I cannot either see a window
nor any output in the xterm.

How may I cope with this problem (or problems if the Xlib and
SSH-problems are not the same)?

Thanks.

-- 
Ole Sebastian Stein

``Beware of bugs in the above code; I have only proved it correct, not
tried it.'' -- Donald E. Knuth, March 1977

_______________________________________________________________
Hundreds of nodes, one monster rendering program.
Now that's a super model! Visit http://clustering.foundries.sf.net/

_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.openprojects.net

Reply via email to