3.
set up a login using the
root account in Ubuntu 12.041, first set a root password, sudo passwd root2, root login, su root3, backup lightgdmcp-p/etc/lightdm/lightdm.conf/etc/lightdm/ LIGHTDM.CONF.BAK4, editor Lightdm.confsudo Gedit/etc/lightdm/lightdm.conf5, add: greeter-show-manual-login=true Allow-guset=false modified to: [seatdefaults]greeter-session=unity-greeteruser-session=ubuntugreeter-show-manual-login= True #手动输入登录系统的用户名和密码allow-guest=false #不允许 Guest Login After restarting the login, you can see that we can enter root. Note: If there is no sound after the root login, you can resolve it by doing the following: PulseAudio--start--log-target=syslogubuntu Root Login no sound the root cause of the problem is when you log in with root PulseAudio not started. Add root to the pulse-access group: sudo usermod-a-g pulse-access Root and modify the configuration file/etc/default/pulseaudio, set Pulseaudio_system_start to 1.
4. Modify the computer name in the Linux systemYou can use the hostname command to modify the hostname command format: hostname < new computer name >-$sudo hostname linux After modifying, open a new terminal window, display the successful computer name is: Geclab. Restart the Ubuntu system and find that the computer name you just modified is not saved. Changed back to a computer name that was not modified before. To permanently modify your computer name, you need to make the following modifications: 1. After you have modified the/etc/hostname file $sudo vi/etc/hostname Enter the password, go to the text editor and change the contents of the display to the name of the computer you want to set. Geclab ". 2. You need to continue to modify/etc/hosts. $sudo vi/etc/hosts Open the/etc/hosts file, the name of the 127.0.1.1 in the contents of the file is also changed to the same name as/etc/hostname in Geclab. At this point, the operation to modify the computer name is complete.
Setup to log in and modify the computer name in the Linux system using the root account in Ubuntu 12.04