Re: Cygwin/X XDMCP Issue

2015-01-17 Thread Maarten Hoes

Hi,


Also, when I run wireshark/tshark, I seem to be watching a 
regular/successful XDCMP/X11 session ? :



- Maarten



  1   0.00 192.168.178.20 - 192.168.178.22 XDMCP 49 Query
  2   0.013070 192.168.178.22 - 192.168.178.20 XDMCP 106 Willing
  3   0.178469 192.168.178.20 - 192.168.178.22 XDMCP 312 Request
  4   0.183798 192.168.178.22 - 192.168.178.20 XDMCP 94 Accept
  5   0.183901 192.168.178.20 - 192.168.178.22 XDMCP 71 Manage
  6   0.687156 192.168.178.22 - 192.168.178.20 TCP 74 49008→6000 
[SYN] Seq=0 Win=29200 Len=0 MSS=1460 SACK_PERM=1 TSval=8283439 TSecr=0 
WS=128
  7   0.687297 192.168.178.20 - 192.168.178.22 TCP 74 6000→49008 
[SYN, ACK] Seq=0 Ack=1 Win=65535 Len=0 MSS=1460 WS=4 SACK_PERM=1 
TSval=1056917 TSecr=8283439
  8   0.687462 192.168.178.22 - 192.168.178.20 TCP 66 49008→6000 
[ACK] Seq=1 Ack=1 Win=29312 Len=0 TSval=8283439 TSecr=1056917
  9   0.687695 192.168.178.22 - 192.168.178.20 X11 114 Initial 
connection request
 10   0.687992 192.168.178.20 - 192.168.178.22 TCP 74 [TCP segment of 
a reassembled PDU]
 11   0.688064 192.168.178.20 - 192.168.178.22 TCP 1514 [TCP segment 
of a reassembled PDU]
 12   0.688086 192.168.178.20 - 192.168.178.22 TCP 1514 [TCP segment 
of a reassembled PDU]
 13   0.688104 192.168.178.20 - 192.168.178.22 X11 254 Initial 
connection reply
 14   0.688127 192.168.178.22 - 192.168.178.20 TCP 66 49008→6000 
[ACK] Seq=49 Ack=9 Win=29312 Len=0 TSval=8283440 TSecr=1056917
 15   0.688225 192.168.178.22 - 192.168.178.20 TCP 66 49008→6000 
[ACK] Seq=49 Ack=3093 Win=35456 Len=0 TSval=8283440 TSecr=1056917
 16   0.688451 192.168.178.22 - 192.168.178.20 X11 86 Requests: 
QueryExtension
 17   0.688654 192.168.178.20 - 192.168.178.22 X11 98 Reply: 
QueryExtension
 18   0.688823 192.168.178.22 - 192.168.178.20 X11 70 Requests: 
BIG-REQUESTS

 19   0.688958 192.168.178.20 - 192.168.178.22 X11 98 Reply: BIG-REQUESTS
 20   0.689164 192.168.178.22 - 192.168.178.20 X11 110 Requests: 
CreateGC, GetProperty

 21   0.689567 192.168.178.20 - 192.168.178.22 X11 98 Reply: GetProperty
 22   0.689752 192.168.178.22 - 192.168.178.20 X11 86 Requests: 
QueryExtension
 23   0.690102 192.168.178.20 - 192.168.178.22 X11 98 Reply: 
QueryExtension

 24   0.690259 192.168.178.22 - 192.168.178.20 X11 74 Requests: XKEYBOARD
 25   0.690419 192.168.178.20 - 192.168.178.22 X11 98 Reply: XKEYBOARD
 26   0.692905 192.168.178.22 - 192.168.178.20 X11 82 Requests: 
QueryExtension
 27   0.693104 192.168.178.20 - 192.168.178.22 X11 98 Reply: 
QueryExtension
 28   0.693326 192.168.178.22 - 192.168.178.20 X11 98 Requests: 
QueryExtension
 29   0.693477 192.168.178.20 - 192.168.178.22 X11 98 Reply: 
QueryExtension
 30   0.693627 192.168.178.22 - 192.168.178.20 X11 74 Requests: 
Generic Event Extension
 31   0.693881 192.168.178.20 - 192.168.178.22 X11 98 Reply: Generic 
Event Extension

 32   0.694061 192.168.178.22 - 192.168.178.20 X11 78 Requests: RANDR
 33   0.694183 192.168.178.20 - 192.168.178.22 X11 98 Reply: RANDR
 34   0.694334 192.168.178.22 - 192.168.178.20 X11 74 Requests: RANDR
 35   0.694481 192.168.178.20 - 192.168.178.22 X11 98 Reply: RANDR
 36   0.694628 192.168.178.22 - 192.168.178.20 X11 74 Requests: RANDR
 37   0.694759 192.168.178.20 - 192.168.178.22 X11 98 Reply: RANDR
 38   0.734457 192.168.178.22 - 192.168.178.20 TCP 66 49008→6000 
[ACK] Seq=229 Ack=3445 Win=35456 Len=0 TSval=8283487 TSecr=1056918
 39   0.774514 192.168.178.22 - 192.168.178.20 TCP 74 49009→6000 
[SYN] Seq=0 Win=29200 Len=0 MSS=1460 SACK_PERM=1 TSval=8283526 TSecr=0 
WS=128
 40   0.774620 192.168.178.20 - 192.168.178.22 TCP 74 6000→49009 
[SYN, ACK] Seq=0 Ack=1 Win=65535 Len=0 MSS=1460 WS=4 SACK_PERM=1 
TSval=1056926 TSecr=8283526
 41   0.774780 192.168.178.22 - 192.168.178.20 TCP 66 49009→6000 
