Ubuntu is a desktop application based Linux operating system. Ubuntu is based on the Debian distribution and GNOME desktop environment, and since version 11.04, the Ubuntu release has abandoned the GNOME desktop environment to unity, unlike Debian because it publishes a new version every 6 months.
Ubuntu-kylin China's customized version of the Ubuntu Desktop Linux system, integrated into China's unique characteristics.
Ubuntu defaults to being unable to log on with root, which is cumbersome for individuals without the root user privileges. Here I will introduce Ubuntu Keylin 14.04 to open root login; If you need a classmate, just study together!!!
1. Set password for root user
Installation complete If you need to log in as root, you can open the terminal to enter the following command: #设置root密码sudo passwd root, enter the current user password, and then enter two times the set root password;
2, #切换到root用户sudo-S. Enter root password, enter root terminal
3, set the login panel to enable it to achieve root login
To log in using root in the login interface, edit the/usr/share/lightdm/lightdm.conf.d/50-in the/usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf directory ubuntu.conf files, such as without this file, create/usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf directly into/usr/share/lightdm/lightdm.conf.d/
cd/usr/share/lightdm/lightdm.conf.d/
Edit 50-ubuntu.conf file content is final: [Seatdefaults]user-session=ubuntu
Autologin-user=rootgreeter-session=unity-greetegreeter-show-manual-login=truallow-guest=false
After the modification, execute the reboot command to restart Ubuntu for effective;
Automatically log in as root after startup autologin-user=root# manually enter the username and password for the login system greeter-show-manual-login=true# Disable the Guest user Allow-guest=false
4. Restart Ubuntu
The command line enters reboot carriage return, waits for reboot, and the default is logged in by the root user after startup.
Note: Learning users if the use of Vim is unfamiliar to use gedit is very convenient.