Answer the question
In order to leave comments, you need to log in
How to run Ubuntu Desktop in console mode?
Good day!
Tell me how to configure Ubuntu Desktop so that it starts in text mode by default?
It is necessary that the console mode starts on the machine by default, but that, if necessary, you can start the GUI with your hands.
Such strange inventions))
upd: by editing grub and disabling lightdm, it was possible to start the console mode by default, but with startX, the background of the authorization screen and the cursor in the form of "X" are loaded and that's it. As I understand it, before each inclusion of the gui (startx), you need to turn on lightdm every time and, accordingly, turn it off again.
What are the ideas to implement this through the boot menu? Namely:
Loading by default in the console and add. menu item to load the GUI.
Answer the question
In order to leave comments, you need to log in
Console
sudo systemctl enable multi-user.target
sudo systemctl set-default multi-user.target
sudo systemctl enable graphical.target
sudo systemctl set-default graphical.target
You need to turn off the display manager autostart, in Ubuntu it's LightDM . I can’t tell you exactly how to do this, because I don’t use this distribution, but in new versions of Ubuntu (>=15.10) it can be like this:sudo systemctl disable lightdm
I think you need runlevel 3
askubuntu.com/questions/615634/how-to-set-default-...
1) sudo gedit /etc/default/grub
2) remove the line
and
replace it with
3) save the file
4) sudo update-grub
5)sudo reboot
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question