Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'X Login via XDMCP over an SSH tunnel' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
X Login via XDMCP over an SSH tunnel
Authored by: avramd on Aug 08, '05 12:18:58PM

Can anyone help me get the "xset +fp..." command working? When I try to issue this command, I get:

xset: bad font path element (#87), possible causes are:
Directory does not exist or has wrong permissions
Directory missing fonts.dir
Incorrect font server address or syntax

From the instructions, my understanding is that this command is to be run in the ssh session, and the IP I give it should be the IP address of the machine I'm connecting from (i.e. my Mac).

also, how does one determine what port one's font server is running on? My Mac does not accept connections on port 7100. It is listening on the remote machine, but if he wanted us to connect to that machine, then he shoudl have just used 127.0.0.1 as the IP...



[ Reply to This | # ]
X Login via XDMCP over an SSH tunnel
Authored by: avramd on Aug 16, '05 01:12:54PM

Just thought I would let you all know I answered my own question; Here is what you have to do to fix the font problem. Note that this goes beyond what this person is suggesting, by solving the VPN/Firewall problem too.

When you ssh to the remote server, forward local port 7100 to the remote host. Then in another window, on your mac, add localhost:7100 to the font path. After tha, back on the remote host, use the Xnest command to start up the desktop session. Here's what it looks like:

mac% ssh -L7100:localhost:7100 -Y user@remotehost

(in another window)
mac% xset +fp tcp/localhost:7100

(back in the first window)
solaris% Xnest ":1" -geometry 1280x810 -query localhost



[ Reply to This | # ]