works for me (tm):

$ grep ttyC1 /etc/ttys
ttyC1   "/usr/local/sbin/autologin.getty" vt220 on  secure
$ cat /usr/local/sbin/autologin.getty
#!/bin/sh -e
TERM=vt220 /usr/local/sbin/autologin < /dev/$1 > /dev/$1

$ cat /usr/local/sbin/autologin
#!/bin/sh -e
echo running autologin...
exec su -l autologin

$ cat /home/autologin/.profile
/usr/X11R6/bin/startx

used to run rdesktop in fvwm(1)

Bye, Marcus

open...@e-solutions.re (Wesley), 2012.10.30 (Tue) 07:30 (CET):
> Le 2012-10-29 19:57, David Coppa a écrit :
> >I suspect a sleep is required.
> >
> >See:
> >
> >
> >http://www.openbsd.org/cgi-bin/cvsweb/~checkout~/ports/x11/slim/pkg/slim.rc?rev=1.3;content-type=text%2Fplain
> 
> I don't use 'xdm', and 'slim' is not installed.
> I just have this in my /etc/ttys :
> ttyC5   "/usr/bin/su - thin -c /usr/X11R6/bin/xinit" xterm on secure
> 
> Any idea ?
> Thank you very much.
> 
> Cheers,
> 
> --
> Wesley
> 
> 
> !DSPAM:508f744f41541879064755!

Reply via email to