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

Bug#568074: Acknowledgement (Xfbdev: LinuxInit: Server must be suid root)



PS: I just noticed that /usr/bin/X isn't an update-alternatives link
to /usr/bin/Xorg, as I had previously assumed.  It turns out that

    $ xinit -- /usr/bin/X

works, but

    $ xinit -- /usr/bin/Xorg
    Fatal server error:
    Cannot move old log file ("/var/log/Xorg.0.log" to "/var/log/Xorg.0.log.old"

I presume this is because /usr/bin/Xorg is also not setuid.

It occurred to me that maybe I am expected to say something like

    $ xinit -- /usr/bin/X --real-binary-is /usr/bin/Xfbdev

but the non-Xorg-specific options to /usr/bin/X don't appear relevant:

    $ diff -u <(Xorg -help 2>&1) <(X -help 2>&1)
    --- /dev/fd/63  2010-02-02 20:12:06.118145286 +1100
    +++ /dev/fd/62  2010-02-02 20:12:06.118145286 +1100
    @@ -69,10 +69,6 @@


     Device Dependent Usage
    --modulepath paths      specify the module search path
    --logfile file          specify a log file name
    --configure             probe for devices and write an xorg.conf
    --showopts              print available options for all installed drivers
     -config file           specify a configuration file, relative to the
                            xorg.conf search path, only root can use absolute
     -verbose [n]           verbose startup messages

In case it's relevant, note that

    $ debconf-get-selections | grep x11-common
    debconf: DbDriver "passwords" warning: could not open /var/cache/debconf/passwords.dat: Permission denied
    x11-common      x11-common/xwrapper/allowed_users       select  Anybody
    x11-common      x11-common/xwrapper/actual_allowed_users        string  anybody



Reply to: