You are not logged in.

#1 2007-04-07 14:09:46

alikas
Member
From: Lithuania, Vilnius
Registered: 2006-05-24
Posts: 319
Website

Computer after startup or after shutdown creating .serverauth.3985

Every time after starup computer creating ".serverauth." file in "/root" directory (I working with root) with different ectension. For example now then I turn on computer creat file ".serverauth.3985".
There it content:

  myhost 0 MIT-MAGIC-COOKIE-1 f&x] x*ДJ  myhost 1 MIT-MAGIC-COOKIE-1 5Pܔ

What me do, that computer do not create this files?


Goodbye!

Offline

#2 2007-04-12 20:25:38

Titus
Member
From: Izmir
Registered: 2006-05-11
Posts: 120
Website

Re: Computer after startup or after shutdown creating .serverauth.3985

i think you don't use any login manager and you start DE with

startx

command. I had the same problem and i solve it by using these link:

http://www.linuxquestions.org/questions … serverauth


In a world without walls,who need windows?

Offline

#3 2007-04-13 01:42:52

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

Re: Computer after startup or after shutdown creating .serverauth.3985

I've also read that you can edit your /usr/bin/startx file, and change line 131 to this:

xserverauthfile=$XAUTHORITY

...but I've not tried it.


oz

Offline

#4 2007-04-13 07:14:45

alikas
Member
From: Lithuania, Vilnius
Registered: 2006-05-24
Posts: 319
Website

Re: Computer after startup or after shutdown creating .serverauth.3985

Titus wrote:

i think you don't use any login manager and you start DE with

startx

command. I had the same problem and i solve it by using these link:

http://www.linuxquestions.org/questions … serverauth

I create autologin program and add to ~/.bash_profile

if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/vc/1 ]]; then
  xinit
  logout
fi

Thanks.


Goodbye!

Offline

#5 2007-04-17 15:12:14

wingot
Member
Registered: 2007-03-29
Posts: 7

Re: Computer after startup or after shutdown creating .serverauth.3985

I was experiencing same problem. Changed line as stated in post above

Bug report is at: http://bugs.archlinux.org/task/6941?histring=xinit

Offline

#6 2007-05-21 19:12:16

matahari
Member
From: Bandung, Indonesia
Registered: 2007-04-04
Posts: 59

Re: Computer after startup or after shutdown creating .serverauth.3985

after peeking openbsd startx. adding this line in startx solve it

..............
xserverauthfile=$HOME/.serverauth.$$
trap "rm -f $xserverauthfile" ERR HUP INT QUIT ILL TRAP KILL BUS TERM # ->> add this line
add :$dummy . $mcookie
...........

Offline

Board footer

Powered by FluxBB