Xorg 서버 구성 실패-화면이 감지되지 않습니다


11

우분투 12.04 (nvidia 420M GT 카드 사용)의 Xorg 서버에 심각한 문제가 있습니다.

집에서 랩톱의 HDMI 포트에 연결된 외부 모니터를 사용하고 있습니다. 외부 디스플레이가 확장 된 상태로 사용됩니다. 그러나 집을 떠나 예를 들어 갈 때 더 이상 사용하지 않지만 xorg의 구성 파일은 그대로 유지되고 일부 나쁜 일이 발생합니다. 예를 들어-외부 모니터를 분리 한 후 부팅 할 때마다 기본 글꼴이 아니며 평소보다 크며 호환되지 않는 해상도 모드에 대한 오류가있는 일부 창이 나타납니다.

그러나 오늘 추가 모니터없이 정상적으로 부팅을 시도했지만 xorg 서버에 장애가 발생하여 GUI로 부팅 할 수 없습니다. 나는 이것을 받고있다

[   101.830] 
X.Org X Server 1.11.3
Release Date: 2011-12-16
[   101.831] X Protocol Version 11, Revision 0
[   101.831] Build Operating System: Linux 2.6.42-26-generic x86_64 Ubuntu
[   101.831] Current Operating System: Linux ICANSEEYOU 3.2.0-26-generic #41-Ubuntu SMP Thu Jun 14 17:49:24 UTC 2012 x86_64
[   101.831] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.2.0-26-generic root=UUID=1384cee0-6a71-4b83-b0d3-1338db925168 ro recovery nomodeset
[   101.831] Build Date: 16 July 2012  08:06:31PM
[   101.832] xorg-server 2:1.11.4-0ubuntu10.6 (For technical support please see http://www.ubuntu.com/support) 
[   101.832] Current version of pixman: 0.24.4
[   101.832]    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
[   101.832] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   101.834] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Jul 23 09:48:40 2012
[   101.834] (==) Using config file: "/etc/X11/xorg.conf"
[   101.834] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   101.834] Parse error on line 7 of section ServerLayout in file /etc/X11/xorg.conf
    " -reen0" is not a valid keyword in this section.
[   101.835] (EE) Problem parsing the config file
[   101.835] (EE) Error parsing the config file
[   101.835] 
Fatal server error:
[   101.835] no screens found
[   101.836] 
Please consult the The X.Org Foundation support 
     at http://wiki.x.org
 for help. 
[   101.836] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   101.836] 
[   101.836]  ddxSigGiveUp: Closing log
[   101.836] Server terminated with error (1). Closing log file.

또한 화면이 감지되었지만 올바른 구성 파일이없는 오류가 발생했지만 xorg를 기본값으로 (고장 안전 모드에서) 재설정하려고했습니다.

sudo dpkg-reconfigure xserver-xorg

(출력 형식이 없음) 이제이 문제가 있습니다. 솔직히 말하면- failsafe정상적으로 부팅하려고 할 때 모드 에 로그온 하고 우분투 스플래시 이미지를 얻는 동안이 오류가 발생 합니다.

내 구성 파일은 다음과 같습니다 xorg.conf.

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 295.33  (buildd@allspice)  Fri Mar 30 13:37:33 UTC 2012


Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" -1920 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "Files"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"

    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "LGD"
    HorizSync       30.0 - 75.0
    VertRefresh     60.0
    Option         "DPMS"
EndSection

Section "Monitor"

    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "Acer P215H"
    HorizSync       31.0 - 83.0
    VertRefresh     56.0 - 76.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GT 420M"
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GT 420M"
    BusID          "PCI:1:0:0"
    Screen          1
EndSection

Section "Screen"

# Removed Option "TwinView" "0"
# Removed Option "TwinViewXineramaInfoOrder" "DFP-0"
# Removed Option "metamodes" "DFP-0: nvidia-auto-select +0+0"
# Removed Option "TwinView" "1"
# Removed Option "metamodes" "DFP-0: nvidia-auto-select +1920+0, DFP-1: nvidia-auto-select +0+0"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinViewXineramaInfoOrder" "DFP-1"
    Option         "TwinView" "0"
    Option         "metamodes" "nvidia-auto-select +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "metamodes" "DFP-1: nvidia-auto-select +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

그리고 이것은 내 xorg.conf.failsafe

Section "Device"
    Identifier  "Configured Video Device"
    Driver      "vesa"
EndSection

Section "Monitor"
    Identifier  "Configured Monitor"
EndSection

Section "Screen"
    Identifier  "Default Screen"
    Monitor     "Configured Monitor"
    Device      "Configured Video Device"
EndSection

답변:


9

좋아, xserver-xorgwith with를 다시 설치 한 apt-get다음 ~/.config/monitors.xml파일 을 제거하면 모든 것이 정상적으로 작동합니다. :)

(모니터 파일은 외부 디스플레이를 연결 한 후 아티팩트와 같으며 어떻게 든 설정을 저장하고 하나의 디스플레이 모드로 다시 전환 할 때 문제가 발생합니다 http://ubuntuforums.org/showthread.php?t=1917220 )


나는 거의 비슷한 현상을 경험했으며 몇 시간 동안 알아 냈습니다. + 설치를 제거 xserver-xorg하여 문제를 해결했습니다. 나는 찾지 못했습니다 monitors.xmlmonitors.xml.bk에서 ~/.config/바로 공유. 감사!!
IsaacS

1
12.10으로 업그레이드 한 후 빈 로그인 화면이 나타납니다. xserver-xorg-core가 설치되지 않은 것으로 나타났습니다. 귀하의 답변에 감사드립니다 :-)
pushy

1
나는 매우 비슷한 문제를 보았지만 apt-get remove xserver-xorg그 뒤에 apt-get install xserver-xorg나에게 문제를 해결하지 못했습니다 ... :(
stdcerr
당사 사이트를 사용함과 동시에 당사의 쿠키 정책개인정보 보호정책을 읽고 이해하였음을 인정하는 것으로 간주합니다.
Licensed under cc by-sa 3.0 with attribution required.