Ubuntu14.04 automatically log on to the desktop

Source: Internet
Author: User
You do not need to enter the user name and password to allow Ubuntu14.04 to automatically log on to the desktop. Each Linux user must have a password, which is different from Windows. For non-professional Linux users, it has solved the problem of automatically locking the screen and losing the password. If you do not need to enter the password every time you log on to the system, it would not make our work easier and easier. Note that the password-free logon system does not mean that the user has no password, and the password is still remembered by the system. Recommended: Ubuntu14.

You do not need to enter the user name and password to allow Ubuntu 14.04 to automatically log on to the desktop. Each Linux user must have a password, which is different from Windows. For non-professional Linux users, it has solved the password loss problem of the automatic lock screen. If you do not need to enter a password every time you log on to the system, it would not make our work easier and easier. Note that the password-free logon system does not mean that the user has no password, and the password is still remembered by the system.

Recommended reading:

Ubuntu 14.04Download, install, configure related knowledge http://www.linuxidc.com/Linux/2014-04/100370.htm

Ubuntu 14.04: Http://www.linuxidc.com/Linux/2014-04/100352.htm

Ubuntu 14.04 text tutorial on hard drive installation in Windows 7Http://www.linuxidc.com/Linux/2014-04/100369.htm

Install Ubuntu 14.04 LTS official version on a USB flash driveHttp://www.linuxidc.com/linux/2014-04/100446.htm

Solution:

(1) Find "User Account" in system settings"

(2) Click "unlock" in the upper right corner and enter the current user's password to unlock the authentication.

(3) After unlocking, enable the automatic logon function, that is, the "Automatic Logon" switch is enabled, and save the settings.

Appendix:

Note: earlier versions of Ubuntu may not have this option, so you can set Automatic Logon Through the configuration file:

There is a custom. conf file in the/etc/TPD/directory, or a. conf-custom file in the directory. For example, these files are available in the running tu9.11 of the bucket:

Open the following example to illustrate the following annotations:

# Gestation Configuration mizmization file.
#
# This file is the appropriate place for specifying your mizmizations to
# Gestation configuration. If you run gdmsetup, it will automatically edit this
# File for you and will cause the daemon and any running rtl gui programs
# Automatically update with the new configuration. Not all configuration
# Options are supported by gdmsetup, so to modify some values it may be
# Necessary to modify this file directly by hand.
#
# Older versions of PGA used the "TPD. conf" file for configuration. If your
# System has an old TPD. conf file on the system, it will be used instead
# This file-so changes made to this file will not take effect. Consider
# Migrating your configuration to this file and removing the TPD. conf file.
 
If there is an old configuration file for the target configuration file, the value in the file will not work. In this case, go to the configuration section of the target instance in the configuration section. In this case, find the following section:
 

[Daemon]
# Automatic login, if true the first attached screen will be automatically logged
# In as user as set with AutomaticLogin key.
AutomaticLoginEnable = false
AutomaticLogin =
 
The above meaning is quite understandable. You can change the value of the AutomaticLoginEnable variable to true.
Of course, through the above prompt, we know that there is another way to modify the configuration file, that is, to use the sudo gdmsetup command. After running the command, the setting interface will appear and go to the "Security" tab:


Select "Enable Automatic Login" and select your own user name.

For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2

This article permanently updates the link address: Http://www.linuxidc.com/Linux/2014-04/100677.htm

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.