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

Bug#814313: xorg-server: Using systemd and startx, input does not work anymore



On 2016-02-10 09:39 +0100, Guillem Jover wrote:

> Source: xorg-server
> Source-Version: 2:1.18.1-1
> Severity: important

It would have been better to report the bug against the
xserver-xorg-core binary package, since that includes necessary
information from the bug script which is missing from your report.

> I just logged out and started X again, and no input was working any
> longer (builtin mouse and keyboard, nor hotplugged USB mouse).
>
> On this specific machine I'm using systemd, and I'm starting the X
> server using startx from a Linux console. I've also got the
> xserver-xorg-legacy package installed.

> I've bisected the packages and it seems this regression got introduced
> in 2:1.18.1-1, as 2:1.18.0-3 works perfectly fine.

My hunch is that the fix[1] for upstream bug #92894[2] has triggered
this breakage.  If I read the code in xorg-wrapper.c correctly, the
version from 1.18.0 would not actually drop root rights even if you have
a KMS driver for your video card(s).  Now the KMS detection actually
works, and if you have a kernel graphics driver the wrapper drops root
rights meaning that you _must_ have a working systemd-logind to grant X
access to your input devices.

Do you have libpam-systemd installed?

Cheers,
       Sven


1. https://anonscm.debian.org/cgit/pkg-xorg/xserver/xorg-server.git/commit/?id=067c4dd5ce06c2f17d54c3b89e23efbc0822a194
2. https://bugs.freedesktop.org/show_bug.cgi?id=92894


Reply to: