请问下,KDE环境下的edgy,装了中文支持后在终端用kate打开文本文件出错

系统字体配置、中文显示和输入法问题
回复
sidus
帖子: 5
注册时间: 2006-10-24 12:52
送出感谢: 0
接收感谢: 0

请问下,KDE环境下的edgy,装了中文支持后在终端用kate打开文本文件出错

#1

帖子 sidus » 2007-01-28 13:22

启动kate时总有设备错误,可装中文支持之前没有影响,所以也没在意。
可装了中文支持之后,在终端用kate打开文本文件,kate窗口就没相应了
终端里不断报错,过一会弹出个警告说于kluncher通信失败,然后继续没响应。。
是不是和SCIM有什么关系呀??
大家帮忙看看是什么问题,谢谢。。。

错误信息如下
sidus@sidus:~$ sudo kate /etc/fonts/conf.d/50-xfonts-wqy.conf
X Error: BadDevice, invalid or uninitialized input device 168
Major opcode: 145
Minor opcode: 3
Resource id: 0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 168
Major opcode: 145
Minor opcode: 3
Resource id: 0x0
Failed to open device
Link points to "/tmp/ksocket-root"
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

kdeinit: Can't connect to the X Server.
kdeinit: Might not terminate at end of session.
WARNING: please edit ~/.scim/global and change /DefaultConfigModule to kconfig
Loading simple Config module ...
Creating backend ...
Loading socket FrontEnd module ...
Starting SCIM as daemon ...
Link points to "/tmp/kde-root"
GTK Panel of SCIM 1.4.4

Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified


(scim-panel-gtk:4696): Gtk-WARNING **: cannot open display: :0.0
GTK Panel of SCIM 1.4.4

Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified


(scim-panel-gtk:4697): Gtk-WARNING **: cannot open display: :0.0
dGTK Panel of SCIM 1.4.4

Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified


(scim-panel-gtk:4698): Gtk-WARNING **: cannot open display: :0.0
GTK Panel of SCIM 1.4.4

Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified


(scim-panel-gtk:4719): Gtk-WARNING **: cannot open display: :0.0
kate: ERROR: : couldn't create slave : 无法和 klauncher 通信
GTK Panel of SCIM 1.4.4

Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified


(scim-panel-gtk:4720): Gtk-WARNING **: cannot open display: :0.0

sidus@sidus:~$ sudo locale-gen zh_cn
Password:
Error: 'zh_cn' is not a supported language or locale
sidus@sidus:~$ sudo locale-gen zh_CN
Generating locales...
zh_CN.GB2312... done
Generation complete.
sidus@sidus:~$ sudo kate /etc/fonts/conf.d/50-xfonts-wqy.conf
X Error: BadDevice, invalid or uninitialized input device 168
Major opcode: 145
Minor opcode: 3
Resource id: 0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 168
Major opcode: 145
Minor opcode: 3
Resource id: 0x0
Failed to open device
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

kdeinit: Can't connect to the X Server.
kdeinit: Might not terminate at end of session.
WARNING: please edit ~/.scim/global and change /DefaultConfigModule to kconfig
Loading simple Config module ...
Creating backend ...
Loading socket FrontEnd module ...
Starting SCIM as daemon ...
GTK Panel of SCIM 1.4.4

Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified


(scim-panel-gtk:4919): Gtk-WARNING **: cannot open display: :0.0
GTK Panel of SCIM 1.4.4

Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified


(scim-panel-gtk:4920): Gtk-WARNING **: cannot open display: :0.0
GTK Panel of SCIM 1.4.4

Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified


(scim-panel-gtk:4921): Gtk-WARNING **: cannot open display: :0.0
GTK Panel of SCIM 1.4.4

Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified


(scim-panel-gtk:4922): Gtk-WARNING **: cannot open display: :0.0
kate: ERROR: : couldn't create slave : 无法和 klauncher 通信
GTK Panel of SCIM 1.4.4

Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified


(scim-panel-gtk:4923): Gtk-WARNING **: cannot open display: :0.0
GTK Panel of SCIM 1.4.4

Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified


(scim-panel-gtk:4928): Gtk-WARNING **: cannot open display: :0.0
GTK Panel of SCIM 1.4.4

Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified


(scim-panel-gtk:4929): Gtk-WARNING **: cannot open display: :0.0
GTK Panel of SCIM 1.4.4

Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified


(scim-panel-gtk:4930): Gtk-WARNING **: cannot open display: :0.0
kate: Fatal IO error: client killed
QApplication::palette: This function can only be called after the QApplication object has been created
QApplication::palette: This function can only be called after the QApplication object has been created
KCrash: Application 'kate' crashing...
Warning: connect() failed: : Connection refused
KCrash cannot reach kdeinit, launching directly.
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

drkonqi: cannot connect to X server :0.0
头像
super_phoenix
帖子: 156
注册时间: 2007-01-19 18:28
来自: University of Colorado at Boulder
送出感谢: 0
接收感谢: 0
联系:

#2

帖子 super_phoenix » 2007-01-29 23:50

我和你一样的系统,但我现在中文支持还没装得上,请问中文支持怎么搞得啊?

(我现在在用win和你说话)
格物致知
头像
super_phoenix
帖子: 156
注册时间: 2007-01-19 18:28
来自: University of Colorado at Boulder
送出感谢: 0
接收感谢: 0
联系:

#3

帖子 super_phoenix » 2007-01-30 17:50

Now, I have Chinese language support, and I encounter with the problem as you have.
格物致知
考试的烦恼
帖子: 84
注册时间: 2006-11-09 7:53
送出感谢: 0
接收感谢: 0
联系:

#4

帖子 考试的烦恼 » 2007-02-06 18:18

开始的那个错误是因为xorg.conf里面wcom驱动的原因,删掉就可以了,后面的不知道
gegfried
帖子: 482
注册时间: 2006-06-29 17:30
送出感谢: 0
接收感谢: 0

#5

帖子 gegfried » 2007-02-09 12:10

我也有这样的错误,如果是用sudo的权限的话可是在终端输入“kdesu"来解决。
头像
gdzhljw
帖子: 314
注册时间: 2007-05-19 23:18
来自: 广东珠海
送出感谢: 0
接收感谢: 0
联系:

#6

帖子 gdzhljw » 2007-10-14 16:39

我也经常是这种情况!不知道是怎么回事!
回复

回到 “字体美化和中文支持”