Article Title: Chinese environment configuration under ubuntu8.04root. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
1. By default, ubuntu 8.04 does not allow the root user to log on to the graphic interface. To enable root, make the following changes:
(1) reset the root password:
$ Sudo passwd root # Enter the new password twice as prompted and confirm it.
(2) $ sudo vi/etc/TPD. conf
AllowRoot = false # change to AllowRoot = true
2. Click "System"-> "System Management"-> "login window", switch to the "Security" option page, and select the "Allow local administrator login" option under it.
3. you can use the root account to log on to the graphic interface through the above two steps. If you need to disable the root account from logging on to the graphic interface, sudo passwd-l root, you can also remove the "System"-> "System Management"-> "login window" menu, switch to the "Security" option page, and then remove the "Allow local administrator login" option under the selected menu.
4. You can log on to the GUI through the root user. The default Interface is in English. You need to perform the following two steps:
(1) install the Chinese Language Pack for the root user as follows:
Click "system" --> "system mangement" --> "language support", select "Chinese" in the Supported languages, and select "Chinese (mainland)" in the default language )", click "OK" to download some Chinese language packs. The download time depends on the network speed.
(2) vi/etc/. 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 = C # modify this behavior: LANG = "zh_CN.UTF-8"
LANGUAGE = C # modify this behavior: LANGUAGE = "zh_CN: zh"
5. Enable scim input on the root Gui
(1) apt-get install scim # install all the files to be installed by default
(2) touch/etc/X11/Xsession. d/95 xinput
Export XMODIFIERS = @ im = SCIM;
Export GTK_IM_MODULE = "scim ";
Export QT_IM_MODULE = "scim ";
Scim-d
(3) reboot # restart your system