Fcitx little penguin input method, configure SSH to make root login unavailable

Source: Internet
Author: User
Configure SSH to make root login unavailable

Modify the/etc/ssh/sshd_config file:

Permitrootlogin No

Service sshd restart

You can ...........

----------------------------------------------------------------------
Perfect Installation Method for fcitx little penguin input method (gnome)

Rpm-IVH fcitx-3.0.2-1.i386.rpm

Note that the following two steps are important because they will conflict with fcitx.

Rpm-e minichinput

Rpm-e xcin

That's right. It's just killing the two built-in RHEL input methods.

Then, configure the environment variables for users using X.

VI ~ /. Bashrc

Add:

Export xmodifiers = "@ im = fcitx"

Then let fcitx start automatically under GNOME

Menu-> preferences-> more preferences-> session-> Start-> Add->/usr/bin/fcitx-> order-> 50-> OK

Press CTRL + ALT + backspace to restart X. Everything is OK.

The key is to delete minichinput and xcin.

............
............

Bytes ---------------------------------------------------------------------------------------
Input Method

The input method is of course essential to the Chinese. In fact, the iiimf provided by fedore core 3 is quite good. However, I am used to five times and cannot tolerate the high bitrate input by pinyin. Therefore, I decided to use fcitx made in China.

To the http://www.fcitx.org to download the fcitx3.0.2 source code, according to the method installed on the site, first Delete the system comes with iiim:

Service iiim off

Chkconfig -- del iiim

Rpm-e minichinput

Rpm-e xcin

If you want to uninstall the package thoroughly, you can run rpm-Qa | grep iiim to remove all the packages found from rpm-e. Note the association between some packages. Some packages must be detached before they can be detached.

After fcitx is compiled and installed, the system prompts "the same service htt already exists". Enter PS-Ef | grep.
Htt: Kill the identified process (it should be the htt_xbe process, which may cause some windows to crash. It doesn't matter ). Sure enough, fcitx is successfully started. If it's so simple
Sure, I won't write this section ......

If you do not do any processing, then the next time you start X Program Will not start up, in fact, people on the website said: "xim program crash will guide
Cause the application and X to crash, so please save the data at any time ". Obviously, some of the configurations are not configured and fcitx is not started. Fortunately, before you uninstall iiim, you can see
There is an iiim file in the/etc/X11/xinit/xinput. d/directory, and all files in the directory, such as zh_cn, point to this file. The content of this file is:

Xim = iiim

Xim_program = iiim

Gtk_im_module = iiim

Gnome-im-settings-daemon>/dev/null


The most important thing is the environment variables. Article Also, set xim to fcitx. But obviously this file is not a script. Don't worry.
There is an xinput. Sh in the/etc/X11/xinit/xinitrc. d/directory, which is responsible for initializing the local language input environment, such as China-Simplified Chinese, which will
Read the zh_cn file in the/etc/X11/xinit/xinput. d/directory and generate corresponding environment variables.

This makes it easy to solve the problem: create a file fcitx in the/etc/X11/xinit/xinput. d/directory (you can create one without this directory). The file content is:

Xim = fcitx

Xim_program = fcitx

Gnome-im-settings-daemon>/dev/null

Create a link to the file in the directory:

Ln-s fcitx zh_cn

Ln-s fcitx default

Now, start X and find that there is an input method box waiting for you after logon.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.