Operating System - HP-UX
1833729 Members
2657 Online
110063 Solutions
New Discussion

X-Appln unable to run via X-Win32

 
SOLVED
Go to solution
Kong Kian Chay
Regular Advisor

X-Appln unable to run via X-Win32

* I accessed a C200 Workstation (HP-UX 10.20)
via X-Win32 Software (from Win-98 PC).

* Tried to run a CADCAM application "dmgr" .
Get following error -->

// WARNING: Font loading failed. Please see the
following notes for more information.
// NOTE: Xhost = 'hpb-1',
// NOTE: Xserver = 'nusnet-149-191.dynip.nus.edu.sg',
// NOTE: font name = 'dm.icons',
// NOTE: font package = 'registry'.
// Fonts are configured incorrectly
// Cannot initialize device driver.
// Error: Invalid font requested (from: Core/VFONT/vfont09)

NOTE:
* The detailed error log is also attached.

* NO problem running the "dmgr" application at the
workstation LOCALLY.

* Accessing via X-Win32, NO problem running
"xclock" and "netscape".
6 REPLIES 6
S.K. Chan
Honored Contributor
Solution

Re: X-Appln unable to run via X-Win32

I have not use X-Win32 before. ReflectionX seems to work well for graphics intensive apps like Mentor, ProE, etc, etc. My suspicion for your case is that you probably need additional fonts specific to MGC loaded on your PC. Another suggestion I can make is lower your graphics color display to maybe 256 color and give it a shot. Also refer to the following URL for further possible help, look under "Known Problem, Solutions and Workaround".

http://www.ece.nwu.edu/nucad/tools/mentor/Mentor-from-PC-HOWTO.html

Hope this helps ..
Kong Kian Chay
Regular Advisor

Re: X-Appln unable to run via X-Win32

I have :
* downloaded the Mentor Graphics' Fonts on my PC.
* "make" the Fonts on PC.
* set the X-Win32 to use this Downloaded fonts
* set PC Display to "256 Color" (8-Bit).

Now I get error :
// Error: caught signal 11 - SIGSEGV: segmentation violation (from: Core/init/signals_POSIX_portable 0E)

Also attached a detailed log.

Any other suggestions ?
Kong Kian Chay
Regular Advisor

Re: X-Appln unable to run via X-Win32

* I think most probably this question should not be posted on the HP-UX forum.

* Have decided to approach the Starnet Corpn (supporting X-Win32) on this issue.

* However, I am very grateful to all who took the time to browse this posting & attempt to find an answer.

* S.K Chan has also pointed me to a really relevant & useful website. Thanks for your pointers, S.K Chan, it helps to point to the problem.
Alex Glennie
Honored Contributor

Re: X-Appln unable to run via X-Win32

If the application works OK locally wht not set up xfs (1) ? and configure X-win32 to use the C class fonts ?

1 - The font server needs to be configured to include the CDE
fonts in its catalog

EDIT: /etc/X11/fs/config

Append ",/usr/dt/config/xfonts/C" to the end of the
"catalogue = ..." line

EDIT: /etc/rc.config.d/xfs

Set the following variable: "RUN_X_FONT_SERVER=1"

EXECUTE: /sbin/init.d/xfs start

If the font-server is already running, kill it and
restart it.

2 - Force CDE to add the font-server to the X-Server font-path
by editing the Xsetup file. (NOTE: This steps REQUIRES
the IP address of the CDE session server. You can get
this information by running: nslookup `hostname`.)

COPY: /usr/dt/config/Xsetup to /etc/dt/config/Xsetup
EDIT: /etc/dt/config/Xsetup

Add the following line to /etc/dt/config/Xsetup replacing
"IPADDRESS" with the IP address of the server as returned
from "nslookup `hostname`":

$XDIR/xset fp+ tcp/IPADDRESS:7000 1>/dev/null

Lastly you need to edit X-win32's font path settings ... I do not know how to do this exactly as I don't have access to the app but in general it would be in the config or Xconfig settings sections : nb add the tcp/IPADDRESS:7000 address to the head of the font path
Alex Glennie
Honored Contributor

Re: X-Appln unable to run via X-Win32

also if you are receiving a sigsev do you also get a core file ? if yes what does "file core" yield ?
Kong Kian Chay
Regular Advisor

Re: X-Appln unable to run via X-Win32

The pple in this forum amaze me -- they never say die.

Anyway, have done everything as advised by Alex, except for editing the X-Win32 font path settings.

For the X-Win32 font path part, I have tried changing from :
c:\XWin32\lib\fonts\..etc..
to :
1.2.3.4:7000 c:\XWin32\..etc..
and to :
1.2.3.4 c:\XWin32\..etc..

Still get the Signal 11 error.

NOTE:
* No Core file is produced.