Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Jan 2006 19:19:11 -0500
From:      Scott Robbins <scottro@nyc.rr.com>
To:        freebsd-x11@freebsd.org
Subject:   Re: problem with starting xorg after upgrade
Message-ID:  <20060105001911.GA33676@mail.scottro.net>
In-Reply-To: <20060104152624.GB15636@uws1.starlofashions.com>
References:  <20060104152624.GB15636@uws1.starlofashions.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> Date: Wed, 04 Jan 2006 15:53:13 +0100
> From: Dejan Lesjak <dejan.lesjak@ijs.si>
> 

Firstly, sorry for messed up headers on this email, I had to forward it
to myself because I got it one machine and answered on another. 



> On Wednesday 04 of January 2006 03:12, Scott Robbins wrote:
> > After upgrading to xorg-6.9.0, I would only be able to start X once.  If
> > I then exited xorg, and once again typed startx, I would get a gray
> > background and an X for the mouse.  I was able to move the mouse.
> >
> > However, that was the only thing that I was able to do.
> >
> > Each user could start X once.  However, once they ended their X session
> > and once again tried startx, they would get the same result.  I'm the
> > main user and use fluxbox, however when I tried using twm to see if it
> > was a fluxbox issue, I would get the same result.
> >
> >
> [snip]
> > AUDIT: Tue Jan  3 20:46:54 2006: 30195 X: client 1 rejected from local host
> >   Auth name: MIT-MAGIC-COOKIE-1 ID: -1
> > AUDIT: Tue Jan  3 20:46:56 2006: 30195 X: client 1 rejected from local host
> >   Auth name: MIT-MAGIC-COOKIE-1 ID: -1
> > AUDIT: Tue Jan  3 20:46:58 2006: 30195 X: client 1 rejected from local host
> >   Auth name: MIT-MAGIC-COOKIE-1 ID: -1
> > AUDIT: Tue Jan  3 20:47:00 2006: 30195 X: client 1 rejected from local host
> >   Auth name: MIT-MAGIC-COOKIE-1 ID: -1
> > AUDIT: Tue Jan  3 20:47:02 2006: 30195 X: client 1 rejected from local host
> >   Auth name: MIT-MAGIC-COOKIE-1 ID: -1
> 
> This seems to be the trouble (client would probably be fluxbox or twm here). 
> The only notable difference to Xauthority related stuff seems to be that 
> startx now adds tokens to ~/.serverauth.<startx_PID> besides the usual 
> ~/.Xauthority file. Are you doing something unusual with XAUTHORITY 
> variables? Is ~/.Xauthority file of user empty when X is shut down? Are 
> permissions of /tmp/.X11-unix as they should be - somewhat like this:
> drwxrwxrwt  2 root  wheel  512 Jan  1 08:36 /tmp/.X11-unix
> ?
> 

As I said in my eariler email, there just seems to be something peculiar
with this machine's onboard via card and X, causing problems with
.Xauthority.  

I reinstalled 6.9 and found that I could eliminate the problem as long
as I removed all .Xauthority files before doing startx.  An ugly hack,
but it works. 

The permissions of .X11-unix are srwxrwrwx.  However, on the machine
that works, they're the same, a sticky directory.  .Xauthority doesn't
seem to be empty when X is shut down.  I didn't do anything as far as
XAUTHORITY variables that I know of.  

So, I'll consider the problem semi solved.  Again, I suspect the problem
to be somehow related to this video card, but I don't have enough
knowledge to know how that could be or how to fix it.  

Thank you for your efforts--for all practical puprposes, your suggestion
solved the problem for me. 

- -- 

Scott Robbins

PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6

Giles: Alright. I'll just jump into my time machine, go back to 
the 12th century and ask the vampires to postpone their ancient 
prophecy for a few days while you take in dinner and a show. 
Buffy: Okay, at this point you're abusing sarcasm. 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQFDvGX/+lTVdes0Z9YRAplnAKDCsqGoqhKLCDkF7FWyfj6rTtrljQCdHSwj
d3EGHWBUmiuCITyeTJarBsk=
=Sw9/
-----END PGP SIGNATURE-----



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