X 윈도우 문제... 어떻게 해야 할까요?
안녕하세요?
갑자기 X 윈도우가 되지 않아서 엄청 고생을 하고 있습니다.
여러곳에서 찾아보고 노력해봤지만, 도무지 해결할 수가 없네요.
여러분들의 도움을 좀 부탁드립니다.
리눅스 배포판은 페도라 코어5 입니다.
갑자기 X윈도우가 뜨지 않습니다. (그래픽모드로 설정되어있습니다)
그래픽 모드로 처음에 부팅은 정상적으로 되다가,
최종적으로 ID와 패스워드를 넣는 그래픽 화면이 나올때
모니터가 깜박이다가 에러 화면이 뜹니다.
/var/log/Xorg.setup.log 에 있는 에러 메시지는 다음과 같습니다.
xorg.conf 파일의 내용도 함께 덧붙입니다.
----------------------------------------------------------------------------
X Window System Version 7.0.0
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 7.0
Build Operating System:Linux 2.6.9-34.ELsmp i686Red Hat, Inc.
Current Operating System: Linux thjung.trao.re.kr 2.6.17-1.2174_FC5smp #1 SMP Tue Aug 8 16:00:39 EDT 2006 i686
Build Date: 30 June 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: "/dev/null", Time: Sat Aug 19 15:09:32 2006
(++) Using config file: "/tmp/tmpsRil7ixorg.config"
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Type "ONE_LEVEL" has 1 levels, but has 2 symbols
> Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
Could not init font path element unix/:7100, removing from list!
Fatal server error:
could not open default font 'fixed'
------------------------------------------------------------------------------
혹시나 도움이 될까 해서 제 xorg.conf 파일내용도 올립니다.
----------------------------------------------
# XFree86 4 configuration created by pyxf86config
Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, a font server independent of the X server is
# used to render fonts.
FontPath "unix/:7100"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
Load "dri"
EndSection
Section "InputDevice"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
# Or if you just want both to be control, use:
# Option "XkbOptions" "ctrl:nocaps"
#
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
Option "XkbVariant" "intl"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
EndSection
Section "Monitor"
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Samsung SyncMaster 959NF/900NF/909NF/CN199A(P)"
DisplaySize 360 270
### Comment all HorizSync and VertSync values to use DDC:
HorizSync 30.0 - 110.0
VertRefresh 50.0 - 160.0
Option "dpms"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "mga"
VendorName "Videocard vendor"
BoardName "Matrox Graphics, Inc. MGA G550 AGP"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 16
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1600x1200" "1400x1050" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "DRI"
Group 0
Mode 0666
EndSection
-----------------------------------------------------------------------------------------------------
런레벨을 3으로 하여 부팅하면 텍스트모드로 부팅이 잘 됩니다.
하지만 그 상태에서 다시 startx 를 하니 역시나 다음과 같은 에러메시지가 나옵니다
---------------------------------------------
X Protocol Version 11, Revision 0, Release 7.0
Build Operating System:Linux 2.6.9-34.ELsmp i686Red Hat, Inc.
Current Operating System: Linux thjung.trao.re.kr 2.6.17-1.2174_FC5smp #1 SMP Tue Aug 8 16:00:39 EDT 2006 i686
Build Date: 30 June 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: Sat Aug 19 16:01:21 2006
(==) Using config file: "/etc/X11/xorg.conf"
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Type "ONE_LEVEL" has 1 levels, but has 2 symbols
> Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
Could not init font path element unix/:7100, removing from list!
Fatal server error:
could not open default font 'fixed'
XIO: fatal IO error 104 (Connection reset by peer) on X server ":0.0"
after 0 requests (0 known processed) with 0 events remaining.
------------------------------------------------------------------------
이것 때문에 벌써 며칠을 고생하고 있네요.
도와주시면 정말 정말 감사하겠습니다.
저도 xorg관련
저도 xorg관련 패키지만 devel을 가져 쓰다가 그런 적이 있었습니다. xorg관련 패키지를 다지우고 core하고 updates 저장소만 가지고 설치해보세요.
정품 소프트웨어 사용 캠패인
정품 소프트웨어 사용 캠패인
폰트서버
폰트서버에 문제가 생긴거 같네요..
오류메시지를 보면 기본폰트(fixed)를 찾지 못한다는 글과
xorg.conf에 설정되어 있는
Section "Files"
FontPath "unix/:7100"
EndSection
에 문제가 있다고 나온것을 확인하실수 있습니다.
xfs의 설정이나 폰트경로를 한번 점검해보시는게 나을듯 하네요.
음...
답글 주신 두분께 정말 감사드립니다.
그런데 좀더 구체적으로 어떻게 하면 되는지
가르쳐 주시면 정말 고맙겠습니다.
쉽지 않네요...
음...
답글 주신 두분께 정말 감사드립니다.
그런데 좀더 구체적으로 어떻게 하면 되는지
가르쳐 주시면 정말 고맙겠습니다.
쉽지 않네요...
Could not init font path
xfs를 설치하지 않으신 듯.
fixed 글꼴을 찾지 못하면 예전의 X11 어플을 쓰지 못합니다.
그냥 안쓰시려면 "FontPath"를 찾아 주석처리 하시던지,
혹은,
xfs를 설치해보세요. (xorg + xfs 관련된 패키지를 배포판에 맞게 설치하시고, xfs를 구동시킵니다. xfs는 XFS 파일시스템이 아니라 X11 font server를 의미합니다.)
온갖 참된 삶은 만남이다 --Martin Buber
감사합니다.
친절하신 설명 감사드립니다.
일단 주석처리를 하니 정상적으로 X 윈도가 됩니다.
덕분에 갑자기 원인을 알아내었습니다.
제가 이런현상이 나타나기전 mplayer를 rpm으로 설치를 했습니다.
지금 설명을 보고서 설치한 mplayer를 모두 제거했더니
정상적으로 x 윈도우가 되네요.. 감사합니다. ^^
문제는 그럼 mplayer에 있다는 것인데,
제가 mplayer를 설치할 때,
mplayer의 rpm 패키지와
xorg-x11-libs-6.8.2-37.FC4.49.2.1.i386.rpm
을 설치했었는데 이때 아무래도 문제가 생긴것 같습니다.
코어 5를 쓰고 있는데 FC4꺼를 사용해서 그런것일까요?
문제는 해결했는데... mplayer를 쓰고 싶고...
원인은 정확하게 왜 그런지 알 수 없네요...
어쨌든 너무 감사드립니다.
데비안의 경우
데비안의 경우 xfonts-base 패키지의 내용을 찾을 수 없을 경우 비슷한 에러가 나는 것으로 알고 있습니다. 혹시 xfs를 설치하셔도 문제가 생기면 폰트 패키지가 혹시 없어지지 않았나 체크해보세요.
감사합니다.`
정말 덕분에 원인을 찾았습니다.
다만 왜 그런지는 아직 정확하게 모르겠네요 ^^
공부해야겠습니다.
감사합니다
댓글 달기