Operating System - HP-UX
1833784 Members
2254 Online
110063 Solutions
New Discussion

Re: X server: Error in /etc/X11/X0screens (line 614)

 
YAQUB_1
Respected Contributor

X server: Error in /etc/X11/X0screens (line 614)

Hi All,

When I have execute # startx or # /usr/bin/X11/X -ac :0 & command that time I have showing below output:

[1] 3892
# X server: Error in /etc/X11/X0screens (line 614)
Device name invalid or missing after keyword "Screen".
X server: Will try default "/dev/crt"
Failure to open default device file `/dev/crt`.
Please either specify the proper device filename in
your /etc/X11/X0screens file or fix `/dev/crt`. This filename is either
non-existent or is not a character special file.

Fatal server error:

Could you please any one help me regarding this issue.

Rgds--Yaqub
12 REPLIES 12
Robert-Jan Goossens
Honored Contributor

Re: X server: Error in /etc/X11/X0screens (line 614)

Hi Yaqub,

Could you post;

# uname -r
# model
# ll /dev | grep crt
# ioscan -fnC graphics

Regards,
Robert-Jan
YAQUB_1
Respected Contributor

Re: X server: Error in /etc/X11/X0screens (line 614)

Hello Robert,

I have attached output entire required file, as you recommended.

Thanks--Yaqub
Robert-Jan Goossens
Honored Contributor

Re: X server: Error in /etc/X11/X0screens (line 614)

# ll /dev | grep gvid
# /opt/graphics/common/bin/graphinfo /dev/gvid

# cp /etc/X11/X0screens /etc/X11/ORIG.X0screens
# vi /etc/X11/X0screens
and change /dev/crt in /dev/gvid
:wq

Try to start X again.

HTH,
Robert-Jan
Robert-Jan Goossens
Honored Contributor

Re: X server: Error in /etc/X11/X0screens (line 614)

found a few good docs in the HP tech database.

Title: How to add a graphics card to a 9000/ 800 that supports graphics
Document ID: emr_na-c00927986-1

Europe
http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&docId=emr_na-c00927986-1

US
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&docId=emr_na-c00927986-1

Title: Troubleshooting FireGL graphics card configuration.
Document ID: emr_na-c00930635-2

Europe
http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&docId=emr_na-c00930635-3

US
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&docId=emr_na-c00930635-3

Regards,
Robert-Jan
YAQUB_1
Respected Contributor

Re: X server: Error in /etc/X11/X0screens (line 614)

Hello Robert,

As per your guide line, I have execute the below command & here is O/P:
==========>
# ll /dev | grep gvid
crw-rw-rw- 1 root root 22 0x000000 Oct 31 18:01 gvid
crw-rw-rw- 1 root root 22 0x000000 Oct 31 18:01 gvid0
cr--r--r-- 1 root root 100 0x000000 Oct 31 18:01 gvid_info
<===========
# /opt/graphics/common/bin/graphdiag /dev/gvid
Error : An attempt to open an X display failed.
The X Server must be running on the system under test
or try initializing the DISPLAY environment variable.
=============>
change /dev/crt to /dev/gvid (vi /etc/X11/X0screens file)
<=============
# startx


waiting for X server to begin accepting connections .
..
..
..
..
..
..
..
..
..
..
..
..
..
..
..

XFree86 Version 4.2.0 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Build Date: Apr 17 2007
Build Operating System: HP-UX B.11.11 U 9000/785
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/X11/Xserver/logs/Xf86.0.log", Time: Wed Oct 31 19:08:19 2007
(==) Using config file: "/etc/X11/XF86Config"
/dev/gvid_info: Resource temporarily unavailable
Failed to open the /dev/gvid_info device file.
Unable to load keymap "Not_Applicable" - using defaults (NULL maps).

Now I got graphical interface in my console, but I have faching another problem after 1 or 2 minits leter the console automatically hang.

Could you please guide me, how I will resolve this issue?

Rgds--Yaqub
YAQUB_1
Respected Contributor

Re: X server: Error in /etc/X11/X0screens (line 614)

Hello Robert,

I have logout my remote console (laptop) that time I found the below O/P:

xinit: No such file or directory (errno 2): unexpected signal 2

xterm: fatal IO error 32 (Broken pipe) or KillClient on X server ":0.0"

waiting for X server to shut down

Then I try to again startx command that time I have found the below O/P:

# startx

X server loader: Unable to identify device: /dev/gvid
Errno = 22

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

giving up.
xinit: Connection refused (errno 239): unable to connect to X server
xinit: No such process (errno 3): Server error.

Robert please help me regarding this issue....

Thanks--Yaqub
YAQUB_1
Respected Contributor

Re: X server: Error in /etc/X11/X0screens (line 614)

Hi All,

Any body help me regarding this issue....

Thanks--Yaqub
Dan Copeland
Regular Advisor

Re: X server: Error in /etc/X11/X0screens (line 614)

is there any log files under /var/X11/Xserver/logs.

anything reported on Xstartup.15.log and X15.log where 15 is the display number used.You may be using a diferent number.
Robert-Jan Goossens
Honored Contributor

Re: X server: Error in /etc/X11/X0screens (line 614)

Hi Yaqub,

follow the steps and verify your configuration according to this doc(page 21)

http://docs.hp.com/en/AB551-90003/AB551-90003.pdf

Robert-Jan
YAQUB_1
Respected Contributor

Re: X server: Error in /etc/X11/X0screens (line 614)

Hi Dan Copeland,

# cd /var/X11/Xserver/
# ll
total 0
drwxrwxrwx 2 bin bin 96 Oct 31 23:35 logs
# cd logs/
# ll
total 112
-rw-r--r-- 1 root daemon 0 Oct 31 21:37 X0.log
-rw-r--r-- 1 root sys 22143 Oct 31 23:35 Xf86.0.log
-rw-r--r-- 1 root sys 22143 Oct 31 23:08 Xf86.0.log.old
-rw-r--r-- 1 root sys 84 Oct 31 23:36 Xstartup.0.log

skt_skt
Honored Contributor

Re: X server: Error in /etc/X11/X0screens (line 614)

are you getting any clue from the startup log files whihc i mentioned?
Andrew Rutter
Honored Contributor

Re: X server: Error in /etc/X11/X0screens (line 614)

hi,

it sounds like you havent exported the display?

did you export it to your laptop, so that the x will come up on it

#export DISPLAY=laptop ip address:0.0

#startx

or what are you using as xwindows client on laptop?

Andy