Ubuntu Installation Desktop Environment

Source: Internet
Author: User

Run the following command in the command environment:

Apt-get Update//updating software Library

Apt-get upgrade//upgrade software

Apt-get Install Ubuntu-desktop//installing Ubuntu Desktop System

Installation time is a bit long and you need to wait patiently.

Reboot the desktop environment cannot be logged on with the root account after a reboot.

Restart and then use CTRL + ALT + F1 to enter the command line using root login

Run command

sudo vi/usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf//Open 50-ubuntu.conf

Add at the end

Greeter-show-manual-login=true//Allow switch User login

Allow-guest=false//Disable guest

Full code

[seat:*]
User-session=ubuntu
Greeter-show-manual-login=true
Allow-guest=false

Save Restart (use the ESC key to switch to the last line mode after editing in VI mode, and then enter: Wq exit Edit) found that the root user logged on with a warning

Modify the/root/.profile file (edit in the GUI to check Show hidden file)

Replace MESG n with tty-s && mesg n

Full code

# ~/.profile:executed by bourne-compatible login shells.
If ["$BASH"]; Then
If [-f ~/.BASHRC]; Then
. ~/.bashrc
Fi
Fi
Tty-s && MESG N | | True

After saving reboot, you can log in to root in desktop environment perfectly.

Ubuntu Installation Desktop Environment

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.