From owner-freebsd-questions Mon Jul 15 8: 4:59 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2C81937B400 for ; Mon, 15 Jul 2002 08:04:56 -0700 (PDT) Received: from CPE0004761ac738-CM00109515bc65.cpe.net.cable.rogers.com (CPE0004761ac738-CM00109515bc65.cpe.net.cable.rogers.com [24.103.39.131]) by mx1.FreeBSD.org (Postfix) with SMTP id 6895D43E6D for ; Mon, 15 Jul 2002 08:04:55 -0700 (PDT) (envelope-from shadow@CPE0004761ac738-CM00109515bc65.cpe.net.cable.rogers.com) Received: (qmail 64596 invoked from network); 15 Jul 2002 15:05:43 -0000 Received: from unknown (HELO vsivyoung) (66.46.21.253) by cpe0004761ac738-cm00109515bc65.cpe.net.cable.rogers.com with SMTP; 15 Jul 2002 15:05:43 -0000 Message-ID: <010101c22c10$fb2092b0$c801a8c0@vsivyoung> From: "Miroslav Pendev" To: "gfb" Cc: "freebsd-questions" References: <1D3F45AA-95C2-11D6-A861-003065EDC304@vta.com> Subject: Re: xdm initialization problems Date: Mon, 15 Jul 2002 11:04:54 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > From: Guy F. Boyd > Date: Fri Jul 12, 2002 01:57:53 PM US/Eastern > To: questions@freebsd.org > Cc: doug.bacon@abbnm.com > Subject: > Hi Guy! > > Current serial number in output stream: 59 > >AUDIT: Thu Jul 11 18:05:13 2002: 194 X: client 1 rejected from local host > > Auth name: MIT-MAGIC-COOKIE-1 ID: -1 > >Xlib: connection to ":0.0" refused by server > >Xlib: Invalid MIT-MAGIC-COOKIE-1 key > >xdm info (pid 191): Rescanning both config and servers files > >xdm error (pid 191): Display :0 is being disabled > >Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, > removing from list! > > > > > >As you can see, I am having some sort of authorization problem. > Visually, Yeap! Can you try to put into your home dir, into .xsession file the following: (right before 'exec start...') xhost +[put_your_host_name_here] Make sure you have your host name into /etc/hosts first! X is a server and needs authorization just as your ftp server does ;-) > >I see the X server initialize, the cross hatched background appears with > >a large X shaped cusor, and almost immediately the display resets to a > >black screen and then after a few moments I see the boot up messages > (system > >console) and then it appears to retry the X start up again, with the > same > >result. > > > >I did nothing different from when I ran this under version 4.5 so what > the > >heck is this MAGIC-COOKIE thing and how can I configure this to > authorize > >my connection to my local display??? I've noticed that other people > have > >written in about problems logging in, but I never get the login screen > up. You must read about the X authorizations - it is a adventure ;-) start with 'man X' - a LOT of usefull info... Hope that helps! --Miro P.S. Please, post back to the list if this helps To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message