« Up? | Main | Commitment »

June 01, 2005

X11 and Solaris

Q: I am using X11 on a Mac to connect to a Solaris server - all the fonts look like cr*p.

A: Easily solved. The Sun implementation of X11 fully supports the xfs (X Font Server). There are scripts on the Sun server to start this (see xfs(1)). Next you need to make a change on your Mac. As root (use sudo) edit the file /etc/X11/xinit/xinitrc. Just before the line that reads:

# start some nice programs

insert a new line that reads:
xset fp+ tcp/address_of_sun_server:7100

The next time you start X11, the X11 server will collect any Sun specific fonts from the Sun server.

Note that if you are trying this on some other platform, the port number may not be 7100. According to this document, it looks like HP uses 7000 as the port.

Posted by Ozguru at June 1, 2005 06:00 AM