http://sheng.iteye.com/blog/716921
Today, I restarted a Linux system, want to enter Chinese, but found that Chinese input method can not open, it should be SCIM did not start, so
# scim-d
Started, but found that the error is as follows: Linux information code [Root@sheng ~]# scim-d Smart Common Input method 1.4.4 launching a SCIM process with X11. .. Loading Socket Config Module ... Creating backend ... Loading x11 frontend Module ... Failed to load X11 frontend module. Failed to launch SCIM. [Root@sheng ~]#
It's natural to surf the internet to search for "Failed to load X11 frontend module." And found that many people encountered this problem, but did not find an effective solution. Use
# Ps-ef | grep SCIM
Looking at it, we found four SCIM related processes running: Linux Information code [root@sheng ~]# ps -ef | grep scim ROOT      4706     1  0 13:59 ? 00:00:00 /usr/lib/scim-1.0/scim-launcher -d -c simple -e all -f socket --no-stay root 4710 1 0 13:59 ? 00:00:00 /usr/lib/scim-1.0/scim-helper-manager root 4711 1 0 13:59 ? 00:00:01 /usr/lib/scim-1.0/scim-panel-gtk --display :0.0 -c socket -d --no-stay root 4713 1 0&nBsp;13:59 ? 00:00:00 /usr/lib/scim-1.0/scim-launcher -d -c socket -e socket -f x11 root 4779 1 0 14:01 ? 00:00:00 scim-bridge root 5349 5275 0 14:10 pts/2 00:00:00 grep scim
So kill all four of these processes and restart Scim:linux Information code [root@sheng ~]# scim -d Smart common Input Method 1.4.4 Launching a scim daemon with Socket FrontEnd... loading simple config module ... creating backend ... reading pinyin phrase lib failed loading socket frontend module ... starting scim as daemon ... launching a scim process with x11... Loading socket Config module ... creating backend ... loading x11 frontend module ... gtk panel of scim 1.4.4 starting scim as daemon ... scim has been successfully Launched. &nbSp [root@sheng ~]#
Start Normal, the original start is not started because SCIM has been started, only reported that wrong. But why can't I get the input method? Open SCIM Configuration Interface A look, originally I in order to use on my WinXP on the xserver on the SCIM, to avoid the shortcut to open the Input method and WinXP shortcut conflict, the start of the accelerator changed to "Shift+ctrl+z", no wonder can not get the input method.
Leave a mark here, lest the next time you fall on this pit.