Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- INITTAB
- #
- # /etc/inittab
- #
- # Runlevels:
- # 0 Halt
- # 1(S) Single-user
- # 2 Not used
- # 3 Multi-user
- # 4 Not used
- # 5 X11
- # 6 Reboot
- ## Only one of the following two lines can be uncommented!
- # Boot to console
- #id:3:initdefault:
- # Boot to X11
- id:5:initdefault:
- rc::sysinit:/etc/rc.sysinit
- rs:S1:wait:/etc/rc.single
- rm:2345:wait:/etc/rc.multi
- rh:06:wait:/etc/rc.shutdown
- su:S:wait:/sbin/sulogin -p
- # -8 options fixes umlauts problem on login
- c1:2345:respawn:/sbin/agetty -8 38400 tty1 linux
- c2:2345:respawn:/sbin/agetty -8 38400 tty2 linux
- c3:2345:respawn:/sbin/agetty -8 38400 tty3 linux
- #c4:2345:respawn:/sbin/agetty -8 38400 tty4 linux
- #c5:2345:respawn:/sbin/agetty -8 38400 tty5 linux
- #c6:2345:respawn:/sbin/agetty -8 38400 tty6 linux
- ca::ctrlaltdel:/sbin/shutdown -t3 -r now
- # Example lines for starting a login manager
- #x:5:respawn:/usr/bin/slim >& /dev/null
- c4:5:respawn:/sbin/agetty -n -l /etc/autostartx 38400 tty4 linux
- # End of file
- AUTOSTARTX
- #!/bin/sh
- #Runs an X session for the user defined here:
- user="robin"
- echo 'Starting X session for '"$USER"
- login -f "${user}" STARTX=1
- ls -l autostartx
- -rw-r--r-- 1 root root 138 Feb 17 14:00 /etc/autostartx
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement