Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jul 2002 11:04:54 -0400
From:      "Miroslav Pendev" <shadow@CPE0004761ac738-CM00109515bc65.cpe.net.cable.rogers.com>
To:        "gfb" <imac11@vta.com>
Cc:        "freebsd-questions" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: xdm initialization problems
Message-ID:  <010101c22c10$fb2092b0$c801a8c0@vsivyoung>
References:  <1D3F45AA-95C2-11D6-A861-003065EDC304@vta.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> From: Guy F. Boyd <fbsd@vta.com>
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?010101c22c10$fb2092b0$c801a8c0>