|
|
普通用户在Xwindow下与中文似乎有冲突
系统:
LFS-6.1
XORG-6.8.2
FVWM-2.5.14
RXVT-2.7
XMMS-1.2.10
ROX-2.4
FIREFOX-1.0.6
以上软件rox和firefox能很好地显示中文。
FVWM,RXVT,XMMS使用中文都会使X11退出。
具体情况:
LFS和XORG完全按照官方文档安装,安装后仅在/usr/share/fonts/zh_CN/TrueType/目录下拷贝了一些SimSun,SimHei等windows字体,并在/etc/X11/xorg.conf和/etc/fonts/local.conf增加了一行字体路径。fonts.conf文件没有修改,也没有作其它中文化或美化。
FVWM-2.5.14的编译参数只加了一个路径参数。在.fvwm2rc文件中设置中文字体(如:-misc-SimSun-*-*-*-*-*-*-*-*-*-*-*),如果是root用户则能启动X11进入FVWM,如果是普通用户则会退出,进不了FVWM。
而在XMMS的Font设置菜单中选择SimSun字体,不管是root用户还是现普通用户,都会退出X11。
至于RXVT,编译时如果加了参数--enable-gb编译,则启动rxvt时也发生普通用户会退出X11,root用户不会的情况。
希望各位大侠指点指点,或提示一下,在此先谢谢你!。
出错信息用startx 2>&1 | tee error.log捕获,下面是FVWM,RXVT等的出错信息:
正常情况下:startx 2>&1 | tee normal.log
_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/localhost:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
X Window System Version 6.8.2
Release Date: 9 February 2005
X Protocol Version 11, Revision 0, Release 6.8.2
Build Operating System: Linux 2.6.14 i686 [ELF]
Current Operating System: Linux localhost 2.6.14 #1 Thu Mar 9 18:36:34 Local time zone must be set--see zic manua i686
Build Date: 12 February 2006
Before reporting problems, check http://wiki.X.Org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon Mar 13 21:42:11 2006
(==) Using config file: "/etc/X11/xorg.conf"
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list!
[FVWM][FlocaleGetFontSet]: (-*-arial-medium-r-*-*-14-*-*-*-*-*-*-*) Missing font charsets:
GB2312.1980-0
[FVWM][parse_colorset]: <<WARNING>> bad colorset pixmap specifier Translucent
Please set XMODIFIERS...
FvwmButtons: Illegal container option ""
[FvwmButtons][FlocaleGetFontSet]: (-*-arial-medium-r-*-*-14-*-*-*-*-*-*-*) Missing font charsets:
GB2312.1980-0
[FvwmIconMan][FlocaleGetFontSet]: (-*-arial-medium-r-*-*-14-*-*-*-*-*-*-*) Missing font charsets:
GB2312.1980-0
FVWM出错信息:startx 2>&1 | tee fvwmerror.log
(因开始有一大段与正常情况相符,没有给出)
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list!
*** If unresolved symbols were reported above, they might not
*** be the reason for the server aborting.
Fatal server error:
Caught signal 11. Server aborting
Please consult the The X.Org Foundation support
at http://wiki.X.Org
for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.
xinit: connection to X server lost.
waiting for X server to shut down
XMMS出错信息:startx 2>&1 | tee xmmserror.log
(因开始有一大段与正常情况相符,没有给出)
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list!
[FVWM][FlocaleGetFontSet]: (-*-arial-medium-r-*-*-14-*-*-*-*-*-*-*) Missing font charsets:
GB2312.1980-0
FvwmButtons: Illegal container option ""
[FvwmButtons][FlocaleGetFontSet]: (-*-arial-medium-r-*-*-14-*-*-*-*-*-*-*) Missing font charsets:
GB2312.1980-0
rxvt: can't load font "SimSun"
[FvwmIconMan][FlocaleGetFontSet]: (-*-arial-medium-r-*-*-14-*-*-*-*-*-*-*) Missing font charsets:
GB2312.1980-0
*** If unresolved symbols were reported above, they might not
*** be the reason for the server aborting.
Fatal server error:
Caught signal 11. Server aborting
Please consult the The X.Org Foundation support
at http://wiki.X.Org
for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.
X connection to :0.0 broken (explicit kill or server shutdown).
Gdk-ERROR **: X connection to :0.0 broken (explicit kill or server shutdown).
X connection to :0.0 broken (explicit kill or server shutdown).
X connection to :0.0 broken (explicit kill or server shutdown).
xinit: connection to X server lost.
RXVT出错信息:startx 2>&1 | tee rxvterror.log
(因开始有一大段与正常情况相符,没有给出)
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list!
[FVWM][FlocaleGetFontSet]: (-*-arial-medium-r-*-*-14-*-*-*-*-*-*-*) Missing font charsets:
GB2312.1980-0
[FVWM][parse_colorset]: <<WARNING>> bad colorset pixmap specifier Translucent
FvwmButtons: Illegal container option ""
[FvwmButtons][FlocaleGetFontSet]: (-*-arial-medium-r-*-*-14-*-*-*-*-*-*-*) Missing font charsets:
GB2312.1980-0
[FvwmIconMan][FlocaleGetFontSet]: (-*-arial-medium-r-*-*-14-*-*-*-*-*-*-*) Missing font charsets:
GB2312.1980-0
Please set XMODIFIERS...
*** If unresolved symbols were reported above, they might not
*** be the reason for the server aborting.
Fatal server error:
Caught signal 4. Server aborting
Please consult the The X.Org Foundation support
at http://wiki.X.Org
for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.
XIO: fatal IO error 104 (Connection reset by peer) on X server ":0.0"
after 469 requests (460 known processed) with 0 events remaining.
X connection to :0.0 broken (explicit kill or server shutdown).
X connection to :0.0 broken (explicit kill or server shutdown).
xinit: connection to X server lost.
X connection to :0.0 broken (explicit kill or server shutdown). |
|