hi,
just a reminder, please do not forget the missing files securetty and
pam_console.so.
Without the "securetty", autologin did not work at all, neither with one of
the *getty nor with openvt.
More details see below.

It is not a major problem for me right now, but could good to understand why
this files are missing.
Or does T2 use a diffent method for autologin (e.g. embedded devices) ?

rgds, Gerd



gx-turbo wrote:
> 
> hi,
> 
> I installed mingetty manually, but could not find rungetty.
> I tried 3 approaches in inittab to autologin in runlevel 4 the user
> "gerd":
> #X1:4:once:/usr/bin/openvt -f -c 2 -w -- /bin/su - gerd -c
> /usr/X11/bin/startx
> #X2:4:once:/usr/bin/openvt -f -c 2 -w -- /bin/su - gerd 
> #X3:4:respawn:/sbin/mingetty --noclear --autologin gerd vc/6
> 
> For all three versions I got in /var/log/messages:
> Oct  6 14:30:33 localhost login[4084]: pam_securetty(login:auth): Couldn't
> open /etc/securetty: No such file or directory
> 
> I patched in the /etc/securetty from a Xubuntu, fortunately this works.
> There is still an error message in the log (see below) but it seems to be
> not a fatal one.
> 
> After that:
> 
> first one (X1) did not work, I don't know why. 
> It did not start X.
> in /var/log/messages I found:
> Oct  8 15:35:10 localhost su[4099]: Successful su for gerd by root
> Oct  8 15:35:10 localhost su[4099]: pam_unix(su:session): session opened
> for user gerd by LOGIN(uid=0)
> Oct  8 15:35:11 localhost su[4099]: pam_unix(su:session): session closed
> for user gerd
> Oct  8 15:35:31 localhost login[4083]: PAM unable to
> dlopen(/lib/security/pam_console.so)
> Oct  8 15:35:31 localhost login[4083]: PAM [error:
> /lib/security/pam_console.so: cannot open shared object file: No such file
> or directory]
> Oct  8 15:35:31 localhost login[4083]: PAM adding faulty module:
> /lib/security/pam_console.so
> 
> second one (X2) works, but needs the startx in .bash_profile.
> Although the dlopen error is there !!!!!: /var/log/messages:
> Oct  8 15:28:24 localhost su[4100]: Successful su for gerd by root
> Oct  8 15:28:24 localhost su[4100]: pam_unix(su:session): session opened
> for user gerd by LOGIN(uid=0)
> Oct  8 15:32:23 localhost login[4084]: PAM unable to
> dlopen(/lib/security/pam_console.so)
> Oct  8 15:32:23 localhost login[4084]: PAM [error:
> /lib/security/pam_console.so: cannot open shared object file: No such file
> or directory]
> Oct  8 15:32:23 localhost login[4084]: PAM adding faulty module:
> /lib/security/pam_console.so
> 
> third non with mingetty also works, same .bash_profile, same dlopen
> message.
> 
> Gerd
> 
> 
> gx-turbo wrote:
>> 
>> hi,
>> 
>> it seems neither mingetty nor rungetty is available in T2.
>> Maybe someone can point me to it ?
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/automatic-start-of-interactive-programs-tp14786451p19930328.html
Sent from the T2 mailing list archive at Nabble.com.



----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of: unsubscribe t2

Reply via email to