Ubuntu Server Installation Graphical interface

Source: Internet
Author: User

At first glance the title, seems to be very sb,ubuntu the selling point is the graphical interface, how still need to install?

In fact, because when you install Ubuntu, you choose the server mode, you do not install the graphical interface by default, and then suddenly, want to manipulate something in the graphical interface, such as the installation of the virtualization tool KVM, want to call Virt-manager, then there is no way, it must be installed.

The first thing to say is that the new version of Ubuntu, has not X11 to manage the graphical interface, now with the LIGHTDM to manage. So a lot of old articles, it is outdated, even if you see done, is meaningless, up the main is UBUNTU16 version, Nature is.

Then come to the point, since it is Ubuntu, of course, is dependent on the powerful apt source, I have not the hands of the cheap to compile so silly.

#先更新一下缓存, or it could be the old data. Apt-get update# then installs the necessary packages, which will be long ... apt-get install-y ubuntu-desktop lightdm gnome-session Unity-greeter# then, start the LIGHTDM, if no accident, your GUI desktop will appear the service LIGHTDM start# by default, the graphical interface after installation, is set to boot, and our purpose is only to use a bit even, # Then shut the boot up. Systemctl disable lightdm.service# run out, you can shut down, you will return to the command line mode service LIGHTDM stop

This is done.

It should be emphasized that the graphical interface will only be displayed on the local display, remote is not possible, do not think too much, but you can remotely start the LIGHTDM service to enable the graphical interface.

Then, in the new version of Ubuntu and Centos/redhat, the old chkconfig mode has been deprecated, and startup and shutdown services can also use the service XXX start/stop this mode, but set boot up and shutdown, It will be replaced by a new model Systemctl enable/disable Xxx.service this method.





Ubuntu Server Installation Graphical interface

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.