From e3af0148129e65305b20d9005b045e5b6f6c198d Mon Sep 17 00:00:00 2001 From: Darshaka Pathirana Date: Sat, 20 May 2017 04:02:18 +0200 Subject: [PATCH] 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 | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/autoconfig.functions b/autoconfig.functions index 957fcab..fcbaead 100755 --- a/autoconfig.functions +++ b/autoconfig.functions @@ -1319,14 +1319,7 @@ if checkbootparam 'startx' && ! echo "$CMDLINE" | grep -q 'startx.*nostartx' ; t einfo "Setting up and invoking grml-x ${WINDOWMANAGER}. Just exit X windows system to get full featured consoles." config_userlocal if $SYSTEMD ; then - cat>|/etc/init.d/startx<|/etc/init.d/startx<