Operating System - HP-UX
1848671 Members
7051 Online
104035 Solutions
New Discussion

Re: Missing CDE front panel icons

 
Tim Delamare
Occasional Contributor

Missing CDE front panel icons

I am trying to setup an HP-UX 10.20 system to connect a 700RX xterminal to. When the x-term boots I see a couple font error messages. When I login I do not get the CDE logo on the login screen. Also, once I am logged in the front panel icons are missing. They wont install.

Error messages is /var/dt/Xerrors
/usr/bin/X11/xset: bad font path element (#7), possible causes are:
Directory does not exist or has wrong permissions
Directory missing fonts.dir
Incorrect font server address or syntax
Warning: Missing charsets in String to FontSet conversion
Warning: Cannot convert string "-dt-interface system-medium-r-normal-l*-*-*-*-*-
*-*-*-*" to type FontSet

in $HOME/.dt/startlog:
/usr/dt/bin/dthello: display tdelama:0.0 doesn't know font -dt-interface system-
medium-r-normal-xl*-*-*-*-*-*-*-*-*

in $HOME/.dt/errorlog:
Workspace Manager: Unable to read bitmap file Fpterm

Never quit
2 REPLIES 2
Alex Glennie
Honored Contributor

Re: Missing CDE front panel icons

HP FAX PAC
How to setup CDE to work with X-Terminals
- ------------------------------------------------------
A) TITLE: How to setup CDE to work with X-Terminals
B) PROBLEM SUMMARY:

CDE includes a small set of fonts and font aliases which are not
part of the standard MIT X distribution. In order for CDE to
function correctly, these fonts must be made available to
X-servers (X-Terminals) displaying CDE.

C) AUTHOR: Chuck Slivkoff (charles_slivkoff@hp.com)
D) DATE: November 15, 1996
E) KEYWORDS: CDE, FONTS, XTERMINAL, FONT SERVER, DT, ENWARE,
ENTRIA, ENVIZEX, 700/RX
- -------------------------------------------------------------
F) Making the CDE fonts available to X-Terminals
- ------------------------------------------------------
The simple solution to this problem involves configuring and
running a font-server on the system which is running CDE and
forcing the font server into the X-Server (X-Terminal) font-path.

To do this a few things are required:

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
Alex Glennie
Honored Contributor

Re: Missing CDE front panel icons

One point the faxpack doesn't mention is you need to add the font server address .... the tcp/ipaddress:7000 to the xterminals config. You can do this by allowing the xterminal to boot and then holding down the key to get at the config screen :

go into Xserve rsettings and add the tcp entry to the fontpath head. Save the changes and powercycle the xterminal : to check it's using the font server now use a :

remsh get config ? grep -i font : should yield something like :

FontPath = "tcp/hostname:7000 ./fonts/buitin ....." etc