Bug#372687: Ordinary user can't start xorg
Package: xorg
Version: 1:7.0.20
Under Etch, an ordinary user can't start the windowing system.
In this test, /etc/rc2.d has been edited so that it doesn't start
gdm at boot time.
The user "anna" logs in and issues the command
startx
The result is shown below.
This creates a problem for hosts such as servers, where the
windowing system is needed only occasionally. Security would be compromised
by giving an ordinary user the root passwork just to turn on the windowing
system.
Script started on Sat 10 Jun 2006 11:23:56 PM EDT
anna@edgar:/etc/X11$ startx
xauth: creating new authority file /home/anna/.serverauth.4757
X: unable to open wrapper config file /etc/X11/Xwrapper.config
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
anna@edgar:/etc/X11$
anna@edgar:/etc/X11$
anna@edgar:/etc/X11$ ls -l /etc/X11
[00mtotal 34
drwxr-xr-x 2 root root 1000 2006-06-10 18:47 [01;34mapp-defaults[00m
drwxr-xr-x 2 root root 176 2006-06-10 18:45 [01;34mcursors[00m
drwxr-xr-x 3 root root 72 2006-06-10 18:44 [01;34mfonts[00m
-rw-r--r-- 1 root root 17371 2006-05-21 15:48 [00mrgb.txt[00m
drwxr-xr-x 2 root root 152 2006-06-10 19:04 [01;34mtwm[00m
lrwxrwxrwx 1 root root 13 2006-06-10 18:47 [01;36mX[00m -> [01;32m/usr/bin/Xorg[00m
drwxr-xr-x 2 root root 104 2006-06-10 18:47 [01;34mxinit[00m
drwxr-xr-x 10 root root 528 2006-06-10 18:45 [01;34mxkb[00m
-rw-r--r-- 1 root root 3287 2006-06-10 18:47 [00mxorg.conf[00m
drwxr-xr-x 2 root root 48 2006-05-21 15:53 [01;34mXresources[00m
-rw-r--r-- 1 root root 3929 2006-05-21 15:48 [00mXsession[00m
drwxr-xr-x 2 root root 344 2006-06-10 18:49 [01;34mXsession.d[00m
-rw-r--r-- 1 root root 265 2006-05-21 15:48 [00mXsession.options[00m
[manna@edgar:/etc/X11$ uname -1[Ka
Linux edgar 2.6.15-1-k7-smp #2 SMP Mon Mar 6 15:50:26 UTC 2006 i686 GNU/Linux
anna@edgar:/etc/X11$ exit
Script done on Sat 10 Jun 2006 11:25:40 PM EDT
Package: xorg
Status: install ok installed
Priority: optional
Section: x11
Installed-Size: 40
Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
Architecture: all
Version: 1:7.0.20
Provides: x-window-system, x-window-system-core
Depends: xserver-xorg, libgl1-mesa-glx, libgl1-mesa-dri, libglu1-mesa, xfonts-base (>= 1:1.0.0-1), xfonts-100dpi (>= 1:1.0.0-1), xfonts-75dpi (>= 1:1.0.0-1), xfonts-scalable (>= 1:1.0.0-1), xbase-clients (>= 1:1.0.1-1), xutils (>= 1:1.0.1-1), xkb-data, xterm | x-terminal-emulator
Description: X.Org X Window System
This metapackage provides the components for a standalone
workstation running the X Window System. It provides the X libraries, an X
server, a set of fonts, and a group of basic X clients and utilities.
.
Higher level metapackages, such as those for desktop environments, can
depend on this package and simplify their dependencies.
.
It should be noted that a package providing x-window-manager should also
be installed to ensure a comfortable X experience.
Reply to: