|||
1
先设定一个root的密码,sudo passwd root
2
root 登陆,su root
3 备份一下lightgdm
cp -p /etc/lightdm/lightdm.conf /etc/lightdm/lightdm.conf.bak
4
vi /etc/lightdm/lightdm.conf
(建议使用gedit /etc/lightdm/lightdm.conf)如果不能使用gedit,出现下面错误
** (gedit:2976): WARNING **: 连接已关闭
请使用:sudo 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登陆后还没声音,又查了查,如下方法:
12.04
Ubuntu root登录没有声音这个问题的根本原因是使用root登录后pulseaudio没有启动。
将root加到pulse-access组:
sudo usermod -a -G pulse-access root
然后修改配置文件/etc/default/pulseaudio,将PULSEAUDIO_SYSTEM_START设为1,
12.10
login as root ,then :
Archiver|手机版|科学网 ( 京ICP备07017567号-12 )
GMT+8, 2024-9-23 09:08
Powered by ScienceNet.cn
Copyright © 2007- 中国科学报社