Computing.Net > Forums > Solaris > X Server doesn't start

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

X Server doesn't start

Reply to Message Icon

Name: Elena
Date: October 10, 2002 at 08:28:22 Pacific
OS: Solaris 2.6
CPU/Ram: ???
Comment:

Hi everybody!
I've got a problem with starting X server on my Sun Solaris station. I think I messed the /usr/lib directory. Well, let's begin from the beginning:
1. The /usr/lib was corrupted because of command : cp /opt/sfw/lib/lib* /usr/lib/

2. When we boot the Sun Solaris station we get the message: X server cannot be started in display :0.
The login window does not appear.

3. If we check the Xerror file in /var/dt/ there are several warnings like that:
ld.so.1: dtgreet: fatal: relocation error: file /usr/dt/lib/libDtWidget.so.2: symbol _XmStrings21: referenced symbol not found.
And then : Error Server for Display :0 cannot be started.

4. When we execute the command xinit the window is opened and we can open graphical applications from it.


5. We have a backup of /usr on the tape which is connected to another Sun station. We restored the whole /usr filesystem to the corrupted machine filesystem different from /usr.

6. Do we have to boot from CD to restore /usr/lib from this filesystem? Can we just copy all the libraries to .usr/lib in a regular mode? Is it better to restore the whole /usr filesystem or just /usr/lib? Will cp command work properly with symbolic links in /usr/lib if we execute cp /our_filesystem_with_backup/lib usr/lib/?

7. Is there any alternative solution without restoring the filesystem?

Thank you all in advance for the help.




Sponsored Link
Ads by Google

Response Number 1
Name: TechMark
Date: October 11, 2002 at 16:40:23 Pacific
Reply:

I think that restoring the filesystem is the best way to solve the problem. If you are sure that nothing is defect under the /usr filesystem except from /usr/lib you only need to restore /usr/lib.
On the other hand that also depends on if you are able to access only the /usr/lib on your backup-tape.
When restoring only /usr/lib you should not need to boot from a cdrom, if you need to restore the whole of the /usr filesystem however you will need to boot from a cdrom.

One thing that just might work is to remove the Xserver packages (pkgrm) and then reinstall the Xserver packages (pkgadd). This is a longshot and I´m not sure if it will work. The problem is that there might be more than just the Xserver files being corrupt under /usr/lib.

//TechMark


0

Response Number 2
Name: Andy Patel
Date: November 2, 2002 at 20:05:25 Pacific
Reply:

I am having the same problem with X server not starting on a Trusted solaris 8 box. When I look at the /var/dt/Xerrors: the out is something like this. VUIDGFORMAT: Invalid argument

Fatal server error:
failed to initialize core devices
XIO: fatal IO error 146 (Connection refused) on X server ":
0.0"
after 0 requests (0 known processed) with 0 events rem
aining.

Sat Nov 2 22:11:44 2002
error (pid 401): Server for display :0 terminated unexpected
ly 1
VUIDGFORMAT: Invalid argument

Fatal server error:
failed to initialize core devices
XIO: fatal IO error 146 (Connection refused) on X server ":
0.0"
after 0 requests (0 known processed) with 0 events remaining.

Sat Nov 2 22:11:45 2002
error (pid 401): Server for display :0 terminated unexpectedly 1
VUIDGFORMAT: Invalid argument

Fatal server error:
failed to initialize core devices
XIO: fatal IO error 146 (Connection refused) on X server ":0.0"
after 0 requests (0 known processed) with 0 events remaining.

Sat Nov 2 22:11:47 2002
error (pid 401): Server for display :0 terminated unexpectedly 1
VUIDGFORMAT: Invalid argument

Fatal server error:
failed to initialize core devices
XIO: fatal IO error 146 (Connection refused) on X server ":0.0"
after 0 requests (0 known processed) with 0 events remaining.

Sat Nov 2 22:11:48 2002
error (pid 401): Server for display :0 terminated unexpectedly 1

Any help would be great
Andy


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Solaris Forum Home


Sponsored links

Ads by Google


Results for: X Server doesn't start

X-Server can't start on display:0.0 www.computing.net/answers/solaris/xserver-cant-start-on-display00/4902.html

X server cannot be started www.computing.net/answers/solaris/x-server-cannot-be-started/2985.html

x-server startup www.computing.net/answers/solaris/xserver-startup/4289.html