Wednesday, April 24, 2024
 Popular · Latest · Hot · Upcoming
15
rated 0 times [  15] [ 0]  / answers: 1 / hits: 25018  / 2 Years ago, wed, january 12, 2022, 3:41:11

Hi I have ubuntu server 10.04 installed and I also installed the following:



su
aptitude install xorg xfce4
aptitude install <name of GUI browser, I use firefox>
aptitude install gedit
aptitude install gnome-terminal


Now when I restart the system it goes to the GUI login, what I am really after is a system that loads the CLI by default and then I can use startx to load the GUI when really necessary. I am trying to learn CLI but I would like to retain access to the GUI for now.
And, how can I switch between CLI and GUI anytime?


More From » gui

 Answers
5

Modify your file /etc/default/grub with



GRUB_CMDLINE_LINUX_DEFAULT="text"


and do sudo update-grub. The machine will boot in text mode.



To start the graphical interface you do



sudo service gdm start


Edit



Starting from Ubuntu 11.10 Oneiric, the default Display Manager is LightDM, so the preceding command becomes:



sudo service lightdm start

[#44316] Thursday, January 13, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
bearous

Total Points: 226
Total Questions: 116
Total Answers: 136

Location: Guernsey
Member since Sun, Jan 10, 2021
3 Years ago
;