In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Computer Software News >
Share
Shulou(Shulou.com)05/31 Report--
How does ubuntu start the command line? Recently, many netizens have been asking this question, so everyone must be very curious. Today, the editor will tell you in detail.
1. Sudo gedit / etc/default/grub
Put the code: GRUB_CMDLINE_LINUX_DEFAULT= "quiet splash"
Change to: GRUB_CMDLINE_LINUX_DEFAULT= "text"
And then sudo update-grub
2. Sudo gedit / etc/default/grub
Setting: GRUB_CMDLINE_LINUX= "text"
Then there is no splash flash when sudo update-grub 1 starts, 2
If you need to return to graphic mode in command-line mode, enter the command: startx in turn, return to command-line mode in graphical mode, press ctrl+alt+F1 at the terminal
Other finishing methods:
The way is to create an inittab file, write a line of id:3:initdefault:, then go to / etc/rc3.d, move the S13kdm to another directory to back up, restart the system, and enter the character interface as you wish.
Method 2: install sysv-rc-conf first.
Sudo apt-get install sysv-rc-conf
Run sysv-rc-conf
Sudo sysv-rc-conf
After running, you can find 2 columns of gdm items in the options, and then remove the selected gdm.
Pay attention! When you restart ubuntu and enter the character interface, you want to go back to the graphical environment not with the startx command, but with telinit 3.
Method 3: stop the GDM service directly in X environment:
Sudo update-rc.d-f gdm remove
Restart (enter text command line mode):
Sudo reboot-n
If you want to directly enter the X environment in command line mode, you need to enter: startx. If you want to boot back to the X environment, you need to enable the GDM service:
Sudo update-rc.d gdm defaults method 4: (I tested successfully under ubuntu10.04)
In graphics mode, enter the terminal first:
1. Run sudo vi/etc/default/grub
two。 Find GRUB_CMDLINE_LINUX_DEFAULT= "quiet splash"
3. Change to GRUB_CMDLINE_LINUX_DEFAULT= "quiet splash text"
4. Run sudo update-grub
5.reboot (PS: quiet for not showing the detailed startup process; splash for showing the progress bar)
To return to graphic mode in command line mode, enter the command: startx
Conversely, return to command line mode in graphical mode and press ctrl+alt+F1 at the terminal
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.