-
-
Save nickvsh/b4db7796e8a54bf893207a50a01a9f64 to your computer and use it in GitHub Desktop.
xinit service on systemd
This file contains hidden or 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
| systemctl enable xinit.service |
This file contains hidden or 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/systemd/system/xinit.service | |
| [Unit] | |
| Description=Autologin to X | |
| After=systemd-user-sessions.service | |
| [Service] | |
| ExecStart=/bin/su - -- subosito -l -c 'xinit -- /usr/bin/X -nolisten tcp vt7 </dev/null >/dev/null 2>&1' | |
| StandardOutput=syslog | |
| [Install] | |
| WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment