sudo passwd root //更改root密码。 在 Gnome,打开 系统 --> 系统管理--> 登陆窗口,点击管理 页 ,选择 允许本地系统管理员登陆。
在终端运行 sudo gedit /etc/gdm/gdm.conf 修改/etc/gdm下的gdm.conf文件来允许root直接登陆,在该文件中,修改其中的AllowRoot=false变成AllowRoot=true重启就可以了 sudo gedit /usr/share/config/kdm/kdmrc 在 KDE,打开/usr/share/config/kdm/kdmrc,作如下修改 [X-:0-Core] Authorize=true AutoLoginAgain=true AutoLoginDelay=0 AutoLoginEnable=true #允许自动登陆 AutoLoginLocked=false AutoLoginUser=root #设置root为自动登陆用户 ClientLogFile=.xsession-errors 8.04中选择root进入系统,无法显示中文桌面,而且选择中文后也没有作用 sudo gedit ~/.profile 修改root下隐藏文件.profile,以下是修改过的。此后就成功成为中文桌面。 # ~/.profile: executed by Bourne-compatible login shells. if [ "$BASH" ]; then if [ -f ~/.bashrc ]; then . ~/.bashrc fi fi mesg n # Installed by Debian Installer: # no localization for root because zh_CN.UTF-8 # cannot be properly displayed at the Linux console LANG="zh_CN.UTF-8" LANGUAGE="zh_CN:zh" |