SCIM輸入啟動遭遇“Failed to load x11 FrontEnd module. ”錯誤

來源:互聯網
上載者:User

http://sheng.iteye.com/blog/716921

今天把我的一個Linux系統重啟了一下,想輸入中文,卻發現中文IME打不開,應該是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已經啟動了,才報那個錯。可是為什麼無法調出IME呢。開啟SCIM配置介面一看,原來我為了在我的WinXP上的XServer上使用SCIM時,避免開啟IME的捷徑與WinXP的的捷徑衝突,把啟動快速鍵改成了“Shift+Ctrl+Z”,難怪無法調出IME。

 

在此留個記號,免得下次再在這個坑上摔跟鬥。

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.