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

2009-02-11 Thread Jana Skleničková
2009/2/3 Jon TURNEY jon.tur...@dronecode.org.uk:
 Jana Skleničková wrote:

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

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

 I guess this means your logon scripts are trying to add
 /etc/dc/config/xfonts/c to the font path (which isn't going to work very
 well as that directory doesn't exist on the Cygwin box) and possibly treats
 that as critical to a successful login.

 You might be able to work around this by creating the directory
 /etc/dc/config/xfonts/c on the cygwin host and running 'mkfontdir' there,
 but really you should fix the logon scripts :-)

 (Note that google suggests /etc/dc/config/xfonts/c is a typo for
 /etc/dt/config/xfonts/c)



I tried the workarounds you suggested with no success, unfortunately.
I can't do anything with the Solaris machine. There is no problem when
I approach Solaris from another comp, for example linux (Debian
distribution), the only problem is when I use Cygwin.

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



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

2009-01-28 Thread Jana Skleničková
2009/1/27 Jon TURNEY jon.tur...@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: 0x0060
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/



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

2009-01-23 Thread Jana Skleničková
Hello,
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.

Here is my log:
-
Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.5.3.0 (20090121)
Contact: cygwin-xfree at cygwin.com
XWin was started with the following command line:

/usr/bin/XWin :0 -once -query Solaris -fp tcp/Solaris:7100
 -xkbmodel pc105 -xkblayout us -screen 0 1280 1024 -ac

ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1280 h 1024
winInitializeDefaultScreens - Returning
ddxProcessArgument - screen - Found ``W D'' arg
(II) XF86Config is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
(++) FontPath set to tcp/Solaris:7100
winPrefsLoadPreferences: /etc/X11/system.XWinrc
LoadPreferences: Done parsing the configuration file...
winCreateBoundingWindowWindowed - Setting normal windowstyle
MIT-SHM extension disabled due to lack of kernel support
(II) AIGLX: Loaded and initialized /usr/lib/dri/swrast_dri.so
(II) GLX: Initialized DRISWRAST GL provider for screen 0
(--) 16 mouse buttons found
(--) Setting autorepeat to delay=500, rate=31
(--) winConfigKeyboard - Layout: 00010405 (00010405)
(--) Using preset keyboard for Czech (QWERTY) (10405), type 4
(++) XKB: model: pc105
(++) XKB: layout: us
winProcEstablishConnection - Hello
winProcEstablishConnection - Clipboard is not enabled, returning.
winDeinitMultiWindowWM - Noting shutdown in progress
--
This happens:
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.

I searched the web, the mailing list and I can't find any help.

Please, did anyone experienced a similar problem, I'd be gratefull for any hint.

Thank you very much.
Jana Sklenickova
Czech republic

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