Asmund Hjulstad <hjulstad(a)stud.ntnu.no> writes:
Open KDE Konsole, su to root. Start xemacs.
Following message appears:
-----
Xlib: connection to ":0.0" refused by server
Xlib: Invalid XDM-AUTHORIZATION-1 key (failed key comparison)
You can not start X applications under root without setting the
XAUTHORITY environment variable appropriately. This should do the
trick:
XAUTHORITY=$HOME/.Xauthority; export XAUTHORITY
(or
setenv XAUTHORITY $HOME/.Xauthority
if you use csh [shudder] as root's shell)
Then you can run X applications (including XEmacs) as root.
HTH,
vin