GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HPUX and SUN
Operating System - HP-UX
1844867
Members
2499
Online
110233
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2002 03:55 PM
01-30-2002 03:55 PM
HPUX and SUN
I am porting X-Windows based app from Solaris 2.6 to HPUX 11. All my colors, fonts, and scaling get a little screwed up on HPUX machine. Is there a simple way to make HPUX environment to keep the settings of SUN? Is there a standard portable fonts/color set I can use to make HPUX (and myself) happy?
Thanks much,
Vladimir Gershman
Thanks much,
Vladimir Gershman
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2002 08:54 PM
01-30-2002 08:54 PM
Re: HPUX and SUN
Not much I can offer here. I wish I could suggest running your apps in a failsafe mode which only uses Xserver and MWM and that will work but we would all want it in a full blown CDE environment. I think you will have to load your X-windows Xresource files from Sun onto HP and place em in ~/.Xdefaults file. This will set the users Xwindow environment to include additional fonts definition into the Xresource database. Hope I'm making some sense here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2002 12:34 AM
01-31-2002 12:34 AM
Re: HPUX and SUN
I'd suggest one of the major differences between CDE on solaris and on hpux is fonts. therefore setting up a font server on the solaris system and serving the additional fonts to the hpux system would get rid of a lot of problems OR you could copy over the specific fonts and make use of the mkfontdir command and add them to the font catalog : see below for xfs setup info :
Setting Up a Font Server on Solaris 2.5 or Later
By default the font server is running on all Solaris 2.5 or later
systems at this time.
It can be accessed through the following command:
fslsfonts -server:7100
The default configuration file is in /usr/openwin/lib/X11/fontserver.cfg. This
is where you can add the paths or remove them. You can also specify a
different configuration file for the font server. Use the
/usr/openwin/lib/X11/fontserver.cfg file as a template for this and be
careful of adding or removing spaces in the "catalogue" path. Also, to
use a different configuration file you must edit the /etc/inetd.conf file so
when the fs starts up it will look for the correct config file.
Here is an example of a default font server line on the inetd.conf file:
fs stream tcp wait nobody /usr/openwin/lib/fs.auto fs
change it to:
fs stream tcp wait nobody /usr/openwin/lib/fs.auto fs -config
For example:
fs stream tcp wait nobody /usr/openwin/lib/fs.auto fs -config /opt/apps/joefont/fontserver.cfg
To use the fonts from the font server, do the following:
1. Make sure that there are fonts available from the server:
fslsfonts -server:7100
2. If you want all the fonts from the font server, run the following:
xset +fp tcp/:7100/all
cmdtool -fn
If you only want some fonts from the font server, run the following:
xset +fp tcp/:7100/
cmdtool -fn
The customer needs to install the following font packages:
SUNWcxmft Chinese/PRC X Windows Platform minimum Required
SUNWfdl Font Downloader
SUNWi1of ISO-8859-1 (Latin-1) Optional Fonts
SUNWjxmft Japanese X Window System Minimum Required
SUNWkxmft Korean UTF-8 X Windows Platform minimum Required
SUNWtdft Thai L10N for CDE Fonts
SUNWtxfnt Thai X Windows Platform required Fonts Package
SUNWxglft XGL Stroke Fonts
SUNWxwfa X Window System Font Administrator
SUNWxwfs Font server
SUNW5xmft Chinese/Taiwan BIG5 X Windows Platform minimum Fonts Package
Once you've done that do the following on the HP :
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/SUN 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
Restart X.
Setting Up a Font Server on Solaris 2.5 or Later
By default the font server is running on all Solaris 2.5 or later
systems at this time.
It can be accessed through the following command:
fslsfonts -server
The default configuration file is in /usr/openwin/lib/X11/fontserver.cfg. This
is where you can add the paths or remove them. You can also specify a
different configuration file for the font server. Use the
/usr/openwin/lib/X11/fontserver.cfg file as a template for this and be
careful of adding or removing spaces in the "catalogue" path. Also, to
use a different configuration file you must edit the /etc/inetd.conf file so
when the fs starts up it will look for the correct config file.
Here is an example of a default font server line on the inetd.conf file:
fs stream tcp wait nobody /usr/openwin/lib/fs.auto fs
change it to:
fs stream tcp wait nobody /usr/openwin/lib/fs.auto fs -config
For example:
fs stream tcp wait nobody /usr/openwin/lib/fs.auto fs -config /opt/apps/joefont/fontserver.cfg
To use the fonts from the font server, do the following:
1. Make sure that there are fonts available from the server:
fslsfonts -server
2. If you want all the fonts from the font server, run the following:
xset +fp tcp/
cmdtool -fn
If you only want some fonts from the font server, run the following:
xset +fp tcp/
cmdtool -fn
The customer needs to install the following font packages:
SUNWcxmft Chinese/PRC X Windows Platform minimum Required
SUNWfdl Font Downloader
SUNWi1of ISO-8859-1 (Latin-1) Optional Fonts
SUNWjxmft Japanese X Window System Minimum Required
SUNWkxmft Korean UTF-8 X Windows Platform minimum Required
SUNWtdft Thai L10N for CDE Fonts
SUNWtxfnt Thai X Windows Platform required Fonts Package
SUNWxglft XGL Stroke Fonts
SUNWxwfa X Window System Font Administrator
SUNWxwfs Font server
SUNW5xmft Chinese/Taiwan BIG5 X Windows Platform minimum Fonts Package
Once you've done that do the following on the HP :
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/SUN 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
Restart X.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP