Re: [systemd-devel] Convert Inittab-Entry to systemd

2013-08-28 Thread Colin Guthrie
'Twas brillig, and Daniel Spannbauer at 28/08/13 07:36 did gyre and gimble: > Here is the service-file: > > [Unit] > Description=marco Autologin > After=getty.target > > [Service] > ExecStart=/usr/bin/xinit /home/xalz/.xsession -- /usr/bin/X :1 vt08 -r > -br -dpms -s off > User=xalz > PAMName=xal

Re: [systemd-devel] Convert Inittab-Entry to systemd

2013-08-27 Thread Daniel Spannbauer
Am 08/27/2013 07:50 PM, schrieb Kok, Auke-jan H: > On Tue, Aug 27, 2013 at 9:38 AM, Colin Guthrie wrote: >> Also I don't think this will properly handle session registration will >> it? There is nothing here that registers the session - no pam configs to >> include pam_systemd etc. > > nope > >>

Re: [systemd-devel] Convert Inittab-Entry to systemd

2013-08-27 Thread Kok, Auke-jan H
On Tue, Aug 27, 2013 at 9:38 AM, Colin Guthrie wrote: > Also I don't think this will properly handle session registration will > it? There is nothing here that registers the session - no pam configs to > include pam_systemd etc. nope > I think you would need some kind of PAMName= attribute here

Re: [systemd-devel] Convert Inittab-Entry to systemd

2013-08-27 Thread Colin Guthrie
'Twas brillig, and Zbigniew Jędrzejewski-Szmek at 27/08/13 14:58 did gyre and gimble: > On Tue, Aug 27, 2013 at 03:28:51PM +0200, Daniel Spannbauer wrote: >> Hello, >> >> till now we had the following entry in the /etc/inittab: >> >> X1:5:once:/bin/su - user -c "xinit /home/user/.xsession -- /usr/

Re: [systemd-devel] Convert Inittab-Entry to systemd

2013-08-27 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Aug 27, 2013 at 03:28:51PM +0200, Daniel Spannbauer wrote: > Hello, > > till now we had the following entry in the /etc/inittab: > > X1:5:once:/bin/su - user -c "xinit /home/user/.xsession -- /usr/bin/X > :1 vt08 -r -br" 1>/tmp/X1.log 2>&1 > > > On our new system systemd is now standar

[systemd-devel] Convert Inittab-Entry to systemd

2013-08-27 Thread Daniel Spannbauer
Hello, till now we had the following entry in the /etc/inittab: X1:5:once:/bin/su - user -c "xinit /home/user/.xsession -- /usr/bin/X :1 vt08 -r -br" 1>/tmp/X1.log 2>&1 On our new system systemd is now standard. So I tried to convert this in a systemd.servce: [Unit] Description=Autologin Aft