[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: XDM
- To: Mike Knoll <knollm@xxxxxxxxxxxxxxxxxxxx>, questions@xxxxxxxxxxx
- Subject: Re: XDM
- From: Scott Mitchell <scott@xxxxxxxxxxxxx>
- Date: Thu, 24 Sep 1998 10:30:40 +0100
- In-reply-to: <199809240458.AAA18719@lafcol>; from Mike Knoll on Thu, Sep 24, 1998 at 01:13:17AM -0400
- References: <199809240458.AAA18719@lafcol>
- Sender: owner-freebsd-questions@xxxxxxxxxxx
On Thu, Sep 24, 1998 at 01:13:17AM -0400, Mike Knoll wrote:
> I built XFree86, and can run xinit to start an X session. I tried to login
> using XDM, and I get the error in my .xsession-errors:
>
> Xlib: connection to "0:0" refused by server
> Xlib: Invalid MIT-MAGIC-COOKIE-1 key
> xterm Xt error: Can't open display: :0
>
> My guess is this is because the cookie uses DES, and when I installed
> freebsd, I selected not to install DES.
>
> Am I correct? And if so, how can I build in support for DES?
I don't think DES is your problem -- I've never installed it and my xdm
works just fine. How are you starting xdm? And did you change any of its
config files? What's in your .xsession?
>From the error message it looks as though xterm is using a different
authorisation cookie to the one expected by the server. IIRC, the default
xdm config starts the X server with an authorisation file buried somewhere
under /usr/X11R6/lib/X11/xdm/authfiles. If you're trying to use your own
authorisation file (eg. with an XAUTHORITY variable pointing to
~/.Xauthority) then you will have problems. Probably that is what's
happening.
HTH,
Scott
--
===========================================================================
Scott Mitchell | PGP Key ID |"If I can't have my coffee, I'm just
<scott@xxxxxxxxxxxxx> | 0x54B171B9 | like a dried up piece of roast goat"
QMW College, London, UK | 0xAA775B8B | -- J. S. Bach.
To Unsubscribe: send mail to majordomo@xxxxxxxxxxx
with "unsubscribe freebsd-questions" in the body of the message