root无法以中文桌面登录 已解决!!
发表于 : 2008-04-27 9:08
root登录后是英文桌面,修改默认语言为中文后,重新进入系统还是英文。总是如此
修改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"
修改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"