Get rid of ugly startx helper script and start X on tty7/vt7
authorDarshaka Pathirana <dpat@syn-net.org>
Sat, 20 May 2017 02:02:18 +0000 (04:02 +0200)
committerDarshaka Pathirana <dpat@syn-net.org>
Sat, 20 May 2017 02:12:43 +0000 (04:12 +0200)
commite3af0148129e65305b20d9005b045e5b6f6c198d
tree6aa798caa5072b3ffdf067ba29064370105180a6
parentf9648a366334e91a4724b861913e6fa17521db4f
Get rid of ugly startx helper script and start X on tty7/vt7

The startx helper script was used to get around some permission problems
which were caused by grml-runtty. As we switched to agetty, we also can
get rid of this ugly hack.

Furthermore we decided to start X on tty7/vt7 (if the bootoption startx
is given) as tty6 "is especially reserved for auto-spawned gettys":

 This is done in order to ensure that there's always a way to get a text
 login, even if due to fast user switching X took possession of more
 than 5 VTs.

See: http://0pointer.de/blog/projects/serial-console.html

Relates to grml/grml#20
autoconfig.functions