A
A
Alex Helber2017-02-19 18:23:55
linux
Alex Helber, 2017-02-19 18:23:55

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

6 answer(s)
T
TyzhSysAdmin, 2017-02-19
@POS_troi

Console

sudo systemctl enable multi-user.target
sudo systemctl set-default multi-user.target

GUI
sudo systemctl enable graphical.target
sudo systemctl set-default graphical.target

Z
zelsky, 2017-02-19
@zelsky

CTRL+F1

A
Andrey Myvrenik, 2017-02-19
@gim0

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

D
Dmitry, 2017-02-19
@slo_nik

Good afternoon.
Try like this

V
Vitaly, 2017-02-19
@vshvydky

I think you need runlevel 3
askubuntu.com/questions/615634/how-to-set-default-...

S
Stepan Krapivin, 2017-02-19
@xevin

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 question

Ask a Question

731 491 924 answers to any question