Bug#748203: xorg-server: Please enable logind support
Hello,
So I've made some tests tonight and it seems to work.
I've added a patch that add initial support for this (didn't look at
the setuid wrapper yet).
It also requires xserver-xorg-input-evdev 2.9.0.
You can run the following command if you want to test (be sure you
have a logind session registered):
startx (or xinit) -- /usr/bin/Xorg :1 vt$XDG_VTNR
Note that the X server will run on the same VT as the one you typed the
command (#747882 should definitely be fixed).
Cheers,
Laurent Bigonville
diff -u xorg-server-1.16.0/debian/control xorg-server-1.16.0/debian/control
--- xorg-server-1.16.0/debian/control
+++ xorg-server-1.16.0/debian/control
@@ -92,6 +92,8 @@
libbsd-dev [kfreebsd-any],
# xwayland
libwayland-dev [linux-any],
+#logind
+ libdbus-1-dev (>= 1.0) [linux-any],
Standards-Version: 3.9.2
Vcs-Git: git://git.debian.org/git/pkg-xorg/xserver/xorg-server
Vcs-Browser: http://git.debian.org/?p=pkg-xorg/xserver/xorg-server.git
diff -u xorg-server-1.16.0/debian/rules xorg-server-1.16.0/debian/rules
--- xorg-server-1.16.0/debian/rules
+++ xorg-server-1.16.0/debian/rules
@@ -46,9 +46,11 @@
ifeq ($(DEB_HOST_ARCH_OS), linux)
selinux = --enable-xselinux
wayland = --enable-xwayland
+ logind = --enable-systemd-logind
else
selinux = --disable-xselinux
wayland = --disable-xwayland
+ logind = --disable-systemd-logind
endif
ifeq ($(DEB_HOST_ARCH_OS), hurd)
@@ -64,7 +66,7 @@
dri += --disable-dri3
endif
-config_backend = --disable-config-dbus --disable-config-hal
+config_backend = --disable-config-hal
ifeq ($(DEB_HOST_ARCH_OS), linux)
config_backend += --enable-config-udev
else ifeq ($(DEB_HOST_ARCH_OS), kfreebsd)
@@ -146,6 +148,7 @@
$(selinux) \
--enable-xfree86-utils \
$(wayland) \
+ $(logind) \
--enable-dmx \
--enable-xvfb \
--enable-xnest \
@@ -178,6 +181,7 @@
--disable-xselinux \
--disable-xfree86-utils \
--disable-xwayland \
+ --disable-systemd-logind \
--disable-dmx \
--disable-xvfb \
--disable-xnest \
Reply to: