Operating System - HP-UX
1820098 Members
3622 Online
109608 Solutions
New Discussion юеВ

X-server can not be started on display

 
Beth Weller
Occasional Contributor

X-server can not be started on display

The X-term is plugged into a card and the mouse and keyboard into the box. The X-term was working fine. I TRIED to update the box to HP UNIX 11 the X-server would not come up and I plugged a dumb terminal into the built in console port. I ran into too many problems and recovered with and ignite tape. I need the dumb terminal to get the box to boot even though the system used the X-term as the console before. I have tried the following:

# ls -l /etc/dt/config/Xservers
-r--r--r-- 1 root root 2760 Apr 8 1999 /etc/dt/config/Xserves
#
# /usr/bin/X11/X :0
X server loader: Unable to open device for read/write: /dev/crt

Fatal server error:
X server rejected last DLD broker bidding on screen entries in X0screens.

# ls -l /dev/crt
crw-rw-rw- 2 bin bin 174 0x000000 Jun 3 1998 /dev/crt
#ioscan -fn
target 8 8/16/5.7 tgt CLAIMED DEVICE
ctl 1 8/16/5.7.0 sctl CLAIMED DEVICE Initiator
/dev/rscsi/c1t7d0ps2 0 8/16/7 ps2 CLAIMED INTERFACE Built-in Keyboard/Moe
/dev/ps2_0 /dev/ps2kbd
/dev/ps2_1 /dev/ps2mouse

Any help will be appriciated
putting out fires
4 REPLIES 4
Sridhar Bhaskarla
Honored Contributor

Re: X-server can not be started on display

Hi,

Recreate the device files.

rm /dev/*crt*
rm /dev/*ps2*

insf -e

If this doesn't fix your problem run /usr/contrib/bin/dt/dr_dt program and see what errors it would display.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Caesar_3
Esteemed Contributor

Re: X-server can not be started on display

Hello!

Try xinit and see what errors you get.

Caesar
Beth Weller
Occasional Contributor

Re: X-server can not be started on display

removed the *crt* and *ps2*
insf -e recreated them

but SAME ERRORS:

ran /usr/contrib/bin/X11/dr_dt and tried to fix the one warning.

# ln -s /usr/bin/X11/hpterm hpterm
# ls -l hpterm
lrwxrwxrwx 1 root sys 19 May 14 16:44 hpterm -> /usr/bin/X11
/hpterm

# /usr/contrib/bin/X11/dr_dt

WARNING: The /usr/dt/bin/hpterm file is not properly
configured. The current configuration is:
permissions = lrwxrwxrwx
owner = root
group = sys
link = /usr/bin/X11/hpterm
For HP CDE to function correctly, it should be a
symbolic link to a file,
with the following configuration:
permissions = lrwxr-xr-x
owner = root
group = sys
link = /usr/bin/X11/hpterm


# chmod 775 hpterm
# ls -l hpterm
lrwxrwxrwx 1 root sys 19 May 14 16:44 hpterm -> /usr/bin/X11
/hpterm

putting out fires
Alex Glennie
Honored Contributor

Re: X-server can not be started on display

What H/W are we talking here .... "The X-term is plugged into a card and the mouse and keyboard into the box." ????

Anyways my advise would be :

cd /dev
rmsf *crt*
insf -evd framebuf

if that fails post contents of X0screens together with the h/w involved in the above and also install latest Xserver patch would be a very good idea as it sounds like this could be a case of the Xserver libs/binaries getting out of sync ...