Unable to connect to font server
Owen, Todd
Todd.Owen@health.wa.gov.au
Thu Mar 28 12:57:00 GMT 2013
I am trying to use an element of the form "tcp/127.0.0.1:7100" in my
font path, and it is being rejected. Furthermore, my testing shows that
XWin is not even attempting to open a socket. Is the "tcp" transport
still supported in the font path? Question 7.7 of the FAQ refers to this
syntax, so presumably it worked at some stage.
The font server I actually wish to use is on a remote machine, but I
have reduced it to a failing test case using localhost:
# Listen for connections on port 7100, in the background
$ socat TCP-LISTEN:7100 stdio >/dev/null &
$ jobs
[1]+ Running socat TCP-LISTEN:7100 stdio > /dev/null &
$ startxwin /usr/bin/true -- -fp tcp/127.0.0.1:7100
Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.13.3.0
...
[dix] Could not init font path element tcp/127.0.0.1:7100, removing from
list!
...
# The background process is still waiting for a connection on port 7100
$ jobs
[1]+ Running socat TCP-LISTEN:7100 stdio > /dev/null &
# But if we make a connection to the port, then the listening process
will stop:
$ socat stdio TCP-CONNECT:127.0.0.1:7100 </dev/null
[1]+ Stopped socat TCP-LISTEN:7100 stdio > /dev/null
# Conclusion: XWin never even made a connection to port 7100.
I have tested this on two machines, both running Window XP Professional
SP3. The difference is that on one machine Cygwin runs under a non-admin
account, and on the other machine the account has local admin rights. I
got the same results on both.
I've also tested this with Xming, and it does work.
Any idea what's going on?
Kind regards,
Todd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: XWin.0.log
Type: application/octet-stream
Size: 9113 bytes
Desc: XWin.0.log
URL: <http://cygwin.com/pipermail/cygwin-xfree/attachments/20130328/e96ef357/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: application/octet-stream
Size: 109187 bytes
Desc: cygcheck.out
URL: <http://cygwin.com/pipermail/cygwin-xfree/attachments/20130328/e96ef357/attachment-0001.obj>
-------------- next part --------------
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ: http://x.cygwin.com/docs/faq/
More information about the Cygwin-xfree
mailing list