Bug#424409: /usr/bin/startx: startx not setting up xauth correctly
Hi Brice,
On Wed, May 16, 2007 at 07:19:26PM +0200, Brice Goglin wrote:
> Joe Nahmias wrote:
> > 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.
> >
>
> Could you look at
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=406061 and let us know
> whether it helps?
Well, that was certainly interesting. I guess it helps, but I'm not
quite sure why... see the typescript below to see what I mean.
Essentially, nothing changed -- except that now it works. I dunno...
Feel free to close this now; although, if you would like me to do some
more investigation I'd be happy to assist in any way I can.
Of course, now I have a different, unrelated problem. I guess it's time
for another bug report.
--Joe
Script started on Wed 16 May 2007 09:18:33 PM EDT
joe@yakko:~$ ls -la /etc/X11/Xwrapper.config
-rw------- 1 root root 614 2006-10-19 01:17 /etc/X11/Xwrapper.config
joe@yakko:~$ sudo cat /etc/X11/Xwrapper.config
# Xwrapper.config (Debian X Window System server wrapper configuration file)
#
# This file was generated by the post-installation script of the x11-common
# package using values from the debconf database.
#
# See the Xwrapper.config(5) manual page for more information.
#
# This file is automatically updated on upgrades of the x11-common package
# *only* if it has not been modified since the last upgrade of that package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command as root:
# dpkg-reconfigure x11-common
allowed_users=console
nice_value=0
joe@yakko:~$ startx
xauth: creating new authority file /home/joe/.serverauth.3654
X: user not authorized to run the X server, aborting.
giving up.
xinit: Connection refused (errno 111): unable to connect to X server
xinit: No such process (errno 3): Server error.
Couldnt get a file descriptor referring to the console
joe@yakko:~$ sudo dpkg --reconfigure x11-common
Setting up ICE socket directory /tmp/.ICE-unix....
joe@yakko:~$ sudo cat /etc/X11/Xwrapper.config
# Xwrapper.config (Debian X Window System server wrapper configuration file)
#
# This file was generated by the post-installation script of the x11-common
# package using values from the debconf database.
#
# See the Xwrapper.config(5) manual page for more information.
#
# This file is automatically updated on upgrades of the x11-common package
# *only* if it has not been modified since the last upgrade of that package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command as root:
# dpkg-reconfigure x11-common
allowed_users=console
nice_value=0
joe@yakko:~$ ls -la /etc/X11/Xwrapper.config
-rw------- 1 root root 614 2006-10-19 01:17 /etc/X11/Xwrapper.config
joe@yakko:~$ startx
xauth: creating new authority file /home/joe/.serverauth.4399
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: Wed May 16 21:42:40 2007
(==) Using config file: "/etc/X11/xorg.conf"
[ ... snip ... ]
Script done on Wed 16 May 2007 09:22:51 PM EDT
Reply to: