On Tue, Jul 03, 2001 at 11:13:37AM +0800, Arne Goetje wrote: | Hi, | | sometimes I need to run some X apps as root (i.e. ethereal, lprngtool) but | Xlib complains that the server refuses the connection.
In the root shell type export DISPLAY=:0 so that the X client knows what server to use. If that alone doesn't solve the problem (it ususally does for me) then type something like 'xhost +localhost' in a terminal as a regular user (ie the one who started the xserver). HTH, -D