Sunday, July 1, 2012

The X-server cannot be started on display :0

I installed soalris 9 on sun fire 280 R. after the installation, the machine rebooted , and it was showing the above error. I was able to login in command line mode. I googled , but did not solve the problem. Please guide me on this. As it is project server. 

/bin/svcs -vx 

That will tell you what services are not running and that info may point you toward what is breaking X. On Solaris x86 (which you are not running) the Log file for the X server is /var/log/Xorg.0.log. I haven't worked on a SPARC box in eons and I can't recall if the log file is in the same place or has the same name, I believe it (the name) is different. 

In any case the dmesg command or /var/adm/messages may shed more light on the issue. 

The are many reason X would fail to start, you'll need more information to debug the issue 
Check for the card graphics being seen by OS 

/usr/platform/`uname -i`/sbin/prtdiag -v 
you should see what kind of card you have installed and if it is ok 

if it wasn't seen on os install try reconfiguring on reboot any of these methods #reboot -r or at OK>boot -r of #touch /reconfigure and reboot 
"The X-server cannot be started on display :0" 

Also -- if you are using a local console, kbd mouse - Something to keep an eye open for -- dtlogin will often crap out while starting if it does not see the mouse keyboard detected while dtlogin is starting. 

The tip off for me was these messages in /var/adm/messages: 
Aug 2 17:11:21 calvin usba: [ID 912658] USB 1.10 device (usb45e,39) operating at low speed (USB 1.x) on USB 1.10 external hub: mouse@2, hid5 at bus address 4 
Aug 2 17:11:21 calvin usba: [ID 349649] Microsoft 5-Button Mouse with IntelliEye(TM) 
Aug 2 17:11:21 calvin genunix: [ID 936769] hid5 is /pci@1e,600000/usb@b/hub@1/mouse@2 
Aug 2 17:11:21 calvin genunix: [ID 408114] /pci@1e,600000/usb@b/hub@1/mouse@2 (hid5) online 

(1) Plug in your mouse and keyboard again, 
(2) Then login to a cmd line shell as root and restart dtlogin: 
# /etc/init.d/dtlogin stop 
# /etc/init.d/dtlogin start 

This did the trick for one of my workstation users.


Post a Comment

Design by BABU | Dedicated to grandfather | welcome to BABU-UNIX-FORUM