On 2015-10-30 15:40 +0100, to...@tuxteam.de wrote: > OK, I *think* that's the problem: Once upon a time, X was setuid root. > So "startx" as a user used to do the right thing. In the brave new > systemd world, X is run as a regular user and systemd-whatever (sorry, > I'm not versed on systemd's innards) does whatever root magic is > needed.
It is systemd-logind which controls access rights to input devices. > Assuming my hunch above is right, you might try to > > - start X from a display manager (this one runs as root and can inherit > that to the X server) > - afaik there is an X "setuid wrapper", but I forgot how it's called, > perhaps something like "xorg-legacy" or thereabouts. This should make > startx work again for "mortals". > > Or you go the systemd way. That means installing libpam-systemd (the latest xserver-xorg-core package in unstable recommends it, BTW). Cheers, Sven