zoukankan      html  css  js  c++  java
  • Ubuntu 13.04设置root用户登录图形界面

    [日期:2013-04-13]
     
    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              #手工输入登陆系统的用户名和密码
     
     
    **************************************
    ubuntu 13.04如何进入终端?
     
    control+Alt+T
    各个版本都没变过吧
  • 相关阅读:
    IDEA中快速排除maven依赖
    Maven构建war项目添加版本号
    运行shell脚本报/bin/bash^M: bad interpreter错误排查方法
    Shell杀tomcat进程
    根据URL下载文件
    关闭Centos的自动更新
    CentOS下建立本地YUM源并自动更新
    为Linux服务器伪装上Windows系统假象
    ServerInfo.INI解密
    请教给终端推销域名的邮件该怎么写?
  • 原文地址:https://www.cnblogs.com/huapox/p/3299917.html
Copyright © 2011-2022 走看看