# tty7 - openvt # # This service maintains a openvt and runs startx on tty7 from the # point the system is started until it is shut down again. # Set USER equal to the user name you want to run startx. start on runlevel [23] stop on runlevel [!23] respawn script USER="username" exec /bin/openvt -fwc 7 -- /bin/su -c /usr/bin/startx $USER end script