Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Linux System Getting Started Learning: After starting in Ubuntu or Debian, enter the command line     - Vi editor Introduction (Linux)

- About AWR More Description (Database)

- Docker knowledge base (Server)

- Linux system installation and usage instructions Wetty (Linux)

- Fedora 20 users install the Mate 1.8 desktop (Linux)

- HDFS Distributed File System Resource Manager Developer summary (Server)

- To compile and install MySQL 5.7.7 RC under CentOS 7.1 (Database)

- Python Multithreaded Programming (Programming)

- How to install Linux Kernel 4.4 on Ubuntu (Linux)

- JavaScript property of checkbox.disabled (Programming)

- Deploy Apache Spark cluster environment in Ubuntu (Server)

- Ubuntu install OpenMPI (Linux)

- Cobbler remotely install CentOS system (Linux)

- MySQL concat function is SQL injection (Linux)

- After installing minimize RHEL / CentOS 7 we need to do (Linux)

- Ubuntu 10.04 to Ubuntu 10.10 Upgrade (Linux)

- Comparison of one-time transaction and CTE insert data (Database)

- Nginx Installation and Configuration (Server)

- CentOS 6.5 upgrade to CentOS 7 (Linux)

- Oracle Linux 6.4 installed Oracle 11gR2 + RAC + ASM (Database)

 
         
  Linux System Getting Started Learning: After starting in Ubuntu or Debian, enter the command line
     
  Add Date : 2017-04-13      
         
         
         
  Question: I am running Ubuntu desktop, but I want to temporarily enter the command line after the start. What is an easy way to boot into the terminal?

Linux Desktop comes with a display manager (eg: GDM, KDM, LightDM), which allow a computer to automatically start a GUI-based login environment. However, if you want to boot straight into the end how to do? For example, you troubleshoot a desktop-related issues do not need or want to run a GUI application.

Note that although you can press Ctrl + Alt + F1 to F6 temporarily switch to virtual terminal from the desktop GUI. However, in this case your desktop GUI runs in the background, unlike plain text mode.

In Ubuntu or Debian desktop, you can pass the appropriate parameters to start the text-mode kernel at boot time.

Enter the command line to start the temporary

If you want to prohibit the desktop GUI and enter a provisional text mode, you can use the GRUB menu.

First, turn on your computer. When you see the initial GRUB menu, press the 'e'.

It will then go to the next screen, where you can modify the kernel boot option. Scroll down to the row with "linux" the beginning, this is a list of kernel parameters. Remove the parameter list "quiet" and "splash". Add in the parameter list "text".

List option to upgrade the kernel looks like this. Press Ctrl + x continue to boot. This will start the console in verbose mode once (LCTT Annotation: Since not saved changes, so the next reboot will enter GUI).

Permanently boot into the command line

If you want to permanently boot into the command line, you need to update the definition of the kernel boot parameters GRUB settings.

Open the default GRUB configuration file in a text editor.

$ Sudo vi / etc / default / grub
Find the line that begins with GRUB_CMDLINE_LINUX_DEFAULT, and with the "#" comment this line. This disables the splash screen, and start verbose mode (that display detailed startup procedure).

Change GRUBCMDLINELINUX = "" to:

GRUB_CMDLINE_LINUX = "text"
Next Cancel "# GRUB_TERMINAL = console" comments.

GRUB updated configuration looks like the following.

Finally, use the update-grub command to rebuild the changes based on these GRUB2 configuration files under / boot.

$ Sudo update-grub
At this point, you should be able to switch from desktop to start the GUI console started. It can be verified by rebooting.
     
         
         
         
  More:      
 
- The direct insertion sort algorithm (Programming)
- How to install and use the malware detection tool LMD and ClamAV antivirus engine on Linux (Linux)
- AIX system file security aspects (Linux)
- Three strategies to teach you to release the device memory (Linux)
- Create RAID 1 (mirroring) with two disks (Linux)
- Using Maven to download Spring (Linux)
- How to deploy Icinga client (Server)
- Steps to build MPICH2 development environment on CentOS 6.4 (Linux)
- Windows SmartGit installation (Linux)
- Linux administrator should command: sed and awk (Linux)
- Enterprise Encrypting File System eCryptfs Comments (Linux)
- HAProxy performance under high concurrency (Server)
- TCP network communication Java Programming (Programming)
- SUSE Firewall Configuration (Linux)
- How to add a new resolution VirtualBox (Linux)
- Ubuntu users to install the system indicator SysPeek 0.3 (Linux)
- JBoss7 configuration - Supports IPv4 and IPv6 dual-stack environment (Server)
- Android Service service applications and the phone SMS Listener Listener (Programming)
- to install the deployment of LVS under CentOS 7.0 (Server)
- Oracle database on the hit rate of query summary (Database)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.