以下是我找的:
还有root怎么显示中文并且可以使用中文输入法~~~
我试过网上的没有效果
1.ubuntu 8.04默认是不允许root用户登陆图形界面,如果要启用root,需做以下更改: 网管网www.bitscn.com
(1)重设 root 的密码:
$sudo passwd root #按提示输两次新的密码,并加以确认。 网管u家u.bitsCN.com
(2)$sudo vi /etc/gdm/gdm.conf
AllowRoot=false #修改为 AllowRoot=true 网管论坛bbs_bitsCN_com
2.点击 "系统" -> "系统管理" -> "登陆窗口" 菜单,并切换到 "安全" 选项页,然后选中其下的“允许本地管理员登陆”选项。 网管u家u.bitsCN.com
3.通过以上两步设置,你可以用root帐号登陆图形界面了,如果需要禁止root帐号登陆图形界面,sudo passwd -l root,或者去掉"系统" -> "系统管理" -> "登陆窗口" 菜单,并切换到 "安全" 选项页,然后去掉选中其下的“允许本地管理员登陆”选项。 网管网www_bitscn_com
4.可以通过root登陆图形界面后,默认的界面是英文界面的,需要做以下两步: 网管联盟bitsCN@com
(1)在root用户下,安装中文支持语言包,操作如下:
点击"system"-->"system mangement"-->"language support",在支持的语言中选中勾选"Chinese",在默认的语言中选"Chinese(mainland)",点需"确定",他会下载一些中文支持语言包的,下载的时间要看各自的网速。
网管u家u.bitsCN.com这个原本就没有这个文件,我新建了个写好,结果没有效果~~~~代码: 全选
(2)vi /etc/.profile # ~/.profile: executed by Bourne-compatible login shells. 网管u家u.bitsCN.com 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=C #修改此行为:LANG="zh_CN.UTF-8" LANGUAGE=C #修改此行为:LANGUAGE="zh_CN:zh"
5.root图形界面上启用scim输入法
(1)apt-get install scim #把默认需要安装的文件都装上
网管网www_bitscn_com
(2)touch /etc/X11/Xsession.d/95xinput
export XMODIFIERS=@im=SCIM;
export GTK_IM_MODULE="scim";
export QT_IM_MODULE="scim";
scim -d
网管u家u.bitsCN.com
(3)reboot #重启你的系统