From: Michael Prokop Date: Fri, 7 Apr 2017 14:37:05 +0000 (+0200) Subject: 030-wm.sh: switch to sudo to fix controlling tty issue with recent X.org X-Git-Tag: v0.17~5 X-Git-Url: http://git.grml.org/?a=commitdiff_plain;h=23e5c347f27f5601f51c349f5cb3ed2712556ba8;hp=23e5c347f27f5601f51c349f5cb3ed2712556ba8;p=grml-quickconfig.git 030-wm.sh: switch to sudo to fix controlling tty issue with recent X.org X.org doesn't run as root anymore (unless using xserver-xorg-legacy workaround). When invoking X.org via 'su -c ...' no controlling tty can be acquired, because of a change in upstream's shadow release 4.1.5 (dating back to 2011-06-05). Related to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=802769 We need read and write permissions on the TTY, so adjust the TTY we're running on accordingly. ---