"Draco Metallium(Rodrigo S. Cañibano)" <draco....@gmail.com> writes: > No only root can run startx. If a user tries the following error appears: > > "(EE) AddScreen/ScreenInit failed for driver 0"
The first error in the log you attached is: > [ 4203.010] (EE) systemd-logind: failed to get session: Rejected send > message, 1 matched rules; type="method_call", sender=":1.34" (uid=1000 > pid=18022 comm="/usr/lib/xorg/Xorg -nolisten tcp :1 vt2 -keeptty -") > interface="org.freedesktop.login1.Manager" member="GetSessionByPID" error > name="(unset)" requested_reply="0" destination="org.freedesktop.login1" > (uid=0 pid=5989 comm="/lib/systemd/systemd-logind ") which looks like some DBus policy forbids Xorg to talk to logind. Xorg does so in order to get access to devices w/o being setuid root since recently. I remember users having problems with DBus policies when old version of systemd-shim were installed (it has been fixed some time ago), cf. https://bugs.debian.org/746242 Please make sure that either systemd-shim is purged (not only removed), e.g. by running "apt-get purge systemd-shim", or that at least version 6-3 of systemd-shim is installed (if you don't use systemd as init). Ansgar