[systemd-devel] The auto login configuration can't pass the first appeared screen after reboot/shutdown

Lennart Poettering lennart at poettering.net
Wed Nov 2 22:21:28 UTC 2016


On Wed, 02.11.16 17:53, Alin Craciunescu (alinxcraciunescu at gmail.com) wrote:

> Hi,
> 
> I am a Linux beginner user.
> 
> Because the device is a tablet, I would like to can use it "take away" also
> without the attached wireless keyboard, that's why, I intend to use the
> auto login.
> 
> I would like to resolve if it is posssible the next issues, without to
> install a login manager.

Well, on systemd systems access to graphics devices/mice and so on is
controlled via ACLs that are assigned to the foreground session's
user. This only works if the session is properly registered, via
pam_systemd. Normally this is done via a display manager such as
gdm. gdm has an autologin mode, that just works, so your best option
is to just use that.

Many alternative display managers get this right too. If you don't
want to use any of those, then your only option is to put together
some replacement of your own, that does the correct registration.

The registration for this is documented here:

https://www.freedesktop.org/wiki/Software/systemd/writing-display-managers/

If I were you I'd just use an existing display manager. Otherwise you
should really know what you do.

Good luck,

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list