Naposledy aktivní 1 month ago

Upstart Single User X

racerxdl's Avatar Lucas Teske revidoval tento gist 9 years ago. Přejít na revizi

1 file changed, 15 insertions

tty7.conf(vytvořil soubor)

@@ -0,0 +1,15 @@
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
Novější Starší