[ACK] Seq=1 Ack=1 Win=29312 Len=0 TSval=8283527 TSecr=1056926
 42   0.774978 192.168.178.22 - 192.168.178.20 X11 114 Initial 
connection request
 43   0.775254 192.168.178.20 - 192.168.178.22 TCP 74 [TCP segment of 
a reassembled PDU]
 44   0.775304 192.168.178.20 - 192.168.178.22 TCP 1514 [TCP segment 
of a reassembled PDU]
 45   0.775327 192.168.178.20 - 192.168.178.22 TCP 1514 [TCP segment 
of a reassembled PDU]
 46   0.775336 192.168.178.20 - 192.168.178.22 X11 254 Initial 
connection reply
 47   0.775382 192.168.178.22 - 192.168.178.20 TCP 66 49009→6000 
[ACK] Seq=49 Ack=9 Win=29312 Len=0 TSval=8283527 TSecr=1056926
 48   0.775458 192.168.178.22 - 192.168.178.20 TCP 66 49009→6000 
[ACK] Seq=49 Ack=3093 Win=35456 Len=0 TSval=8283527 TSecr=1056926
 49   0.775580 192.168.178.22 - 192.168.178.20 X11 86 Requests: 
QueryExtension
 50   0.775697 192.168.178.20 - 192.168.178.22 X11 98 Reply: 
QueryExtension
 51   0.775818 192.168.178.22 - 192.168.178.20 X11 70 Requests: 
BIG-REQUESTS

 52   0.775916 192.168.178.20 - 192.168.178.22 X11 98 Reply: BIG-REQUESTS
 53   0.776069 192.168.178.22 - 192.168.178.20 X11 110 Requests: 
CreateGC, GetProperty

 54   0.776186 192.168.178.20 - 192.168.178.22 X11 98 Reply: 

Cygwin/X XDMCP Issue

2015-01-17 Thread Maarten Hoes

Hi,


Im having some issues when running Cygwin/X in combination with XDMCP. 
Opening a cygwin prompt and running 'startx' works as expected. When I 
try to connect to my remote Linux system with the command 'xwin -query 
192.168.178.22' (or with the 'XLaunch' program and choose XDMCP) the 
screen stays black. I get the impression that I do get an connection, 
but that there is a display problem. When I try to close the blacked out 
Window, I get the message 'Exiting will close all screens on this 
display. There are currently 6 clients connected. Proceed with the 
shutdown of this display/server ?'


When i specify 'xwin -retro -query 192.168.178.22', the cursor appears 
and the screen gets gray-ish, but mouse clicking has no effect.


Setting 'xwin -engine 16 -query 192.168.178.22' results in a blue 
background and an error: 'Failed asserion key - size == 0 at line 147 
of file 
/qip/cygport-git/x-org-server/x-org-server-1.16.3-1.x86_64/src/xserver-cygwin-1.16.3-1/include/privates.h 
in function dixSetPrivate' and a core dump.


Any and all ideas are more than welcome, as I have no idea whats going 
on here.



This is the output of the 'xwin -query 192.168.178.22' command :

$ xwin -query 192.168.178.22
Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.16.3.0
OS: CYGWIN_NT-6.3 DUSTY123 1.7.33-2(0.280/5/3) 2014-11-13 15:47 x86_64
OS: Windows 8.1  [Windows NT 6.3 build 9600] (Win64)
Package: version 1.16.3-1 built 2014-12-30

XWin was started with the following command line:

xwin -query 192.168.178.22

(II) xorg.conf is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
LoadPreferences: /home/Maarten/.XWinrc not found
LoadPreferences: Loading /etc/X11/system.XWinrc
LoadPreferences: Done parsing the configuration file...
winDetectSupportedEngines - DirectDraw4 installed, allowing ShadowDDNL
winDetectSupportedEngines - Returning, supported engines 0015
winSetEngine - Using Shadow DirectDraw NonLocking
winScreenInit - Using Windows display depth of 32 bits per pixel
winWindowProc - WM_SIZE - new client area w: 1424 h: 821
winFinishScreenInitFB - Masks: 00ff ff00 00ff
MIT-SHM extension disabled due to lack of kernel support
XFree86-Bigfont extension local-client optimization disabled due to lack 
of shared memory support in the kernel

(EE) AIGLX: No native OpenGL in modes with a root window
(II) AIGLX: enabled GLX_EXT_texture_from_pixmap
(II) AIGLX: Loaded and initialized swrast
(II) GLX: Initialized DRISWRAST GL provider for screen 0
winPointerWarpCursor - Discarding first warp: 712 410
(--) 3 mouse buttons found
(--) Setting autorepeat to delay=500, rate=31
(--) Windows keyboard layout: 0409 (0409) US, type 4
(--) Found matching XKB configuration English (USA)
(--) Model = pc105 Layout = us Variant = none Options = none
Rules = base Model = pc105 Layout = us Variant = none Options = 
none

winProcEstablishConnection - winInitClipboard returned.
winClipboardThreadProc - DISPLAY=:0.0
OS maintains clipboard viewer chain: yes
winClipboardProc - XOpenDisplay () returned and successfully opened the 
display.

winWindowProc - WM_*KEYDOWN - Closekey hit, quitting
winClipboardProc - winClipboardFlushWindowsMessageQueue trapped WM_QUIT 
message, exiting main loop.

winClipboardProc - XDestroyWindow succeeded.
winDeinitMultiWindowWM - Noting shutdown in progress
(EE) Server terminated successfully (0). Closing log file.



Regards,


- Maarten


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