In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-25 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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.