On Tue, 23 Mar 1999, Justin Georgeson wrote:
>I finally have xdm running, but I've noticed that the xauth/xhost stuff
>is messed up when X starts from xdm. For example, it I su to some user
>and set my display, then type xv, it says:
>
>Xlib: connection to ":0.0" refused by server
>Xlib: Client is not authorized to connect to Server
>xv: Can't open display
>
>before stting up xdm, I would just type 'xhost +' in if I ever saw this.
>But now xhost says the same thing. I've read the man on xhost and xauth
>and can't figure out how to make this work. I don't encounter this at
>all if I start in run level 3 then type 'xstart' at the prompt. Thanks.
xdm creates a .Xauthority file in the user's $HOME. The X-server uses this for
authentication. If you change users, the new user must be able to read the old
.Xauthority (or a copy of it), and the XAUTHORITY variable must be set to point
to it (unless the HOME is the same).
Taral
---------------------------------------------------------------------------
Send administrative requests to [EMAIL PROTECTED]