How do I disable lightdm(display manager) during bootup of my machine? I want to bootup to command prompt and not into GUI desktop. I am using ubuntu 16.0.4LTS
Asked
Active
Viewed 3.5k times
1 Answers
18
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
Alcuin Arundel
- 3,180