[systemd-devel] Setup autologin tty

Mateusz Malicki m.malicki2 at samsung.com
Tue Jun 3 04:15:07 PDT 2014


Hello,

 

I am working on system running in lxc container that use systemd.

On host user session (uid=5000) starts automatically but in container I have
following error message:

 

May 12 00:18:15 localhost user-session-launch[110]:
pam_systemd(login:session): Asking logind to create session: uid=5000
pid=110 service=login type=tty class=user seat=seat0 vtnr=1 tty=tty1
display= remote=no remote_user= remote_host= 

May 12 00:18:16 localhost user-session-launch[110]:
pam_systemd(login:session): Failed to create session: Invalid argument 

May 12 00:18:16 localhost user-session-launch[110]: pam_unix(login:session):
session opened for user app by (uid=0)

 

After hard coded tty=pts/0 and vtnr=0 session starts up.

Is there any way to specify this values in libvirt xml config file or some
other config files?

Where did these values come from?

 

Regards,

Mateusz

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20140603/36047adb/attachment.html>


More information about the systemd-devel mailing list