[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#424409: /usr/bin/startx: startx not setting up xauth correctly



Package: xbase-clients
Version: 1:7.2.ds2-2
Severity: important
File: /usr/bin/startx

Hello,

I upgraded from 1:7.1.ds1-2 to 1:7.2.ds1-2 and now startx doesn't work
anymore.  I get the error "X: user not authorized to run the X server,
aborting."  By running xauth manually I don't have this problem, so it
seems something in startx broke.  See typescript log below.

Thanks,
--Joe


Script started on Tue 15 May 2007 11:20:48 PM EDT
joe@yakko:~$ sh -x startx
+ userclientrc=/home/joe/.xinitrc
+ sysclientrc=/etc/X11/xinit/xinitrc
+ userserverrc=/home/joe/.xserverrc
+ sysserverrc=/etc/X11/xinit/xserverrc
+ defaultclient=xterm
+ defaultserver=/usr/bin/X
+ defaultclientargs=
+ defaultserverargs=
+ clientargs=
+ serverargs=
+ '[' -f /home/joe/.xinitrc ']'
+ '[' -f /etc/X11/xinit/xinitrc ']'
+ defaultclientargs=/etc/X11/xinit/xinitrc
+ '[' -f /home/joe/.xserverrc ']'
+ '[' -f /etc/X11/xinit/xserverrc ']'
+ defaultserverargs=/etc/X11/xinit/xserverrc
+ whoseargs=client
+ '[' x '!=' x ']'
+ '[' x = x ']'
+ '[' x = x ']'
+ client=/etc/X11/xinit/xinitrc
+ '[' x = x ']'
+ '[' x = x -a x = x ']'
+ server=/etc/X11/xinit/xserverrc
+ '[' x = x ']'
+ XAUTHORITY=/home/joe/.Xauthority
+ export XAUTHORITY
+ removelist=
+ hostname --version
++ hostname --version
++ grep GNU
+ '[' -z '' ']'
++ hostname -f
+ hostname=yakko.nahmias.net
+ '[' -z yakko.nahmias.net ']'
+ authdisplay=:0
++ /usr/bin/mcookie
+ mcookie=82f7f617a4e7ad9525726b0838ca5b2b
+ dummy=0
+ xserverauthfile=/home/joe/.serverauth.3487
+ xauth -q -f /home/joe/.serverauth.3487
xauth:  creating new authority file /home/joe/.serverauth.3487
+ serverargs=' -auth /home/joe/.serverauth.3487'
+ for displayname in '$authdisplay' '$hostname$authdisplay'
++ xauth list :0
++ sed -n 's/.*:0[[:space:]*].*[[:space:]*]//p'
+ authcookie=f9373a1afc279f27b359108fabc1a310
+ '[' zf9373a1afc279f27b359108fabc1a310 = z ']'
+ dummy=1
+ xauth -q -f /home/joe/.serverauth.3487
+ for displayname in '$authdisplay' '$hostname$authdisplay'
++ xauth list yakko.nahmias.net:0
++ sed -n 's/.*yakko.nahmias.net:0[[:space:]*].*[[:space:]*]//p'
+ authcookie=f9373a1afc279f27b359108fabc1a310
+ '[' zf9373a1afc279f27b359108fabc1a310 = z ']'
+ dummy=2
+ xauth -q -f /home/joe/.serverauth.3487
+ xinit /etc/X11/xinit/xinitrc -- /etc/X11/xinit/xserverrc -auth /home/joe/.serverauth.3487
X: user not authorized to run the X server, aborting.
xinit:  Server error.
+ '[' x '!=' x ']'
+ '[' x/home/joe/.serverauth.3487 '!=' x ']'
+ rm -f /home/joe/.serverauth.3487
+ command -v deallocvt
+ deallocvt
Couldnt get a file descriptor referring to the console
joe@yakko:~$ echo `mcookie`
f3a33da63beac7ffcd2df51c3c5570d3
joe@yakko:~$ xauth add :0 . f3a33da63beac7ffcd2df51c3c5570d3
joe@yakko:~$ xauth add yakko.nahmias.net:0 .
f3a33da63beac7ffcd2df51c3c5570d3
joe@yakko:~$ xauth list
yakko/unix:0  MIT-MAGIC-COOKIE-1  f3a33da63beac7ffcd2df51c3c5570d3
yakko.nahmias.net:0  MIT-MAGIC-COOKIE-1 f3a33da63beac7ffcd2df51c3c5570d3
joe@yakko:~$ xinit


X Window System Version 1.3.0
Release Date: 19 April 2007
X Protocol Version 11, Revision 0, Release 1.3
Build Operating System: Linux Debian
Current Operating System: Linux yakko 2.6.18-4-686 #1 SMP Wed May 9
23:03:12 UTC 2007 i686
Build Date: 09 May 2007
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue May 15 23:30:38 2007
(==) Using config file: "/etc/X11/xorg.conf"
[ ... snip ... ]
joe@yakko:~$ exit
Script done on Tue 15 May 2007 11:21:30 PM EDT


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-4-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages xbase-clients depends on:
ii  cpp                       4:4.1.2-2      The GNU C preprocessor (cpp)
ii  libc6                     2.5-7          GNU C Library: Shared libraries
ii  libfontconfig1            2.4.2-1.2      generic font configuration library
ii  libfreetype6              2.2.1-5        FreeType 2 font engine, shared lib
ii  libfs6                    2:1.0.0-4      X11 Font Services library
ii  libgl1-mesa-glx [libgl1]  6.5.2-4        A free implementation of the OpenG
ii  libice6                   1:1.0.3-2      X11 Inter-Client Exchange library
ii  libpng12-0                1.2.15~beta5-1 PNG library - runtime
ii  libsm6                    2:1.0.3-1      X11 Session Management library
ii  libx11-6                  2:1.0.3-7      X11 client-side library
ii  libxau6                   1:1.0.3-2      X11 authorisation library
ii  libxaw7                   1:1.0.3-3      X11 Athena Widget library
ii  libxcursor1               1:1.1.8-2      X cursor management library
ii  libxext6                  1:1.0.3-2      X11 miscellaneous extension librar
ii  libxft2                   2.1.12-2       FreeType-based font drawing librar
ii  libxi6                    1:1.0.1-4      X11 Input extension library
ii  libxinerama1              1:1.0.2-1      X11 Xinerama extension library
ii  libxkbfile1               1:1.0.4-1      X11 keyboard file manipulation lib
ii  libxmu6                   1:1.0.3-1      X11 miscellaneous utility library
ii  libxmuu1                  1:1.0.3-1      X11 miscellaneous micro-utility li
ii  libxrandr2                2:1.2.1-1      X11 RandR extension library
ii  libxrender1               1:0.9.2-1      X Rendering Extension client libra
ii  libxss1                   1:1.1.2-1      X11 Screen Saver extension library
ii  libxt6                    1:1.0.5-2      X11 toolkit intrinsics library
ii  libxtrap6                 1:1.0.0-4      X11 event trapping extension libra
ii  libxtst6                  1:1.0.1-5      X11 Testing -- Resource extension 
ii  libxv1                    1:1.0.3-1      X11 Video extension library
ii  libxxf86dga1              2:1.0.1-2      X11 Direct Graphics Access extensi
ii  libxxf86vm1               1:1.0.1-2      X11 XFree86 video mode extension l
ii  x11-common                1:7.2-3        X Window System (X.Org) infrastruc
ii  zlib1g                    1:1.2.3-14     compression library - runtime

xbase-clients recommends no packages.

-- no debconf information



Reply to: