This is the mail archive of the cygwin-xfree mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cygwin/X (XWin) falls down when using -fp option


2009/1/27 Jon TURNEY <jon.turney@dronecode.org.uk>:
> Jana Skleničková wrote:
>>
>> I upgraded to latest (I believe) version of Cygwin (uname
>> -a=CYGWIN_NT-5.1 my_computer_name 1.5.25(0.156/4/2) 2008-06-12 19:34
>> i686 Cygwin) and after that I experience problem running XWin to a
>> computer running Solaris OS, when font path is set to remote font
>> server.
>
> [...]
>>
>> I get the login screen, I fill up login, then password (during these
>> both steps I have hourglass cursor), then I get the initial Solaris
>> screen and then everything disappears. All I have is the log that
>> isn't much helpfull. I found out that the problem is caused by using
>> the option -fp. When I don't set the -fp option everything works fine.
>> Unfortunately I can't use local fonts because I have a problem with
>> size of several windows at Solaris computer. I cannot change anything
>> at Solaris computer, it's "preservered", running CDE version 1.2. But
>> it worked without problem with older version of Cygwin/X, I dind't
>> upgraded it for quite a long time.
>
> You should probably look for log files in ~/.dt/ on the Solaris machine [1]
>
> You might also try logging into the Solaris host using ssh or telnet (using
> ssh -Y or setting DISPLAY to point to the cygwin X server) and opening an X
> client on the cygwin X server (started without using the -query XDMCP
> option) to check if that succeeds or fails in a similar fashion.
>
> [1] http://docs.sun.com/app/docs/doc/806-7492/troublelogin-30002?a=view
>

Because I couldn't find anything unusual or helpful in the logs I
captured packets using Wireshark. So far I found this:

-------- Solaris to Cygwin ------------------------
X11, Request, opcode: 52 (GetFontPath)
opcode: 52 (GetFontPath)
unused
request-length:1
-------- Cygwin to Solaris ------------------------
X11, Reply, opcode: 52 (GetFontPath)
reply: !
undecoded
sequencenumber: 6 (GetFontPath)
replylength: 6
undecoded
I can see the he gives this: tcp/Solaris_IP_address:7100
-------- Solaris to Cygwin ------------------------
X11, Request, opcode: 51 (SetFontPath)
opcode: 51 (SetFontPath)
unused
request-lenth: 14
str-number-in-path: 2
unused
path
   "tcp/Solaris_IP_address:7100"
   "/etc/dc/config/xfonts/c"
unused
X11, Request, opcode: 60 (FreeGC)
opcode: 60 (FreeGC)
unused
request-length: 2
gc: 0x00600000
X11, Request, opcode: 43 (GetInputFocus)
opcode: 43 (GetInputFocus)
unused
request-lenth:1
-------- Cygwin to Solaris ------------------------
X11, Error, errorcode: 2 (Badvalue)
error: 0
errorcode: 2 (Badvalue)
error_sequencenumber: 7
error-badvalue: 23
minor-opcode: 0
major-opcode: 51
undecoded
X11, reply, opcode: 43 (GetInputFocus)
reply: 1
revert-to: 0 (None)
sequencenumber: 9 (GetInputFocus)
replylength: 0
focus: 1 (PointerRoot)
unused

It looks like the Solaris sends font path, that Cygwin doesn't understand.

--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]