Bug#618733: x11-common: startx as non-root no longer working
Package: x11-common
Version: 1:7.5+8
Severity: minor
It appears to be no longer possible to start X as non-root user, regardless
of the x11-common configuration. I don't use this too often, so I can't say
exactly when it broke. I do remember that this worked fine before Squeeze was
released though.
aschuring@neminis:~$ startx
[...]
Fatal server error:
Cannot move old log file "/var/log/Xorg.0.log" to "/var/log/Xorg.0.log.old"
aschuring@neminis:~$ startx -- -logfile /tmp/Xorg.log
[...]
Fatal server error:
xf86OpenConsole: Cannot open /dev/tty0 (No such file or directory)
aschuring@neminis:~$ ls -l /dev/tty0
crw------- 1 root root 4, 0 Mar 17 12:30 /dev/tty0
If I remember correctly, I first noticed this after I removed xserver-xorg,
however reinstalling xserver-xorg does not fix the issue. I may have simply
overplayed my hand by pruning too much of the Xorg stack, if so, I'd like some
pointers on how to restore previous behaviour. Simply setuid'ing the X binary
does not have the desired effect :)
Finally: I notice that the bugscript for x11-common seems very tight-lipped,
so here are at least all X components currently installed:
ii libx11-6 2:1.4.1-5 X11 client-side library
ii libx11-data 2:1.4.1-5 X11 client-side library
ii libx11-xcb1 2:1.4.1-5 Xlib/XCB interface library
ii x11-apps 7.6+4 X applications
ii x11-common 1:7.6+4 X Window System (X.Org) infrastructure
ii x11-session-utils 7.6+1 X session utilities
ii x11-utils 7.6+1 X11 utilities
ii x11-xfs-utils 7.6+1 X font server utilities
ii x11-xkb-utils 7.6+2 X11 XKB utilities
ii x11-xserver-utils 7.6+1 X server utilities
ii xserver-common 2:1.9.99.903-1 common files used by various X servers
rc xserver-xorg 1:7.6+4 the X.Org X server
ii xserver-xorg-core 2:1.9.99.903-1 Xorg X server - core server
ii xserver-xorg-input-evdev 1:2.6.0-3 X.Org X server -- evdev input driver
ii xserver-xorg-video-radeon 1:6.14.0-1+exp2 X.Org X server -- AMD/ATI Radeon display driver
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (990, 'testing'), (900, 'stable'), (300, 'squeeze'), (300, 'unstable'), (200, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.38-rc8+ (PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages x11-common depends on:
ii debconf [debconf-2.0] 1.5.38 Debian configuration management sy
ii lsb-base 3.2-27 Linux Standard Base 3.2 init scrip
x11-common recommends no packages.
x11-common suggests no packages.
-- debconf information:
* x11-common/xwrapper/allowed_users: Anybody
x11-common/xwrapper/actual_allowed_users: anybody
x11-common/x11r6_bin_not_empty_move:
Reply to: