1838657 Members
4076 Online
110128 Solutions
New Discussion

Cannot configure XServer

 
SOLVED
Go to solution

Cannot configure XServer

When I execute the SAM I get the following error:
# sam
Warning: Cannot convert string "-dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*" to type FontStruct
Warning: Missing charsets in String to FontSet conversion
Warning: Cannot convert string "-dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*" to type FontSet
Warning: Missing charsets in String to FontSet conversion
Warning: Cannot convert string "-dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*" to type FontSet
/usr/sbin/sam[220]: 4630 Bus error(coredump)
SAM comes up and I tried to go into the Display and configure the Xserver but it responds with:
the '/usr/sbin/ioscan -funC graphics' reports *NO* graphics devices for your system unable to configure the X Server.
Any suggestions??
12 REPLIES 12
Alex Glennie
Honored Contributor
Solution

Re: Cannot configure XServer

Qu : what H/w are we talking and where or on what are you running to sam gui ?

fyi : use insf -evd framebuf to create graphics device files : /dev/*crt* ....

graphinfo output and ioscan may also help ....

lastly /usr/bin/X11/X :0 on the local display/console results in what ?
Jochen Heuer
Respected Contributor
Armin Feller
Honored Contributor

Re: Cannot configure XServer

Hi,

is the right driver in the kernel?

If you didn't find the graphics device in the 'ioscan' it seams to be a hardware problem.

Here a example from my system:

>ioscan -fnCgraphics
Class I H/W Path Driver S/W State H/W Type Description
===============================================================
graphics 0 8/24 graph3 CLAIMED INTERFACE Graphics

Please check the hardware and/or open a support call at you HP Responce Center.

Regards ...
Armin
Helen French
Honored Contributor

Re: Cannot configure XServer

The error which you are getting while starting SAM, might be because of a bad DISPLAY variable setting. Check that variable on your login profile files and set it correctly.
Life is a promise, fulfill it!
Jochen Heuer
Respected Contributor

Re: Cannot configure XServer

Additional infos: the warnings you see are printed by your local X server which can not display the fonts SAM requests.

You are probably using a non-HP-UX Xserver, right? These don't have the fonts that HP-XU uses ... So you have to provide them the fonts via a fontserver.

Regards,

Jochen
Well, yeah ... I suppose there's no point in getting greedy, is there?

Re: Cannot configure XServer

Alex
I am connecting to a HPUX 11 with the Xcontrol panel from Smarterm.
Also I get the following
/usr/bin/X11/X :0
X server: Error in /etc/X11/X0screens (line 612)
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:
Jochen Heuer
Respected Contributor

Re: Cannot configure XServer

Hi,

the 11.0 system is a server without graphics adapter, right?

Then you have to edit /etc/X11/X0screens and put a hash in front of the line

Screen /dev/crt

You have no graphics card so you should not try to start a local X server.

Xcontrol is an x-terminal, right? Setup a fontserver and everything should be correct. And make the change to /etc/X11/X0screens ...

Regards,

Jochen
Well, yeah ... I suppose there's no point in getting greedy, is there?
Alex Glennie
Honored Contributor

Re: Cannot configure XServer

I am connecting to a HPUX 11 : OK but the H/W ??? is it a server ?

with the Xcontrol panel from Smarterm.... PC emulation s/w running on a PC ?

Also I get the following
/usr/bin/X11/X :0
X server: Error in /etc/X11/X0screens (line 612)
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.

Next what are you attempting to achieve here ... configure a graphics card or options on an hpux system ... if yes does it have a graphics card ? ioscan should show ?

if the answer no graphics card and this is an hpux server then I think it's simply trying to start X locally : in which case the errors can probably be ignored ... my advise is to set up xfs aka font server .. try a quick search on this forum for details

Re: Cannot configure XServer

I set up the Font Server on my HPUX 11 server
entered the SAM and the GUI version seems to be operating fine but when I exit from it I get the following:
/usr/sbin/sam[220]: 17381 Bus error(coredump

Any clue what will be causing that.
When I execute the SAM command I do not get the warning any more.
Alex Glennie
Honored Contributor

Re: Cannot configure XServer

not entorely sure this is connected.

please run "file core" and post output

also,some sound advise is ensure you have PHCO_25902 s700_800 11.00 cumulative SAM/ObAM patch installed together with a recent libc patch ....

Re: Cannot configure XServer

Alex
I have the following on my system
PHCO_25707 libc cumulative Patch
PHCO_17792 Cumulative SAM/obAM Patch

Also the the output you requested from the core is:
ls -l core
-rw------- 1 root sys 3799292 Feb 3 09:41 core
# file core
core: core file from 'samx' - received SIGBUS
#
Alex Glennie
Honored Contributor

Re: Cannot configure XServer

I'd suggest as a MUST installing PHCO_25902 and if possible PHCO_27731 latest sam & obam patches ...