Здравствуйте!
Есть SentOs 6.3 на почтовом сервере.
Автоматом грузится графическая среда GNome.
Поставил VNC, все работало довольно не плохо 2 недели.
В воскресенье заходил из дома - сначала через RDP на Windows sever, от туда через RDP на свой комп,
от него на сервер SentOs по VNC.
В понедельник утром стало происходить следущее:
Как только система переходит в граф. режим - экран становится черным, изображения нет,
не реагирует на Alt+Ctrl+ (Fn, BackSpace) и вообще ни на что (например NumLock). Возможно зайти только по SSH.
При этом сам сервер почты работает (собственно почему ему не работать... :-) )
Я так понимаю, что слетели настройки экрана или что-то в этом роде,
как исправить положение или как вернуть к настройкам по умолчанию?
Спасибо.
пропал вывод на монитор
Покажи /var/log/Xorg.0.log
Выкладываю.... Ошибок вроде нету, я уже смотрел.... Впрочем может чего не заметил...
[ 345.949]
X.Org X Server 1.13.0
Release Date: 2012-09-05
[ 345.950] X Protocol Version 11, Revision 0
[ 345.950] Build Operating System: c6b7 2.6.32-220.el6.x86_64
[ 345.950] Current Operating System: Linux srv3.local 2.6.32-279.14.1.el6.x86_64 #1 SMP Tue Nov 6 23:43:09 UTC 2012 x86_64
[ 345.951] Kernel command line: ro root=/dev/mapper/vg_srv3-lv_root LANG=ru_RU.UTF-8 nomodeset rd_NO_LUKS rd_LVM_LV=vg_srv3/lv_swap rd_NO_MD rd_LVM_LV=vg_srv3/lv_root crashkernel=129M@0M KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet
[ 345.952] Build Date: 22 February 2013 11:30:37AM
[ 345.952] Build ID: xorg-x11-server 1.13.0-11.el6.centos
[ 345.952] Current version of pixman: 0.26.2
[ 345.953] Before reporting problems, check http://wiki.centos.org/Documentation
to make sure that you have the latest version.
[ 345.953] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 345.955] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Mar 25 19:59:17 2013
[ 345.960] (==) Using config file: "/etc/X11/xorg.conf"
[ 345.965] (==) No Layout section. Using the first Screen section.
[ 345.965] (==) No screen section available. Using defaults.
[ 345.965] (**) |-->Screen "Default Screen Section" (0)
[ 345.965] (**) | |-->Monitor "<default monitor>"
[ 345.966] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[ 345.966] (**) | |-->Device "Videocard0"
[ 345.966] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 345.966] (==) Automatically adding devices
[ 345.966] (==) Automatically enabling devices
[ 345.966] (==) Not automatically adding GPU devices
[ 345.967] (==) FontPath set to:
catalogue:/etc/X11/fontpath.d,
built-ins
[ 345.967] (==) ModulePath set to "/usr/lib64/xorg/modules"
[ 345.967] (II) The server relies on HAL to provide the list of input devices.
If no devices become available, reconfigure HAL or disable AutoAddDevices.
[ 345.967] (II) Loader magic: 0x810020
[ 345.967] (II) Module ABI versions:
[ 345.967] X.Org ANSI C Emulation: 0.4
[ 345.967] X.Org Video Driver: 13.1
[ 345.967] X.Org XInput driver : 18.0
[ 345.967] X.Org Server Extension : 7.0
[ 345.969] (--) PCI:*(0:7:0:0) 102b:0530:1014:0369 rev 0, Mem @ 0x96000000/16777216, 0x97800000/16384, 0x97000000/8388608, BIOS @ 0x????????/131072
[ 345.970] Initializing built-in extension Generic Event Extension
[ 345.970] Initializing built-in extension SHAPE
[ 345.970] Initializing built-in extension MIT-SHM
[ 345.970] Initializing built-in extension XInputExtension
[ 345.971] Initializing built-in extension XTEST
[ 345.971] Initializing built-in extension BIG-REQUESTS
[ 345.971] Initializing built-in extension SYNC
[ 345.971] Initializing built-in extension XKEYBOARD
[ 345.972] Initializing built-in extension XC-MISC
[ 345.972] Initializing built-in extension XINERAMA
[ 345.972] Initializing built-in extension XFIXES
[ 345.972] Initializing built-in extension RENDER
[ 345.972] Initializing built-in extension RANDR
[ 345.973] Initializing built-in extension COMPOSITE
[ 345.973] Initializing built-in extension DAMAGE
[ 345.973] Initializing built-in extension MIT-SCREEN-SAVER
[ 345.973] Initializing built-in extension DOUBLE-BUFFER
[ 345.974] Initializing built-in extension RECORD
[ 345.974] Initializing built-in extension DPMS
[ 345.974] Initializing built-in extension X-Resource
[ 345.974] Initializing built-in extension XVideo
[ 345.974] Initializing built-in extension XVideo-MotionCompensation
[ 345.974] Initializing built-in extension SELinux
[ 345.975] Initializing built-in extension XFree86-VidModeExtension
[ 345.975] Initializing built-in extension XFree86-DGA
[ 345.975] Initializing built-in extension XFree86-DRI
[ 345.975] Initializing built-in extension DRI2
[ 345.975] (II) LoadModule: "glx"
[ 345.982] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[ 345.994] (II) Module glx: vendor="X.Org Foundation"
[ 345.994] compiled for 1.13.0, module version = 1.0.0
[ 345.994] ABI class: X.Org Server Extension, version 7.0
[ 345.994] (==) AIGLX enabled
[ 345.994] Loading extension GLX
[ 345.994] (II) LoadModule: "vesa"
[ 345.994] (II) Loading /usr/lib64/xorg/modules/drivers/vesa_drv.so
[ 345.996] (II) Module vesa: vendor="X.Org Foundation"
[ 345.996] compiled for 1.13.0, module version = 2.3.2
[ 345.996] Module class: X.Org Video Driver
[ 345.996] ABI class: X.Org Video Driver, version 13.1
[ 345.996] (II) VESA: driver for VESA chipsets: vesa
[ 345.996] (--) using VT number 7
[ 346.008] (II) Loading sub module "vbe"
[ 346.008] (II) LoadModule: "vbe"
[ 346.008] (II) Loading /usr/lib64/xorg/modules/libvbe.so
[ 346.009] (II) Module vbe: vendor="X.Org Foundation"
[ 346.009] compiled for 1.13.0, module version = 1.1.0
[ 346.009] ABI class: X.Org Video Driver, version 13.1
[ 346.009] (II) Loading sub module "int10"
[ 346.009] (II) LoadModule: "int10"
[ 346.009] (II) Loading /usr/lib64/xorg/modules/libint10.so
[ 346.021] (II) Module int10: vendor="X.Org Foundation"
[ 346.022] compiled for 1.13.0, module version = 1.0.0
[ 346.022] ABI class: X.Org Video Driver, version 13.1
[ 346.022] (II) VESA(0): initializing int10
Спасибо за содействие, Vascom.
Очень хотелось бы разобраться....
При соединении через VNC он ругался на невозможность отпределить Display и Work_Area, но тем не менее запускался...
Насколько вижу видео иксов не запустилось.
ну вот, я же говорю, что наверняка что-то не заметил....
спасибо за содействие, karl_muenhgausen,
т.е. оно просто повисло и все, да ?
и что по этому поводу можно сделать ?
Для начала покажите xorg.0.log.old и xorg.conf
Да, для таких простыней тут есть тег spoiler
Потом я бы попробовал загрузиться без иксов, стартануть их руками и посмотреть что скажет.
Удаленно? Тогда ssh -X должна работать. Иксы стартуют, насколько я вижу. ИМХО, дело не в них.
Последняя загрузка происходила именно без X автомате, я тормознул его runlevel'ом и в ручную набрал startx.
файлы сейчас загружу... Извините, что сразу не использовал spoiler...
тормознул его runlevel'ом и в ручную набрал startx.
И что они ответили?
так.... перезагрузился, стало лучше, теперь есть явная ошибка загрузки X-ов:
[ 91.359] (==) Using config file: "/etc/X11/xorg.conf"
[ 91.365] Data incomplete in file /etc/X11/xorg.conf
Undefined Screen "Screen0" referenced by ServerLayout "Default Layout".
[ 91.365] (EE) Problem parsing the config file
[ 91.365] (EE) Error parsing the config file
[ 91.366]
Fatal server error:
[ 91.366] no screens found
[ 91.366] (EE)
[ 91.367] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 91.368] (EE)
[ 91.370] Server terminated with error (1). Closing log file.
Xorg.0.log
Показать
[ 91.350]
X.Org X Server 1.13.0
Release Date: 2012-09-05
[ 91.351] X Protocol Version 11, Revision 0
[ 91.351] Build Operating System: c6b7 2.6.32-220.el6.x86_64
[ 91.351] Current Operating System: Linux srv3.local 2.6.32-279.14.1.el6.x86_64 #1 SMP Tue Nov 6 23:43:09 UTC 2012 x86_64
[ 91.352] Kernel command line: ro root=/dev/mapper/vg_srv3-lv_root LANG=ru_RU.UTF-8 nomodeset rd_NO_LUKS rd_LVM_LV=vg_srv3/lv_swap rd_NO_MD rd_LVM_LV=vg_srv3/lv_root crashkernel=129M@0M KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet
[ 91.352] Build Date: 22 February 2013 11:30:37AM
[ 91.352] Build ID: xorg-x11-server 1.13.0-11.el6.centos
[ 91.352] Current version of pixman: 0.26.2
[ 91.353] Before reporting problems, check http://wiki.centos.org/Documentation
to make sure that you have the latest version.
[ 91.353] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 91.355] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Mar 26 14:01:01 2013
[ 91.359] (==) Using config file: "/etc/X11/xorg.conf"
[ 91.365] Data incomplete in file /etc/X11/xorg.conf
Undefined Screen "Screen0" referenced by ServerLayout "Default Layout".
[ 91.365] (EE) Problem parsing the config file
[ 91.365] (EE) Error parsing the config file
[ 91.366]
Fatal server error:
[ 91.366] no screens found
[ 91.366] (EE)
Please consult the CentOS support
at http://wiki.centos.org/Documentation
for help.
[ 91.367] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 91.368] (EE)
[ 91.370] Server terminated with error (1). Closing log file.
Самому странно, но xorg.conf у меня почти пустой...Видимо надо заполнить... я предполагал,
что он заполнится атоматом при установке X-ов....
Показать
Identifier "Videocard0"
Driver "vesa"
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Спасибо за участие и Yars!
наверное теперь xorg.0.log.old не так важен, но вот и он:
Показать
X.Org X Server 1.13.0
Release Date: 2012-09-05
[ 345.950] X Protocol Version 11, Revision 0
[ 345.950] Build Operating System: c6b7 2.6.32-220.el6.x86_64
[ 345.950] Current Operating System: Linux srv3.local 2.6.32-279.14.1.el6.x86_64 #1 SMP Tue Nov 6 23:43:09 UTC 2012 x86_64
[ 345.951] Kernel command line: ro root=/dev/mapper/vg_srv3-lv_root LANG=ru_RU.UTF-8 nomodeset rd_NO_LUKS rd_LVM_LV=vg_srv3/lv_swap rd_NO_MD rd_LVM_LV=vg_srv3/lv_root crashkernel=129M@0M KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet
[ 345.952] Build Date: 22 February 2013 11:30:37AM
[ 345.952] Build ID: xorg-x11-server 1.13.0-11.el6.centos
[ 345.952] Current version of pixman: 0.26.2
[ 345.953] Before reporting problems, check http://wiki.centos.org/Documentation
to make sure that you have the latest version.
[ 345.953] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 345.955] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Mar 25 19:59:17 2013
[ 345.960] (==) Using config file: "/etc/X11/xorg.conf"
[ 345.965] (==) No Layout section. Using the first Screen section.
[ 345.965] (==) No screen section available. Using defaults.
[ 345.965] (**) |-->Screen "Default Screen Section" (0)
[ 345.965] (**) | |-->Monitor "<default monitor>"
[ 345.966] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[ 345.966] (**) | |-->Device "Videocard0"
[ 345.966] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 345.966] (==) Automatically adding devices
[ 345.966] (==) Automatically enabling devices
[ 345.966] (==) Not automatically adding GPU devices
[ 345.967] (==) FontPath set to:
catalogue:/etc/X11/fontpath.d,
built-ins
[ 345.967] (==) ModulePath set to "/usr/lib64/xorg/modules"
[ 345.967] (II) The server relies on HAL to provide the list of input devices.
If no devices become available, reconfigure HAL or disable AutoAddDevices.
[ 345.967] (II) Loader magic: 0x810020
[ 345.967] (II) Module ABI versions:
[ 345.967] X.Org ANSI C Emulation: 0.4
[ 345.967] X.Org Video Driver: 13.1
[ 345.967] X.Org XInput driver : 18.0
[ 345.967] X.Org Server Extension : 7.0
[ 345.969] (--) PCI:*(0:7:0:0) 102b:0530:1014:0369 rev 0, Mem @ 0x96000000/16777216, 0x97800000/16384, 0x97000000/8388608, BIOS @ 0x????????/131072
[ 345.970] Initializing built-in extension Generic Event Extension
[ 345.970] Initializing built-in extension SHAPE
[ 345.970] Initializing built-in extension MIT-SHM
[ 345.970] Initializing built-in extension XInputExtension
[ 345.971] Initializing built-in extension XTEST
[ 345.971] Initializing built-in extension BIG-REQUESTS
[ 345.971] Initializing built-in extension SYNC
[ 345.971] Initializing built-in extension XKEYBOARD
[ 345.972] Initializing built-in extension XC-MISC
[ 345.972] Initializing built-in extension XINERAMA
[ 345.972] Initializing built-in extension XFIXES
[ 345.972] Initializing built-in extension RENDER
[ 345.972] Initializing built-in extension RANDR
[ 345.973] Initializing built-in extension COMPOSITE
[ 345.973] Initializing built-in extension DAMAGE
[ 345.973] Initializing built-in extension MIT-SCREEN-SAVER
[ 345.973] Initializing built-in extension DOUBLE-BUFFER
[ 345.974] Initializing built-in extension RECORD
[ 345.974] Initializing built-in extension DPMS
[ 345.974] Initializing built-in extension X-Resource
[ 345.974] Initializing built-in extension XVideo
[ 345.974] Initializing built-in extension XVideo-MotionCompensation
[ 345.974] Initializing built-in extension SELinux
[ 345.975] Initializing built-in extension XFree86-VidModeExtension
[ 345.975] Initializing built-in extension XFree86-DGA
[ 345.975] Initializing built-in extension XFree86-DRI
[ 345.975] Initializing built-in extension DRI2
[ 345.975] (II) LoadModule: "glx"
[ 345.982] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[ 345.994] (II) Module glx: vendor="X.Org Foundation"
[ 345.994] compiled for 1.13.0, module version = 1.0.0
[ 345.994] ABI class: X.Org Server Extension, version 7.0
[ 345.994] (==) AIGLX enabled
[ 345.994] Loading extension GLX
[ 345.994] (II) LoadModule: "vesa"
[ 345.994] (II) Loading /usr/lib64/xorg/modules/drivers/vesa_drv.so
[ 345.996] (II) Module vesa: vendor="X.Org Foundation"
[ 345.996] compiled for 1.13.0, module version = 2.3.2
[ 345.996] Module class: X.Org Video Driver
[ 345.996] ABI class: X.Org Video Driver, version 13.1
[ 345.996] (II) VESA: driver for VESA chipsets: vesa
[ 345.996] (--) using VT number 7
[ 346.008] (II) Loading sub module "vbe"
[ 346.008] (II) LoadModule: "vbe"
[ 346.008] (II) Loading /usr/lib64/xorg/modules/libvbe.so
[ 346.009] (II) Module vbe: vendor="X.Org Foundation"
[ 346.009] compiled for 1.13.0, module version = 1.1.0
[ 346.009] ABI class: X.Org Video Driver, version 13.1
[ 346.009] (II) Loading sub module "int10"
[ 346.009] (II) LoadModule: "int10"
[ 346.009] (II) Loading /usr/lib64/xorg/modules/libint10.so
[ 346.021] (II) Module int10: vendor="X.Org Foundation"
[ 346.022] compiled for 1.13.0, module version = 1.0.0
[ 346.022] ABI class: X.Org Video Driver, version 13.1
[ 346.022] (II) VESA(0): initializing int10
Ну, у меня конфиг иксов вообще собой представляет три файла:
Показать
yars@megacomp:~$ ls -l /etc/X11/xorg.conf.d
итого 12
-rw-r--r-- 1 root root 1099 авг. 23 2012 10-evdev.conf
-rw-r--r-- 1 root root 799 марта 4 15:30 10-nvidia.conf
-rw-r--r-- 1 root root 293 февр. 21 14:11 90-keyboard-layout.conf
yars@megacomp:~$ cat /etc/X11/xorg.conf.d/10-evdev.conf
#
# Catch-all evdev loader for udev-based systems
# We don't simply match on any device since that also adds accelerometers
# and other devices that we don't really want to use. The list below
# matches everything but joysticks.
Section "InputClass"
Identifier "evdev pointer catchall"
MatchIsPointer "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection
Section "InputClass"
Identifier "evdev keyboard catchall"
MatchIsKeyboard "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection
Section "InputClass"
Identifier "evdev touchpad catchall"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection
Section "InputClass"
Identifier "evdev tablet catchall"
MatchIsTablet "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection
Section "InputClass"
Identifier "evdev touchscreen catchall"
MatchIsTouchscreen "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection
yars@megacomp:~$ cat /etc/X11/xorg.conf.d/10-nvidia.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder63) Thu May 31 12:36:44 PDT 2012
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 30.0 - 110.0
VertRefresh 50.0 - 150.0
Option "DPMS"
Option "DynamicTwinView" "False"
Option "OnDemandVBlankInterrupts" "True"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection
yars@megacomp:~$ cat /etc/X11/xorg.conf.d/90-keyboard-layout.conf
Section "InputClass"
Identifier "keyboard-all"
MatchIsKeyboard "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
Option "XkbLayout" "us,ru"
#Option "XkbVariant" ",winkeys"
Option "XkbOptions" "terminate:ctrl_alt_bksp,grp:ctrl_shift_toggle,grp_led:scroll,compose:rwin"
EndSection
yars@megacomp:~$
P.S. У вас иксы автоматически настраиваются:
[ 345.960] (==) Using config file: "/etc/X11/xorg.conf"
[ 345.965] (==) No Layout section. Using the first Screen section.
[ 345.965] (==) No screen section available. Using defaults.
[ 345.965] (**) |-->Screen "Default Screen Section" (0)
[ 345.965] (**) | |-->Monitor "<default monitor>"
[ 345.966] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[ 345.966] (**) | |-->Device "Videocard0"
[ 345.966] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.я так понимаю, что что-то в этой настроке сбилось, особенно судя по xorg.conf, запустил Xorg -cinfigure - выдает Number of created creens does not mach number of deected devices... Может где старая версия xorg.conf могла сохраниться ? или его пересоздать можно ?
Xorg -configure собственно и должен его создавать
А зачем он вообще нужен-то?
Перемести куда-нибудь конфиг и запусти без него.
Я про /etc/X11/xorg.conf
ну да... все верно, вот я и запустил Xorg -configure, когфиг переметил, а он все равно выдает ошибку:
Number of created creens does not mach number of deected devices...
Попробуй удалить этот конфиг.
Логично. Монитор-то не указан. Действительно, а если удалить/переименовать?
завис опять.... Можно сделать Xorg -configure из удаленной ssh сессии ?