0

When working on my laptop I would like to be able to log in directly into a tty without launching the X server. This saves battery and is also pleasant on the eyes since the screen background is truly black. Then if I need to do some web browsing I would like to launch the desktop environment with startx or similar. How can I accomplish this in Ubuntu?

jsb
  • 123

1 Answers1

4

To configure Ubuntu desktop to boot into the text mode, like the server:

sudo systemctl set-default multi-user.target

Then, if you are working in text mode and want to launch the graphical environment:

sudo systemctl isolate graphical.target
AlexP
  • 10,197