tty7.conf
· 352 B · Text
Brut
# 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
| 1 | # tty7 - openvt |
| 2 | # |
| 3 | # This service maintains a openvt and runs startx on tty7 from the |
| 4 | # point the system is started until it is shut down again. |
| 5 | # Set USER equal to the user name you want to run startx. |
| 6 | |
| 7 | start on runlevel [23] |
| 8 | stop on runlevel [!23] |
| 9 | |
| 10 | respawn |
| 11 | |
| 12 | script |
| 13 | USER="username" |
| 14 | exec /bin/openvt -fwc 7 -- /bin/su -c /usr/bin/startx $USER |
| 15 | end script |