Bug#196732: xserver-common: nix 'allowed_users' in Xwrapper.config; use 'xok' group instead
Package: xserver-common
Version: 4.2.1-7
Severity: wishlist
So, i try to run XFree86 after a woody-to-sid dist-upgrade.
Instead of getting the usal X startup, though, I get a message like
"user is not allowed to run the X server".
After an strace, I find out there's a particular configuation
directive in /etc/Xwrapper.config, which really boggles me -- namely,
the "allowed_users" directive.
If you want to control "who gets to run an application?", why do you
not use plain user/group privelages?
Here's a simple solution. It works with SuSE, like this; it would work
with Debian.
addgroup --system xok
chgrp xok /usr/X11R6/bin/XFree86
chmod o-x /usr/X11R6/bin/XFree86
...then, simply enough, add any user, to the 'xok' group, who needs to
run the x server.
problem solved. for this, there's no /etc/Xwrapper.config needed.
cheers
---
sean
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux tokamak.homeunix.net 2.4.21-rc6-xfs #1 SMP Wed Jun 4 05:43:09 PDT 2003 i586
Locale: LANG=C, LC_CTYPE=C
Versions of packages xserver-common depends on:
ii debconf 1.2.39 Debian configuration management sy
ii libc6 2.3.1-17 GNU C Library: Shared libraries an
ii xfree86-common 4.2.1-7 X Window System (XFree86) infrastr
-- debconf information excluded
Reply to: