Re: questions about xset

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 26/10/11 16:51, Doll, Margaret Ann wrote:
> I would like to add the mathematica fonts to the xls path on the head node,
> but that is where I am still having the problem.
> 
> When I execute "xset -q", I see
> 
> Font cache:
>    Server does not have the FontCache Extension
> 
> Is this the cause of my inability of adding the mathematica fonts to the
> list?
> 

xset is just another X client. It's telling you about your X server on your Mac, not the head node. Font cache isn't the problem.

On the head node you need to have added the font directories to the xfs configuration file, and restarted it. You need to verify that xfs is running, and listening on the correct interface using:
 netstat -alnp | grep 7100

should show something like:
tcp    0  0 0.0.0.0:7100   0.0.0.0:*   LISTEN  5384/xfs   
         
meaning xfs is listening on all interfaces, on port 7100.

The firewall on the head node must not be blocking access to port 7100 from
the client.

>From now on I'll refer to the host running the font server as <host>.

On the client, the machine with the X server, check the font server is accessible:

$ xfsinfo -server <host>:7100
name of server: <host>:7100
version number: 2
vendor string:  X.Org Foundation
vendor release number:  60802000
maximum request size:   8192 longwords (32768 bytes)
number of catalogues:   1
        all
Number of alternate servers: 0
number of extensions:   0

Then, still on the client, you need to add the font server to the font path using:

$ xset +fp tcp/<host>:7100

(ignore the setting in my previous message, the format was incorrect).

and check it's been added:

$ xset q

and finally, test for the existence of the fonts:

$ xlsfonts | grep -i mathematica


This is what I see on my client machine (desktop).

$ xset q

Font Path:
  tcp/<host>:7100,<other local dirs>


$ xlsfonts | grep -i mathematica | head

-wri-mathematica1-bold-r-normal--0-0-0-0-p-0-adobe-fontspecific
-wri-mathematica1-bold-r-normal--0-0-75-75-p-0-adobe-fontspecific
-wri-mathematica1-bold-r-normal--10-100-75-75-p-60-adobe-fontspecific
-wri-mathematica1-bold-r-normal--11-110-75-75-p-60-adobe-fontspecific
-wri-mathematica1-bold-r-normal--12-120-75-75-p-70-adobe-fontspecific
-wri-mathematica1-bold-r-normal--13-130-75-75-p-80-adobe-fontspecific
-wri-mathematica1-bold-r-normal--14-140-75-75-p-80-adobe-fontspecific
-wri-mathematica1-bold-r-normal--15-150-75-75-p-90-adobe-fontspecific
-wri-mathematica1-bold-r-normal--16-160-75-75-p-90-adobe-fontspecific
-wri-mathematica1-bold-r-normal--17-170-75-75-p-100-adobe-fontspecific


If I remove the font server:
$ xset -fp tcp/<host>:7100

and look again:
$ xlsfonts | grep -i mathematica | head

I see nothing.

By adding it back again:

$ xset +fp tcp/<host>:7100
$ xlsfonts | grep -i mathematica | head
-wri-mathematica1-bold-r-normal--0-0-0-0-p-0-adobe-fontspecific
-wri-mathematica1-bold-r-normal--0-0-75-75-p-0-adobe-fontspecific
-wri-mathematica1-bold-r-normal--10-100-75-75-p-60-adobe-fontspecific
-wri-mathematica1-bold-r-normal--11-110-75-75-p-60-adobe-fontspecific
-wri-mathematica1-bold-r-normal--12-120-75-75-p-70-adobe-fontspecific
-wri-mathematica1-bold-r-normal--13-130-75-75-p-80-adobe-fontspecific
-wri-mathematica1-bold-r-normal--14-140-75-75-p-80-adobe-fontspecific
-wri-mathematica1-bold-r-normal--15-150-75-75-p-90-adobe-fontspecific
-wri-mathematica1-bold-r-normal--16-160-75-75-p-90-adobe-fontspecific

I get my Mathematica fonts back again.


Of course, as I mentioned before, there is no guarantee that Apple have not
"accidentally" broken this in their X server.

-- 
Nigel Wade, System Administrator, Space Plasma Physics Group,
            University of Leicester, Leicester, LE1 7RH, UK 
E-mail :    nmw@xxxxxxxxxxxx 
Phone :     +44 (0)116 2523548, Fax : +44 (0)116 2523555

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list


[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux