# Yuminstalllibpk-gtk-module.so # yuminstalllibcanberra-gtk-module.so # yuminstalllibgnomebreakpad. so # yuminstallim-ibus.so today I restarted a Linux system, want to enter Chinese, but found that the Chinese input method cannot open, it should be SCIM not started, so # scim-d started, but sent
# Yum install libpk-gtk-module.so
# Yum install libcanberra-gtk-module.so
# Yum install libgnomebreakpad. so
# Yum install im-ibus.so
I restarted one of my Linux systems today and wanted to enter Chinese characters, but I found that the Chinese input method could not be opened. It should be because SCIM was not started, so
# Scim-d
When started, the following error is reported:
Linux Information Code
- [Root @ sheng ~] # Scim-d
- Smart Common Input Method1.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 ~] #
[Root @ sheng ~] # Scim-dSmart Common Input Method 1.4.4Launching 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 ~] #
Naturally, I searched "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
After reading this, we found that four scim-related processes are running:
Linux Information Code
- [Root @ sheng ~] # Ps-ef | grep scim
- Root4706 1 0 13 : 59 ? 00 : 00 : 00 /Usr/lib/scim- 1.0 /Scim-launcher-d-c simple-e all-f socket -- no-stay
- Root4710 1 0 13 : 59 ? 00 : 00 : 00 /Usr/lib/scim- 1.0 /Scim-helper-manager
- Root4711 1 0 13 : 59 ? 00 : 00 : 01 /Usr/lib/scim- 1.0 /Scim-panel-gtk -- display: 0.0 -C socket-d -- no-stay
- Root4713 1 0 13 : 59 ? 00 : 00 : 00 /Usr/lib/scim- 1.0 /Scim-launcher-d-c socket-e socket-f x11
- Root4779 1 0 14 : 01 ? 00 : 00 : 00 Scim-bridge
- Root5349 5275 0 14 : 10 Pts/ 2 00 : 00 : 00 Grep scim
[Root @ sheng ~] # Ps-ef | grep scimroot 4706 1 0 13:59? 00:00:00/usr/lib/scim-1.0/scim-launcher-d-c simple-e all-f socket -- no-stayroot 4710 1 0 13:59? 00:00:00/usr/lib/scim-1.0/scim-helper-managerroot 4711 1 0 13:59? 00:00:01/usr/lib/scim-1.0/scim-panel-gtk -- display: 0.0-c socket-d -- no-stayroot 4713 1 0? 00:00:00/usr/lib/scim-1.0/scim-launcher-d-c socket-e socket-f x11root 4779 1 0 14:01? 00:00:00 scim-bridgeroot 5349 5275 0 00:00:00 pts/2 grep scim
So we killed all the four processes and then restarted scim:
Linux Information Code
- [Root @ sheng ~] # Scim-d
- Smart Common Input Method1.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 SCIM1.4 . 4
-
- Starting SCIM as daemon...
- SCIM has been successfully launched.
- [Root @ sheng ~] #
[Root @ sheng ~] # Scim-dSmart Common Input Method 1.4.4Launching a SCIM daemon with Socket FrontEnd... loading simple Config module... creating backend... reading pinyin phrase lib failedLoading 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.4Starting SCIM as daemon... SCIM has been successfully launched. [root @ sheng ~] #
Startup is normal. The error was reported only when SCIM was started. But why cannot I call up the input method? Open the SCIM configuration interface. It turns out that when I use SCIM on XServer on WinXP, the shortcut for enabling the input method does not conflict with the shortcut of WinXP, change the start shortcut key to "Shift + Ctrl + Z". No wonder the input method cannot be called up.