Ubuntu 12.04 or 13.10 root configuration
来源:互联网 发布:java byte类型 编辑:程序博客网 时间:2024/06/07 08:01
As you know root account is not allowed by default, so it should do some settings. Here I just write this for record, this will make me not to search the configuration every time from internet.
1. set root password:
sudo passwd root
2. Change to root account:
su root
3. Backup lightdm.conf in /etc/lightdm folder, or just modify this file.
cp -p /etc/lightdm/lightdm.conf /etc/lightdm/lightdm.conf.bak
4. Edit lightdm.conf add : greeter-show-manual-login=true
sudo gedit /etc/lightdm/lightdm.conf
add the the below line to the end:
<span style="color:#ff0000;">greeter-show-manual-login=true</span>
5. reboot, you will find the root user can login now.
But it seems that there is sound or you can't set the volume, that is because
pulseaudio is not started, so we should do the following:
6. Add root to pulse-access group and modify /etc/default/pulseaudio, find PULSEAUDIO_SYSTEM_START,
you will find it is 0, just changed to 1. Also change DISALLOW_MODULE_LOADING=0.
sudo usermod -a -G pulse-access root
gpasswd -a root pulse
gpasswd -a root pulse-access
cd /etc/default/
sudo gedit pulseaudio
change PULSEAUDIO_SYSTEM_START=1
DISALLOW_MODULE_LOADING=0
then save.
It seems that youneed to restart to make it take effect. So far it can resolve the sound problem.
The below method has some defect.I test it this method, it must run the command every time after login.
After I get some update, when reboot,there is no voice again, it can be resolved by the following:
pulseaudio --start --log-target=syslog
It will get the sound backagain.
- Ubuntu 12.04 or 13.10 root configuration
- ubuntu 12.04 root login configuration
- Ubuntu root密码设置 or 切换用户
- ubuntu 12.04 server wireless configuration
- two or more web modules defined in the configuration have the same context root解决方案
- two or more web modules defined in the configuration have the same context root(/项目名)。
- Two or more Web modules defined in the configuration have the same context root (/bms).
- Two or more Web modules defined in the configuration have the same context root (/ecsr).
- ubuntu configuration
- Ubuntu 13.10 root密码
- ubuntu 12.04 开启root
- ubuntu 12.04 开启root
- ubuntu 12.04 root用户
- ubuntu 12.04 开启root
- Ubuntu 12.04 root登录
- Ubuntu 12.04 root登录
- ubuntu 13.10配置root登录
- Ubuntu 13.10使用root登陆
- jQuery中map()方法和each()方法
- oracle基本建表语句练习
- 精益六西格玛绿带应用培训(5天)
- vsftpd的主配置文件vsftpd.conf说明
- ios7 programming cookbook学习笔记一
- Ubuntu 12.04 or 13.10 root configuration
- AJAX跨域请求json数据的实现方法
- poi excel 隐藏行
- spring+ibatis事务配置
- 每日一得--iBatis高级应用
- 商超连锁行业异速联解决方案
- android 基础面试题
- weblogic 修改默认字符编码 乱码问题
- leetcode11.Linked List Cycle II