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     - Linux ldconfig command (Linux)

- How to Use Nmap security scanner tool on Linux (Linux)

- Java learning problems encountered (Programming)

- CentOS install pip (Linux)

- Approach the next Linux shared interrupts (Linux)

- Java thread lifecycle (Programming)

- crontab cause CPU exception Analysis and Processing (Linux)

- Manage SQL Server services login (start) account and password (Database)

- Android 4.2 compilation notes (Programming)

- VMWare virtual machine without rebooting way to add virtual disk (Linux)

- Source code compiled by the installation program under Linux (Linux)

- HAProxy performance under high concurrency (Server)

- MySQL rollback insert statement causes ibd file grows double (Database)

- MySQL IO SSD attempt at optimization (Database)

- How Ubuntu Snappy Core 2 running on Raspberry Pi (Linux)

- Linux module mechanism of (Programming)

- Generate two-dimensional code parsing code Java (Programming)

- Vi editor Introduction (Linux)

- Custom Android UI template Comments (Programming)

- Linux server security settings to close unused ports (Linux)

 
         
  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:      
 
- error 1819 (HY000): your password does not satisfy the current policy requirements (Database)
- Linux command to view the system status (Linux)
- Use a soft Raid play multiple SSD hard drive performance and enhance data security (Linux)
- C language binary tree counts words (Programming)
- Linux ban single-user mode to enhance system security (Linux)
- Linux automatically install service components and optimize the kernel parameters (Linux)
- Build a super simple "hardware" firewall router (Linux)
- Use Ambari rapid deployment Hadoop big data environment (Server)
- Flask deploy applications using Nginx on Ubuntu (Server)
- MySQL and MariaDB traditional master-slave cluster configuration (Database)
- Puppet 3.5 Source package Installation and Configuration (Server)
- Using open source software to build XWiki Wiki system installed within the company (Linux)
- Linux rename command usage in learning to modify the file name (Linux)
- Linux supports serial output method (Linux)
- Linux gprof oprofiling and performance testing tools (Linux)
- MySQL Data Types (Database)
- What have we learn from the front-end application Nodejs (Programming)
- Oracle PL / SQL based cursor (Database)
- Web database security tips (Linux)
- 15 things to do after installing Ubuntu 15.04 Desktop (Linux)
     
           
     
  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.