Created
February 1, 2017 09:56
-
-
Save gp187/c7da5cc622f5379fdca78c5e4f581e94 to your computer and use it in GitHub Desktop.
OnStartup: no UI and No GUI. Just login screen for ubuntu 16
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
To boot to console: | |
`sudo systemctl set-default multi-user.target` | |
You must then edit /etc/default/grub by removing splash from the GRUB command line. (Remember to update GRUB afterward: sudo update-grub). | |
To get to the Unity desktop from the console, you must enter the command: | |
sudo systemctl start lightdm.service | |
(The usual startx command doesn't work with Unity.) | |
To restore boot to GUI: | |
sudo systemctl set-default graphical.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment