chaoshu的个人博客分享 http://blog.sciencenet.cn/u/chaoshu

博文

ubuntu 12.04/12.10 root 登录

已有 2980 次阅读 2014-4-24 11:18 |个人分类:Ubuntu|系统分类:科研笔记| ubuntu, ROOT

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 :

pulseaudio --start --log-target=syslog




https://blog.sciencenet.cn/blog-858128-788102.html

上一篇:Ubuntu系统GAMIT/GLOBK程序安装
下一篇:在Ubuntu 12.04上安装MATLAB-2012a
收藏 IP: 111.174.44.*| 热度|

0

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-4-25 14:09

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部