1832730 Members
3037 Online
110043 Solutions
New Discussion

portnumber off xfs

 
Ferry Hoeben
New Member

portnumber off xfs

Hi,

I'm installing ttf fonts (arial) on hp-ux 11.00. I followed the instructions, but xfs won't start because there is already some proces on port 7000.
I changed it to 5000 and also put the 5000 into /etc/dt/config/Xsetup.
So far so good.
When I check it with xlsffonts, no ariel. When I check it with fslsfonts, I have them.
The second command talk to the fontserver, the first to th Xserver.
How can I make the font available for the Xserver?

TIA
3 REPLIES 3
Steve Steel
Honored Contributor

Re: portnumber off xfs

Hi

CDE can be forced 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:5000 1>/dev/null

steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Alex Glennie
Honored Contributor

Re: portnumber off xfs

xfs & ports : default = 7000 but 7100 is often used if 7000 is already busy.

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

fontserver & xserver : use xset -q to confirm the fontserver is being used by the Xserver look for the tcp entry, next step .... check the ttf font dir is listed here too ... sounds to me that :

a) either the ttf fonts aren't listed in /etc/X11/fs/config or

b) the font server isn't being used actively.

incidentally what instructions did you follow ?





Ferry Hoeben
New Member

Re: portnumber off xfs

Some additional information:
- the instruction came from faq.org and itrc (search ttf).
- I'm not using it with CDE. I need the font for creating pdf-files with Oracle-Reports.

I use Xvfb on display 10 as display server