[转]SCIM输入启动遭遇“Failed to load x11 FrontEnd module. ”错误
2012-12-27 02:23
1096 查看
今天把我的一个Linux系统重启了一下,想输入中文,却发现中文输入法打不开,应该是SCIM没启动,于是
# scim -d
启动之,却发现报错如下:
Linux信息代码
[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 ~]#
很自然地上网去搜一下“Failed to load x11 FrontEnd module.”,发现有很多人遇到这个问题,但没找到有效的解决办法。用
# ps -ef | grep scim
看了一下,发现有四个scim相关的进程在运行:
Linux信息代码
[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 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
于是把这四个进程全部杀掉,然后再重启scim:
Linux信息代码
[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.
[root@sheng ~]#
启动正常了,原来刚开始启动不了是因为SCIM已经启动了,才报那个错。可是为什么无法调出输入法呢?打开SCIM配置界面一看,原来我为了在我的WinXP上的XServer上使用SCIM时,避免打开输入法的快捷方式与WinXP的的快捷方式冲突,把启动快捷键改成了“Shift+Ctrl+Z”,难怪无法调出输入法。
在此留个记号,免得下次再在这个坑上摔跟斗。
===================================================================================
xming 中使用scim
原來遵照scim manual中的說明就可辦到!
把以下的設定寫進.bashrc:
XMODIFIERS="@im=SCIM"
export XMODIFIERS
GTK_IM_MODULE="xim"
export GTK_IM_MODULE
scim -d
# scim -d
启动之,却发现报错如下:
Linux信息代码
[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 ~]#
[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 ~]#
很自然地上网去搜一下“Failed to load x11 FrontEnd module.”,发现有很多人遇到这个问题,但没找到有效的解决办法。用
# ps -ef | grep scim
看了一下,发现有四个scim相关的进程在运行:
Linux信息代码
[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 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
[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 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
于是把这四个进程全部杀掉,然后再重启scim:
Linux信息代码
[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.
[root@sheng ~]#
[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. [root@sheng ~]#
启动正常了,原来刚开始启动不了是因为SCIM已经启动了,才报那个错。可是为什么无法调出输入法呢?打开SCIM配置界面一看,原来我为了在我的WinXP上的XServer上使用SCIM时,避免打开输入法的快捷方式与WinXP的的快捷方式冲突,把启动快捷键改成了“Shift+Ctrl+Z”,难怪无法调出输入法。
在此留个记号,免得下次再在这个坑上摔跟斗。
===================================================================================
xming 中使用scim
原來遵照scim manual中的說明就可辦到!
把以下的設定寫進.bashrc:
XMODIFIERS="@im=SCIM"
export XMODIFIERS
GTK_IM_MODULE="xim"
export GTK_IM_MODULE
scim -d
相关文章推荐
- SCIM输入启动遭遇“Failed to load x11 FrontEnd module. ”错误
- 当在终端输入vmware-toolbox,出现错误,迷失的 "libgnomebreakpad.so" ==Failed to load module "libgnomebreakpad.so"
- 启动 Eclipse 弹出“Failed to load the JNI shared library jvm.dll”错误的解决方法!
- JBoss GA启动时Failed to load profile: Summary of incomplete deployments 错误
- ubuntu 15.1 安装steam后不能启动failed to load driver: nouveau的错误
- 启动 Eclipse 弹出“Failed to load the JNI shared library jvm.dll”错误的解决方法!
- 启动 Eclipse 弹出“Failed to load the JNI shared library jvm.dll”错误的解决方法
- 启动 Eclipse 弹出“Failed to load the JNI shared library jvm.dll”错误的解决方法!
- 启动 Eclipse 弹出“Failed to load the JNI shared library jvm.dll”错误的解决方法!
- 启动 Eclipse 弹出“Failed to load the JNI shared library jvm.dll”错误的解决方法!
- 启动 Eclipse 弹出“Failed to load the JNI shared library jvm.dll”错误的解决方法!
- 在Suse Linux 11 SP4中启动eclipse时的Failed to load module "pk-gtk-module"异常
- tomcat启动错误提示Failed to destroy end point associated with ProtocolHandler
- 启动 Eclipse提示“Failed to load the JNI shared library jvm.dll”错误的解决方法!
- 启动 Eclipse 弹出“Failed to load the JNI shared library jvm.dll”错误的解决方案
- 启动 Eclipse 弹出“Failed to load the JNI shared library jvm.dll”错误的解决方法!
- 启动 Eclipse 弹出“Failed to load the JNI shared library jvm.dll”错误的解决方法!
- 启动Eclipse 弹出“Failed to load the JNI shared library”错误的解决方法
- 启动 Eclipse 弹出“Failed to load the JNI shared library jvm.dll”错误的解决方法!
- 启动 Eclipse 弹出“Failed to load the JNI shared library jvm.dll”错误的解决方法!