1824218 Members
3848 Online
109669 Solutions
New Discussion юеВ

X Error

 
Jianzhong Mo
Occasional Advisor

X Error

Hi,

I have an X problem to run some applications. Any pointer to get rid of this error is appreciated? Thanks a lot.

Error message:

X Error of failed request: BadName (named color or font does not exist)
Major opcode of failed request: 45 (X_OpenFont)
Serial number of failed request: 316
Current serial number in output stream: 317
4 REPLIES 4
Jim Shroyer_1
Occasional Advisor

Re: X Error

You might want to explore setting this box up as a font server (set_parms font_c-s)

Regards,

Matthew
Alex Glennie
Honored Contributor

Re: X Error

The error you reported sounds suspiciously as if you are running Xwindows sessions on a PC ? If am right then setting up a font-server on an HP-UX system which contains the X open fonts or similar should resolve your problem : use the search facility on this page to look for CDE xfs and that will get you going : nb once you start xfs on the unix box you must also edit the font path of the PC !

Also if this is not the case and you have a unix box that does not have this problem : set xfs on this and add the font path to the other unix system(s).

PS : just in case it's colours ... if you are running on PC try using just 256 and if netscape is involved run with a "-install" option.

If above fails : could you give some more detail.... PC's ? , application name ? /var/dt/Xerrors ? etc ...
Jianzhong Mo
Occasional Advisor

Re: X Error

Hi Alex,

Thanks a lot for your help.

I am running both on hp-ux11.00 (withX11R6) and pc.

On pc, I login to the Unix machine via exceed X server, I have no above problem. But when I run the application on the unix machine, I got that problem.

I tried to set an xfs server and add it to the font path, but still no luck.

Thanks,
Alex Glennie
Honored Contributor

Re: X Error

If thats the case it sounds as if you have the font problem but the other way around.

The PC (Exceed) has the required fonts but the unix box does not. I'd need to check a few things ...

I'd suggest the following : post the outputs of either /var/dt/Xerrors or /var/vue/Xerrors and the outputs from xset -q from an Exceed session and a HPUX session. I'd like to check if the font path on the unix system is missing any of the standard font path directories.

Also run dr_dt or dr_vue, if you have any warnings aboout permissions on font directories etc correct them.

Lastly .... whats the application in question ? Did it install any X resource files : normally under appconfig or app-defaults ... if it has resources relating to fonts you could possibly edit them to use standard hpux fonts ?

Alternatively if none of the above work or show anything, i guess the only thing left would be to get hold of these specific fonts, add them to the hp misc fonts directory and run mkfontdir to add them into the hp boxes font config / info .... see man mkfontdir.