Created
July 13, 2018 12:36
-
-
Save protolambda/0fa2a5d372b443f8e2c98a23d465ccbe to your computer and use it in GitHub Desktop.
Simple trick to run startx by default on tty1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/profile | |
... *stuff* ... | |
# autostart xorg-server on tty1 | |
if [[ "$(tty)" == '/dev/tty1' ]]; then | |
exec startx | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment