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     - Install Linux Mint 17: 20 things to do (Linux)

- Oracle set the timer task JOB scheduler to execute stored procedures or PL / SQL code block (Database)

- Lua4.0 interpreter entrance (Programming)

- CentOS 6 kernel upgrade to Kernel 3.x (Linux)

- Linux (Ubuntu) How iptables port mapping (Server)

- Linux memory management (Linux)

- Talk about jsonp (Programming)

- Java semaphores (Programming)

- Oracle Linux 7.1 install Oracle 12C RAC (Database)

- Security matters and practical Linux System (Linux)

- Zypper command for SUSE Linux package management (Linux)

- To install MySQL 5.6 binary packages under CentOS 6.4 64bit (Database)

- Python 2 Chinese garbage problem solved (Linux)

- Mumble installation source VoIP application on Ubuntu (Linux)

- Java object serialization and deserialization (Programming)

- Linux (CentOS) directory file management and file system file compression packing (Linux)

- Bitmap memory footprint of computing Android memory optimization (Linux)

- Ubuntu ADSL dial-up Internet access (Linux)

- Fedora 22 how to play rmvb mp4 mkv video files (Linux)

- Getting the Linux shell variable test (Programming)

  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).


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.
- Oracle data files deleted recover after physical (Database)
- Java filter (Programming)
- Installation Android IDE development tools, Android Studio 1.5 under Ubuntu (Linux)
- GAMIT baseline solution using batch were counted (Linux)
- Linux vi command list (Linux)
- 12 kinds of detection of CPU information on a Linux system tools (Linux)
- Use UDEV SCSI Rules configured ASM on Oracle Linux 5 and 6 (Database)
- Vmstat command Linux Performance Monitoring (Linux)
- Spring + MyBatis Multi data source switching (Database)
- Xshell configure SSH free password (Server)
- Autojump: an advanced cd command in the Linux file system fast navigation (Linux)
- [JavaScript] catch (ex) statements of ex (Programming)
- Verify the character set on MyCAT (Database)
- Compile and install Ubuntu Linux 4.0.5 kernel, network and fix vmware kernel module compilation error (Linux)
- Java, on the dfile.encoding Systemproperty (Programming)
- crontab task scheduling Health Check (Linux)
- Fragment Android developers learning to resolve (Programming)
- Redis master-slave replication switch (Database)
- Linux installed xdotool simulate keystrokes and mouse movements (Linux)
- Use Tmux and Vim to make IDE (Linux)
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.