On 2016-02-16 20:05 +0100, Robert Luberda wrote: > Julien Cristau pisze: >>> >> You don't get to ignore package dependencies and then file bugs. > > Which dependencies? xserver-xorg *does not* depend on systemd > xserver-xorg-legacy *does not* depend on systemd either (to be honest it > does not even depend on xserver-xorg...)
The xserver-xorg-core package recommends libpam-systemd for a reason. While this could be changed into a Depends, it would probably not really make you happy. > Previous version of xserver-xorg-legacy worked without systemd. My > system is pretty workable without systemd (I removed the equiv-generated > packages yesterday). Believe or not, I am writing this email in icedove, > which is running on X from xserver-xorg 1:7.7+13 & xserver-xorg-legacy > 2:1.18.0-3. packages. Yes. There is a change in behavior in 1.18.1, but it is actually a bugfix. According to the Xwrapper.config(5) manpage ,---- | needs_root_rights = yes|no|auto | Configure if the wrapper should drop its elevated (root) | rights before starting the X server. Use yes to force exe‐ | cution as root, no to force execution with all suid rights | dropped, and auto to let the wrapper auto-detect. The | default is auto. | | When auto-detecting the wrapper will drop rights if kms graphics | are available and not drop them if no kms graphics are detected. | If a system has multiple graphics cards and some are not kms capa‐ | ble auto-detection may fail, in this case manual configuration | should be used. `---- Now, the bug is that the kms detection did not actually work[1] and so the wrapper never dropped root rights, contrary to what the manpage says. This is fixed in xserver 1.18.1, and so you now need "needs_root_rights = yes" in /etc/X11/Xwrapper.config if you don't want to install libpam-systemd (or a display manager that starts X as root). Cheers, Sven 1. https://bugs.freedesktop.org/show_bug.cgi?id=92894