Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Sep 1998 10:30:40 +0100
From:      Scott Mitchell <scott@dcs.qmw.ac.uk>
To:        Mike Knoll <knollm@lafcol.lafayette.edu>, questions@FreeBSD.ORG
Subject:   Re: XDM
Message-ID:  <19980924103040.M12188@dcs.qmw.ac.uk>
In-Reply-To: <199809240458.AAA18719@lafcol>; from Mike Knoll on Thu, Sep 24, 1998 at 01:13:17AM -0400
References:  <199809240458.AAA18719@lafcol>

next in thread | previous in thread | raw e-mail | index | archive | help
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@dcs.qmw.ac.uk>   | 0x54B171B9 | like a dried up piece of roast goat"
QMW College, London, UK | 0xAA775B8B |     -- J. S. Bach.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980924103040.M12188>