Author Topic: Autologin To Beta4  (Read 2598 times)

patsch

  • Newbie
  • *
  • Posts: 27
    • View Profile
Autologin To Beta4
« on: June 29, 2006, 05:25:35 am »
hi together
beta4 works allredy great... compared with openzaurs 3.5.4.1-rc4 with 2.6.16'er kernel : )

i need an autologin and i'm not shure if it's possible just to tune the /etc/inittab somehow, without running rungetty or mingetty... ??
because i don't have these programs...
and i can't crosscompille : (

after the autologin, zaurus should start mplayer with some options from the console. but i don't find an .bashrc or an .profile. where can i start automaticly a script after the login?

patsch

  • Newbie
  • *
  • Posts: 27
    • View Profile
Autologin To Beta4
« Reply #1 on: June 29, 2006, 06:34:38 am »
jau the first step is done  
i've downloaded from deb old stable the arm package... copied to /sbin/...
then i changed the /etc/inittab to:

1:2:respawn:/sbin/rungetty tty1 --autologin root
ln:345:respawn:/sbin/rungetty tty1 --autologin root

and restart : )

patsch

  • Newbie
  • *
  • Posts: 27
    • View Profile
Autologin To Beta4
« Reply #2 on: June 30, 2006, 11:54:09 am »
now the end of my /etc/init.d looks like this:

Code: [Select]
#1:2:respawn:/sbin/getty 9600 tty1
#ln:345:respawn:/sbin/getty 9600 tty1
#qt:5:respawn:/sbin/qt

# collie sp.
#sy::respawn:/sbin/shsync

1:2345:respawn:/sbin/rungetty --autologin root tty1
2:5:respawn:/sbin/getty 38400 tty2
3:5:respawn:/sbin/getty 38400 tty3
4:5:respawn:/sbin/getty 38400 tty4
5:5:respawn:/sbin/getty 38400 tty5
6:5:respawn:/sbin/getty 38400 tty6
the strange thing is, that rungetty  makes strange things when there is a .bashrc or something more in the /etc/profile
but why???
i tried so many things with rungetty, but i can not start a program : (°
has anybody an idea????

patsch

  • Newbie
  • *
  • Posts: 27
    • View Profile
Autologin To Beta4
« Reply #3 on: July 02, 2006, 05:57:51 am »
the rungetty i used is an old one... so perhaps that's why. has anybody an nice link to an introducing how to crosscompile for pdaxrom1.1.0beta4??

now i just worte a new init script and putted in /etc/rc.d/rc5.d as S95mplayer
and it works : )

some lines from S95mplayer:

start() {

setfl 30     #set screen brightness
clear
mplayer -vo fbdev -fs -loop 0 -quiet /mnt/cf/output.mov

}