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

Bug#502120: xserver-xorg: allows different /etc/X11/X symlinks as well as /usr/bin/X



Hi Julien!

First of all, thank you for your fast and detailed reply.

On Mon, 13 Oct 2008 20:45:26 +0200, Julien Cristau wrote:
> /usr/bin/X is a setuid wrapper, which does some basic permission checks
> and then exec()s /etc/X11/X.

Am I correct if I say that this is not X.Org specific, i.e. the wrapper
can be used with any X11 server?  In that case, Xglamo would like to use
the wrapper, too, which means that xserver-xorg should not depend on
xserver-xorg-core.  But this is another step forward :-)

> So /etc/X11/X should point to the actual X server you want to use when
> running /usr/bin/X.

This is what I did in the (still unofficial) xserver-xglamo package [1].
However, I'd prefer a cleaner solution before Xglamo enters Debian [2].

> There used to be some logic to change the /etc/X11/X symlink via debconf
> until about a year ago (it used to be needed when we had hardware
> specific X servers, which means before XFree86 4.0 iirc), so it might be
> possible to reintroduce that if you feel that Xglamo need it.

I think that it could be helpful not only for Xglamo, but for the other
KDrive servers as well (the first coming to my mind is xserver-xfbdev).

Thx, bye,
Gismo / Luca

Footnotes: 
[1] http://git.debian.org/?p=pkg-fso/xglamo.git;a=commit;h=b6b0aead642942f5ef1b550a19cbfe2714c618fe
[2] about which I still have to write a mail to the Debian X Strike Force

Attachment: pgpAMaGpUcjBr.pgp
Description: PGP signature


Reply to: