Xorg can't start
Hi Guys,
we have a CentOsS 5.5 server kernel 2.6.18-194.el5 #1 SMP. All of the sudden we can't see the GUI, I forced the server to restart several times but it seems like Xorg is trying to start but can't, I can access the server through SSH, when i type TOP command I see that Xorg appear and disappear, in the screen I see the mouse for a while then the command line, It seems like xorg is struggling to start but i don't know how to help him starting :(, please give me some hints!!! Thanks a lot for any help! |
To give you hints, we need more info. What graphics hardware? Which drivers are used? Your /var/log/Xorg.0.log?
|
1 Attachment(s)
Quote:
the hardware is : VGA compatible controller: ATI Technologies Inc ES1000 (rev 02) for the driver I think it's RADEON, as when i started Xorg I saw RADEON setting up the config. the log is attached.( I did kill Xorg and started it gain, so you may find this in there). Thank you once more! |
There's no indication of anything failing in that log file. Perhaps your window manager or desktop environment is exiting immediately. Which one are you trying to use? What happens if you try
Code:
xinit /full/path/to/xterm Adam |
It seems to me that after initializing the hardware the display constantly changes from virtual terminal to X and back again.
This is constantly repeated in your logs, bold text from me: Quote:
|
Code:
RADEONRestoreMemMapRegisters() : |
I really appreciate guys your answers, i did try the command Adam suggested and i got this:
Fatal server error: Server is already active for display 0 If this server is no longer running, remove /tmp/.X0-lock and start again. I did delete this before but issue was not fixed!!! So i hope somebody will have a path to diagnose more the issue! Thanks! |
Hi Guys,
I tried killing Xorg but i couldn't and when i see the processes running, it says: root 16615 11.8 0.0 88076 5304 tty8 Ss+ 12:55 0:00 /usr/bin/Xorg :1 -br -audit 0 -auth /var/gdm/:1.Xauth -nolisten tcp vt8 i hope this can help you help me :)! |
I have 2 ideas.
A) Since according to the Xorg.0.log file, direct rendering isn't used, add "nomodeset" to your kernel boot option. (You can enter it to the kernel line when booting up, if it helps, add it to your grub config file /boot/grub/menu.lst or /boot/grub/grub.conf) I have found that this helps with video problems if you use NVidia or ATI graphics. B) Quote:
|
His kernel and Xorg are too old for modesetting to even come into play. "nomodeset" won't make a difference. I did notice that Xorg is running as server :1, which suggests that server :0 was running at some point.
To the OP, do you have a display manager (xdm/gdm/kdm) starting up when you reboot? Adam |
Hi Guys,
Thanks for your suggestions! to jschiwal: I did try nomodeset boot option (I did put it in the files you said like that:kernel /vmlinuz-2.6.18-194.el5 ro nomodeset root=/dev/VolGroup00/LogVol00 rhgb quiet crashkernel=128M@16M; I guess this how it should be, i've never have to do that:) ) however i didn't change anything as adamk75 said, still showing mouse then terminal just switching in between there. to adamk75: yes I do have a gdm, I checked and it says already running. |
Before you do any further testing, I'd highly recommend disabling gdm and rebooting to make sure that X is not starting up by default. Then try the command I gave above "xinit /full/path/to/xterm"
Adam |
If you mean by disabling, prevent gdm from running at startup: I tried disabling gdm using ntsysv and chkconfig but i couldn't.
but if you mean just using gdm-stop (which i don't think what you mean), I did try it but no success, I even tried to kill all gdm processes but i throws this : root 9037 0.0 0.0 255356 4132 ? Sl 06:23 0:00 /usr/libexec/gdm-rh-security-token-helper root 9423 0.0 0.0 255356 4124 ? Sl 06:26 0:00 /usr/libexec/gdm-rh-security-token-helper root 10403 0.4 0.0 167600 2592 ? Ss 06:32 0:00 /usr/sbin/gdm-binary -nodaemon root 10435 0.0 0.0 167600 1328 ? S 06:32 0:00 /usr/sbin/gdm-binary -nodaemon root 10437 0.2 0.0 255356 4132 ? Sl 06:32 0:00 /usr/libexec/gdm-rh-security-token-helper root 10455 0.0 0.0 3780 380 ? Ss 06:32 0:00 /usr/libexec/gdmopen -l /bin/sh -c /usr/bin/whiptail --yesno 'There already appears to be an X server running on display :0. Should another display number by tried? Answering no will cause GDM to attempt starting the server on :0 again. (You can change consoles by pressing Ctrl-Alt plus a function key, such as Ctrl-Alt-F7 to go to console 7. X servers usually run on consoles 7 and higher.) can you give me a hint how to disable gdm? |
I meant disabling gdm from starting up at all when you boot up your machine. I do not know how to do this on CentOS, frankly, but ntsysv and chkconfig do sound like the correct mechanisms.
Adam |
Quote:
the thing is i tried using ntsysv but i can't see it at all, i cannot even see gnome. iwth chkconfig it says smthing like not applicable or... anybody know how to prevent gdm from starting at boot or a solution to the whole issue? please help? |
All times are GMT -5. The time now is 02:22 PM. |