You are not logged in.

#1 2006-02-03 08:07:39

Eliatamby
Member
Registered: 2005-05-06
Posts: 80

Xorg 7 and .serverauth file

After upgrading to xorg 7.0,  I have been getting alot of .serverauth.XXXX files in my home directory, where XXXX is some 4 figure number.

What exactly are these files?  I have about 7 or 8.  Can they be deleted?

Thanks

Offline

#2 2006-02-04 05:16:08

basilburn
Member
Registered: 2005-12-09
Posts: 35

Re: Xorg 7 and .serverauth file

Those are most likely the result of the startx command. As long as X isn't running it is probably safe to delete them.

Offline

#3 2006-02-05 06:05:47

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Xorg 7 and .serverauth file

basilburn wrote:

Those are most likely the result of the startx command. As long as X isn't running it is probably safe to delete them.

I deleted them when X was running with no problems.

IIRC, the files should be deleted, but remain when you improperly close X.

it might be possible to clear the unused ones in .xinitrc or something.

Offline

#4 2006-02-11 04:26:27

Eliatamby
Member
Registered: 2005-05-06
Posts: 80

Re: Xorg 7 and .serverauth file

Thanks, normally I exit with CTRL+BACKSPACE -- is this considered abnormal?

Offline

#5 2006-02-11 13:46:51

_Gandalf_
Member
Registered: 2006-01-12
Posts: 735

Re: Xorg 7 and .serverauth file

Yes, you are killing the X server this way, use logout menu...

Offline

#6 2006-02-11 17:04:18

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: Xorg 7 and .serverauth file

I don't have any, and don't get any when I force X to exit via ctrl-alt-backspace. :?

Then again, I use 'xinit' to start X. AFAICT, startx just starts up TWM and a couple of consoles if you have nothing specified in .xinitrc.

Offline

#7 2006-03-10 05:21:17

mmccaskill
Member
From: NC
Registered: 2005-02-21
Posts: 165

Re: Xorg 7 and .serverauth file

Interestingly enough, I still get these files on my laptop. But I did a fresh install on my desktop a few days ago and don't have those files created.

Offline

#8 2006-03-10 08:34:36

viniosity
Member
From: New York, NY
Registered: 2005-01-22
Posts: 404
Website

Re: Xorg 7 and .serverauth file

I have these files too.  They stay whether I use the logout function (KDE OR Gnome) or exit function (Enlightenment).

Offline

#9 2006-03-10 21:39:57

mmccaskill
Member
From: NC
Registered: 2005-02-21
Posts: 165

Re: Xorg 7 and .serverauth file

I use fluxbox. The files stay regardless of my exit method as well.

Offline

#10 2006-03-11 01:35:18

ozar
Member
From: USA
Registered: 2005-02-18
Posts: 1,686

Re: Xorg 7 and .serverauth file

I've been getting a build up of them too, and it doesn't matter if I'm running Fvwm, Xfce4, or KDE, they still continue to accumulate.  It seems to be only when I shutdown, or reboot.  Simply logging out of X then right back into it doesn't create the extra .serverauth file.  This never happened with the previous xorg.

Is it a bug?  If so, I'll be happy to file the bug report...

oz  smile


oz

Offline

#11 2006-04-14 16:35:45

Komodo
Member
From: Oxford, UK
Registered: 2005-11-03
Posts: 674

Re: Xorg 7 and .serverauth file

Dunno if it's a bug.. I usually do 'sudo poweroff' from within ratpoison, and there are a bajillion .serverauthXXXX files in my $HOME .


.oO Komodo Dave Oo.

Offline

#12 2006-04-14 18:12:24

Infinite
Member
From: .nl
Registered: 2006-03-04
Posts: 35

Re: Xorg 7 and .serverauth file

I have those too.

I always boot in init3 and start xgl from there.

Offline

#13 2006-04-14 20:08:00

emma
Member
Registered: 2006-02-19
Posts: 64

Re: Xorg 7 and .serverauth file

I have one, which I assume is for this session. I recently did a clean install though, so perhaps it is a stale config file causing the problem.

Offline

#14 2006-05-02 13:03:38

user
Member
Registered: 2006-03-29
Posts: 465

Re: Xorg 7 and .serverauth file

not sure it works for me/arch. (didn't halt/reboot yet)

sudo vi +131 /usr/bin/startx
[url]http://www.shallowsky.com/blog/index.cgi/linux/serverauth.html[/url] wrote:

For Ubuntu users who wish to go back to the old one-file XAUTHORITY setup, there's a very simple fix: edit /usr/bin/startx (as root, of course) and change the line:

xserverauthfile=$HOME/.serverauth.$$

to read instead

xserverauthfile=$XAUTHORITY

PS: it works for me.


I removed my sig, cause i select the flag, the flag often the target of enemy.

SAR brain-tumor
[img]http://img91.imageshack.us/img91/460/cellphonethumb0ff.jpg[/img]

Offline

Board footer

Powered by FluxBB