1825161 Members
2278 Online
109679 Solutions
New Discussion юеВ

X-Server display problem

 
Jyoti Lakshmi Ramchandr
Occasional Contributor

X-Server display problem

Hi,

I installed HP-UX on a J server successfully. But after installation before the login prompt, I obtain this message, "X-Server can not be started on display".

I have installed quite a few applications on this server and would not want to reinstall the OS.

Can someone help on this?

Thanx
11 REPLIES 11
Vincent Stedema
Esteemed Contributor

Re: X-Server display problem

Hi,

Did you set the hostname correctly at install time? Normally, this error message should read something like "...on display :0.0".

Are there any other error messages in /var/dt/Xerrors and/or /var/X11/Xserver/logs/X0.log?

Vincent
Jyoti Lakshmi Ramchandr
Occasional Contributor

Re: X-Server display problem

Vincent,

Have provided the hostname correctly during installation.

Viewed the /var/dt/Xerrors file to have the following errors:

1) "Fatal Server Error: Couldn't open X Pointer Device. Is one attached?"
2) Server for display can't be started
Alex Glennie
Honored Contributor

Re: X-Server display problem

1. check /etc/dt/config/Xservers .... does it exist ? If yes make sure the last line does not contain a # ie * Local local@console etc.

If no copy it from /usr/dt/config/Xservers and uncomment the #

2. Run X from the command line see : http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x42a7663ce855d511abcd0090277a778c,00.html

along with the other trouble-shooting tips we all posted yesterday.
Karvendhan M
Frequent Advisor

Re: X-Server display problem

Hi,

Seems there is some problem with mouse,( one attached? )

Check the physical connection of the mouse.
Verify with # ioscan -fn

HTH

~ Karvendha M.
Bill McNAMARA_1
Honored Contributor

Re: X-Server display problem

Alex's suggestion to start X from commandline will verify if there is a problem with the Xserver itself, if hostname and /etc/hosts look okay, You problem is either fonts or cde.

once the Xserver appears, on another system telnet in, export DISPLAY=yourseverwithpb:0.0
hpterm -fn fixed &

Later,
Bill
It works for me (tm)
Alex Glennie
Honored Contributor

Re: X-Server display problem

if you're getting Xpointer errors & as said before : check the mouse is connected, try a different mouse, if it still fails you may need to re-create the device files ?

Kenneth Platz
Esteemed Contributor

Re: X-Server display problem

Jyoti,

If you have verified that the mouse IS connected, then check the following:

1) If you have a "known good" mouse, then try replacing the mouse with a different mouse, and try starting the X server again.

If that doesn't succeed, then check for the existence of the device files and drivers for the mouse.

If you are on a system with PS/2 ports (ie, J210, J2240), then check the following:

- Do an "lsdev | grep ps2". This should show the following:

159 -1 ps2 ps2

If this does not give anything back, then you'll need to add the ps2 device to the kernel and reboot.

- Does the /dev/ps2mouse file exist? If this does not, then try doing an insf -evd ps2.

- Are the permissions on the /dev/ps2mouse correct? They should be 666.

Second, if your system has USB ports, (J5000, J5600, J6000, J7000), then check the following:

1) Do an ioscan -funC usbhid. Does the mouse show up?

2) Does the /dev/hid directory exist? Does /dev/hid/firstmouse exist? If this does not work, then run the command "insf -evd hid".

3) Do you have the following device drivers in your kernel: hub, hid, hcd, usbd? If not, then rebuild your kernel with the new drivers and reboot.

This problem has also been known to occur if a system is not installed from the correct media. The following J-class machines require the following media (or later):

J210/J2240 10.20- July 1997 ACE, 11.00: Nov 97
J5000/J7000 10.20- July 1999 ACE, 11.00: Nov 1999 ACE
J5600/J6000 10.20- Dec 1999 ACE, 11.00: Nov 1999 ACE

I hope this helps.
I think, therefore I am... I think!
Bill McNAMARA_1
Honored Contributor

Re: X-Server display problem

Sorry, I did't see the Xerror,

1) "Fatal Server Error: Couldn't open X Pointer Device. Is one attached?"
2) Server for display can't be started

I'm just wondering, even if there is no mouse wouldn't the Xserver still work? It does on the Xterms... (even windows does)

Point 2 suggest the hostname is still unknown which is what everyone initially suggested.

The current host should be the first entry in the /etc/hosts

Later,
Bill
It works for me (tm)
Kenneth Platz
Esteemed Contributor

Re: X-Server display problem

Bill,

Actually, no, the X server will not work if it does not have a mouse (or other configured pointing device) available. The default X server requires the following components to be able to start successfully:

- A graphics device (usually /dev/crt)
- An X Keyboard device (usually the keyboard)
- An X Pointer device (usually the mouse)
- An available chunk of shared memory (64M is sufficient unless other apps are using shared memory).

Failure to gain access to any one of these resources will cause the X server to fail to start.
I think, therefore I am... I think!
Nagaraju Gudala
Occasional Advisor

Re: X-Server display problem

1. Please try checking your /etc/hosts file,
the first entry in your file must be that of your host.
2. Is your J server an NIS client
3. See if you have kept any other files in /etc/rc.config.d/.becoz any file / data kept will screw up the X windows
4. check for the permission of the >TTauthority file in the HOME directory.
Kelli Ward
Trusted Contributor

Re: X-Server display problem

Hi,

I've had this happen for 2 reasons.

The mouse has become dislodged and needs to plugged back in. Assume you might have to shut the system down prior to reconnecting the mouse.

The mouse device file has become corrupted and needs to be rebuilt.

GL,
Kel
The more I learn, the more I realize how much more I have to learn. Isn't it GREAT!