Operating System - HP-UX
1834814 Members
2764 Online
110070 Solutions
New Discussion

Re: HP-UX 11 : Xserver cannot be started

 
Marcel Boon
Trusted Contributor

HP-UX 11 : Xserver cannot be started

Hi,

I have made a fresh install of hpux 11 on a 715/80. After the installation proces, my system try to start the cde login screen, but he can't.
I get the next error:

Xserver cannot be started on display studie:0

The /var/dt/Xerror gives the next errors:

Fatal server error: Couldn't open X pointer device! is one attached ?
Fatal IO error 232 (connection reset by peer) on Xserver "studie:0.0"
after 0 request 0 known processed with 0 events remaining
Error (PID 1728): Server voor display studie:0 can't be started.

What can I do?

When I looked with 'sam' in the Xserver configuration, he didnot see my monitor.
It works with hp-ux 10.20.

Thanks,

Marcel
See the man pages
15 REPLIES 15
Alex Glennie
Honored Contributor

Re: HP-UX 11 : Xserver cannot be started

make sure a mouse & keyboard are plugged in : if yes recreate the device files for them hil or ps2 ?
Dan Hetzel
Honored Contributor

Re: HP-UX 11 : Xserver cannot be started

Hi,

It looks like you're having a problem with your mouse (X pointer device).

Here is a script (thanks to Andreas Voss) that recreates graphics,pointer and keyboard.

---cut here ---
#!/sbin/sh

rm -f /stand/ioconfig /etc/ioconfig
rm -f /dev/*crt* /dev/*hil* /dev/*ps2*
/usr/sbin/ioinit -c
/usr/sbin/ioinit -i
/usr/sbin/insf -evd hil
/usr/sbin/insf -evd ps2
/usr/sbin/insf -evd framebuf
i=`ioscan -fuC hil |awk '/^hil/{print $2}'`
for n in 1 2 3 4 5 6 7
do
ln /dev/hil_$i.$n /dev/hil$n
done
ln /dev/rhil_$i /dev/rhil
ln /dev/hilkbd_$i /dev/hilkbd
---\cut ---


Best regards,

Dan
Everybody knows at least one thing worth sharing -- mailto:dan.hetzel@wildcroft.com
Manuel Plaza
Regular Advisor

Re: HP-UX 11 : Xserver cannot be started

Hi,

If you have checked your mouse and your keyboard and are ok, you can prove with the command: /sbin/insf for recreate the device files.

Regards
Marcel Boon
Trusted Contributor

Re: HP-UX 11 : Xserver cannot be started

Thanks,

oops, Xpointer stands for mouse, I should have know, hmmm...
I have I 715/80 and it has a HIL port, but I have a ps2 keyboard and mouse so I use a little box, I don't know how I must call it, me be that is the point.
I know my keyboard works fine.
What should I do ? create device files for hil or ps2 ?

Marcel
See the man pages
Alex Glennie
Honored Contributor

Re: HP-UX 11 : Xserver cannot be started

sounds like a ps2-hil adaptor .... ;)

i'd try hil or even switch the mouse and keyboard.

Or check ll /dev ?
Dan Hetzel
Honored Contributor

Re: HP-UX 11 : Xserver cannot be started

Hi again,

Are you sure that the 'ps2' driver is installed in your kernel? It looks like it isn't.

Best regards,

Dan
Everybody knows at least one thing worth sharing -- mailto:dan.hetzel@wildcroft.com
Alex Glennie
Honored Contributor

Re: HP-UX 11 : Xserver cannot be started

I think i just spotted your problem :

you cant mix ps2 and hil

The keyboard adaptor module is used on the 715/64,80,100 and 725/100 to
allow for the use of either HIL keyboard/devices or PS2 keyboard and
mouse.
The system does not support both types of devices(ps2 and HIL) at the
same time.


-------- ---------
| | | <---- HIL
| 715 | ADPTOR MOD CBL | KBD |
| |===================| ADPT <---- PS2

| | A4022-62003 | MOD |
| | | <---- PS2 Mouse
-------- ---------

Marcel Boon
Trusted Contributor

Re: HP-UX 11 : Xserver cannot be started

Hi,

I don't have the system here, it is at home, I use it for study. I this evening your solutions and let you know.

Thanks

Marcel
See the man pages
Marcel Boon
Trusted Contributor

Re: HP-UX 11 : Xserver cannot be started

Hi Alex,

Wich device files must I create now?
See the man pages
Dan Hetzel
Honored Contributor

Re: HP-UX 11 : Xserver cannot be started

Hi,

As Alex said, you cannot mix devices, but you told that you were using ps2 keyboard AND mouse so they both should work.

Have a look at the following thread as the subject has already been discussed.
http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0xb1607e990647d4118fee0090279cd0f9!0,00.html

Best regards,

Dan
Everybody knows at least one thing worth sharing -- mailto:dan.hetzel@wildcroft.com
Alex Glennie
Honored Contributor

Re: HP-UX 11 : Xserver cannot be started

I'd run through all of the above if you do not have the system in front of you now checking everything out systematically ... most likely causes and fixes are at the top of this discussion.

As to the device files ... I'd be tempted to let the system create them for you : see man insf or use that script ?

It sounds as if you need ps2 ... but again check for yourself when you are in front of the system ie ll /dev/hil, ps2, crt etc etc

good luck ... more news tomorrow then ;)



Dan Hetzel
Honored Contributor

Re: HP-UX 11 : Xserver cannot be started

Hi,

We'll wait for more news for tomorrow then.

Your tasks for tonight:
1. Make sure the 'ps2' driver is installed in the kernel.
2. Run the script here above.
3. Have a beer (or a 6 pack) when it works ;-)

Let us know how you made it.

Dan
Everybody knows at least one thing worth sharing -- mailto:dan.hetzel@wildcroft.com
Marcel Boon
Trusted Contributor

Re: HP-UX 11 : Xserver cannot be started

Hi Alex and Dan,

The hil and ps2 device files are already in the kernel, so I changed de hil-ps2 adapter and now it works fine.
First check the hardware, before you install the software!

Thank for your time !

Marcel
See the man pages
Dan Hetzel
Honored Contributor

Re: HP-UX 11 : Xserver cannot be started

Hi,

Did you have the beers, then?

Dan
Everybody knows at least one thing worth sharing -- mailto:dan.hetzel@wildcroft.com
Marcel Boon
Trusted Contributor

Re: HP-UX 11 : Xserver cannot be started

yep...
See the man pages