On Wednesday 12 December 2001 23:10, you wrote:

pretty simple actually.

First you need to allow access to the xserver from other hosts/users. So as 
the user you ARE running X as open a console and type
xhost +127.0.0.1
this will allow everyone comming from localhost.
now su to root. Now since it's not root's X vars aren't set and it doesn't 
know where to look for X. so type
export DISPLAY=127.0.0.1:0.0
now start xemacs and it should work.

regards


> Hi all,
>
> I'm using SuSE 7.3 with Gnome and everthing works fine. Sometimes I'd
>
> like to use XEmacs (or other GUI programs) as root:
>  > su
>
> Password:
> # xemacs
> Xlib: connection to ":0.0" refused by server
> Xlib: Invalid XDM-AUTHORIZATION-1 key (failed key comparison)
>
> Initialization error: X server not responding
>
> : ":0.0"
>
> How can I correct this?
>
> Regards,
> Oliver
>
> _______________________________________________
> Newbie mailing list
> [EMAIL PROTECTED]
> *** To unsubscribe , or change message options, see:
> http://XFree86.Org/mailman/listinfo/newbie
_______________________________________________
Newbie mailing list
[EMAIL PROTECTED]
*** To unsubscribe , or change message options, see:
http://XFree86.Org/mailman/listinfo/newbie

Reply via email to