[Howto] start X without systemd requirement

posted in: computer | 0

situtation:

debian’s X-Server requires a systemd-session to work.

 

problem:

If you haven’t installed systemd, you aren’t able to start the xserver, because the xserver can’t connect to an systemd session.

(EE) systemd-logind: failed to get session: The name org.freedesktop.login1 was not provided by any .service files

 

solution:

the xserver is started via a wrapper-script. Insert into the wrapper-configfile the following option:

#/etc/X11/XWrapper.config
needs_root_rights=yes

 

Afterwards you are able to start the xserver without the (EE) Error-message.