您的位置:首页 > 其它

Ubuntu 13.04设置root用户登录图形界面

2013-07-12 05:19 681 查看
转载自:http://www.linuxidc.com/Linux/2013-04/82672.htm

Ubuntu 13.04设置root用户登录图形界面与在Ubuntu 12.10中使用root进行登录方法类似。

相关阅读:Ubuntu 12.10设置root用户登录图形界面 http://www.linuxidc.com/Linux/2012-11/74435.htm
先切换到root用户, sudo su root

1、先设定一个root的密码, passwd root

2、备份一下lightgdm

cp -p /etc/lightdm/lightdm.conf /etc/lightdm/lightdm.conf.bak

3、编辑lightdm.conf

gedit /etc/lightdm/lightdm.conf

5、最后加:

greeter-show-manual-login=true

修改后为:

[SeatDefaults]

greeter-session=unity-greeter

user-session=ubuntu

greeter-show-manual-login=true

重启登陆即可。已经可以输入root了。

注意:如果root登陆后还没声音,又查了查,如下方法:

Ubuntu root登录没有声音这个问题的根本原因是使用root登录后pulseaudio没有启动。

login as root ,then :

将root加到pulse-access组:

usermod -a -G pulse-access root

启动pulseaudio

pulseaudio --start --log-target=syslog

我的lightdm.conf如下:

[SeatDefaults]

autologin-guest=false #不允许guest登录

autologin-user=root #自动以root登录

autologin-user-timeout=0

autologin-session=lightdm-autologin

user-session=ubuntu

greeter-session=unity-greeter

greeter-show-manual-login=true #手工输入登陆系统的用户名和密码
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: