From owner-freebsd-questions Thu Sep 24 02:38:29 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA02968 for freebsd-questions-outgoing; Thu, 24 Sep 1998 02:38:29 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from hotpoint.dcs.qmw.ac.uk (hotpoint.dcs.qmw.ac.uk [138.37.88.162]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA02941 for ; Thu, 24 Sep 1998 02:38:21 -0700 (PDT) (envelope-from scott@dcs.qmw.ac.uk) Received: from brunos-sun.dcs.qmw.ac.uk [138.37.88.185]; by hotpoint.dcs.qmw.ac.uk (8.8.7/8.8.5/S-4.0) with SMTP; id KAA18893; Thu, 24 Sep 1998 10:38:16 +0100 (BST) Received: locally by brunos-sun (SMI-8.6/QMW-client-3.2b); poster "scott"; id KAA22345; Thu, 24 Sep 1998 10:30:40 +0100 Message-ID: <19980924103040.M12188@dcs.qmw.ac.uk> Date: Thu, 24 Sep 1998 10:30:40 +0100 From: Scott Mitchell To: Mike Knoll , questions@FreeBSD.ORG Subject: Re: XDM References: <199809240458.AAA18719@lafcol> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <199809240458.AAA18719@lafcol>; from Mike Knoll on Thu, Sep 24, 1998 at 01:13:17AM -0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 | 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