Disable graphical interface for ubuntu 14.04 desktop, ubuntu14.04

Source: Internet
Author: User

Disable graphical interface for ubuntu 14.04 desktop, ubuntu14.04
Disable GUI for ubuntu 14.04 Desktop

Problem:

How can I set ubuntu14.04 to start in text mode?


Solution:

Modify the configuration file of GRUB (it is not recommended to change grub. conf directly)

$ Sudo vim/etc/default/grub

Find GRUB_CMDLINE_LINUX_DEFAULT = "quiet splash", which should be in row 11th.
Copy the row and replace quiet splash with text.
Comment out this line (to avoid having to know how to change it back later ).
GRUB_CMDLINE_LINUX_DEFAULT = "text"
Run the sudo update-grub command and restart the instance.
     $sudo update-grub;sudo reboot
After restart, you can directly access the text interface.





How can I switch to the graphical interface of ubuntu 1004 in command line mode?

StartX
If the command cannot be identified

Sudo apt-get install xinit

You also need to install the desktop environment in advance

For example, gnome, such as KDE

Installation Method
Sudo apt-get install ubuntu-desktop # gnome
Sudo apt-get install Kubuntu-desktop # kde

If the desktop environment is not installed, a command line with a white background and a mouse will appear.

Ubuntu1404 graphic interface display

It seems to be a setup problem. Go to the settings to see the display, display settings, desktop and so on.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.