Re: Cygwin/X XDMCP Issue

2015-02-23 Thread Michael DePaulo
On Sun, Feb 22, 2015 at 4:38 PM, Maarten Hoes hoes.maar...@gmail.com wrote:


 On 22-2-2015 22:09, Maarten Hoes wrote:


 28   1.690209 192.168.0.21 - 192.168.178.20 TCP 74 60221â+'6000 [SYN]
 Seq=0 Win=29200 Len=0 MSS=1460 SACK_PERM=1 TSval=6862378 TSecr=0 WS=128

 Wait, what ? send to 192.168.178.20 instead of 192.168.0.20 ? i changed the
 ip address range of my home network. thats whats wrong, now i guess i need
 to figure out where i forgot to update that ip range / address.

 Oh, well.

I can think of 2 possible issues/solutions:

With XDMCP under VcXsrv or Cygwin XWin, you often need to use this
argument to, usually when you have multiple (virtual) network
adapters:
-from 192.168.0.20

XDMCP involves a forward-confirmed reverse DNS lookup. So if you have
incorrect DNS records like the following:
PTR: 192.168.0.20 - windows-pc
A:   windows-pc - 192.168.178.20
Then this problem will happen.

-Mike

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



[ANNOUNCEMENT] Updated: xorg-server-1.17.1-2

2015-02-23 Thread Jon TURNEY


The following packages have been updated in the Cygwin distribution:

*** xorg-server-*1.17.1-2

These packages contain XWin and the other X.Org X11 servers.

The following cygwin-specific changes have been made since 1.17.1-1:

* Fixes for regressions caused by RANDR change in 1.17.1-1
Addresses: https://cygwin.com/ml/cygwin-xfree/2015-02/msg00032.html
* Add marketing name for Windows 10.0
* Log the locale when it's not supported by libX11
* Log windows thread ID on fatal signal to aid in interpreting crash reports

NOTEWORTHY CHANGES IN 1.17
==

The creation of indirect GLX contexts is now prohibited by default.  The 
+iglx option is required to allow them.  See [3] for more information on 
possible OpenGL configurations.


'-nolisten tcp' is now the default, so the server only accepts local 
connections on a unix domain socket.  A '-listen' option has been added 
which can be used to restore the previous behaviour.


x86:
c1627dff7c676a226e8030b63539c8d5 *xorg-server-1.17.1-2-src.tar.xz
e9a7f22b6372d5bc223d6c98c4e8d3b3 *xorg-server-1.17.1-2.tar.xz
76c0622cbf4d6de6ddb6acc4365a4dcd *xorg-server-common-1.17.1-2.tar.xz
9c7ce33739bcea5276bf456431b04f81 *xorg-server-debuginfo-1.17.1-2.tar.xz
0ae3e9dcd500c92ed8cf9e75997a0be1 *xorg-server-devel-1.17.1-2.tar.xz
16fac69b92a437b9cd797d8bd856a74e *xorg-server-dmx-1.17.1-2.tar.xz
ac62929f5789ed8080a55032fa34c03c *xorg-server-extra-1.17.1-2.tar.xz
ec69ed455123c737eadd1122968bab29 *xwinclip-1.17.1-2.tar.xz

x86_64:
ff9942944ce5ccd4a1a994316e59b0f6 *xorg-server-1.17.1-2-src.tar.xz
532de5370f52a0c2c9777efcaef0a08e *xorg-server-1.17.1-2.tar.xz
f841880ee0467f89f33ce0d8e4dbf1b4 *xorg-server-common-1.17.1-2.tar.xz
124e514d2d6c49b9672255330f946a0d *xorg-server-debuginfo-1.17.1-2.tar.xz
bf27e40d7c78da0d0eeb1074c95377ed *xorg-server-devel-1.17.1-2.tar.xz
705ef8742d93226cbcdbba3d3cf63c88 *xorg-server-dmx-1.17.1-2.tar.xz
5c610c2a3a4cbba6ad79337d8a60fb36 *xorg-server-extra-1.17.1-2.tar.xz
69e2983e1cbca05134f5fd1098833c31 *xwinclip-1.17.1-2.tar.xz

--
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

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



[ANNOUNCEMENT] Updated: xinit-1.3.4-5

2015-02-23 Thread Yaakov Selkowitz
The following package has been updated in the Cygwin distribution:

* xinit-1.3.4-5

xinit contains commands used for starting X sessions.

This release updates the implementation of the -listen and -nolisten
flags for xorg-server 1.17.

--
Yaakov

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



[ANNOUNCEMENT] Updated: xf86-video-dummy-0.3.7-3, xf86-video-nested-0.1.0-6

2015-02-23 Thread Yaakov Selkowitz
The following packages have been updated in the Cygwin distribution:

* xf86-video-dummy-0.3.7-3
* xf86-video-nested-0.1.0-6

These drivers for the Xorg server are used as replacements for
Xvfb/Xfake and Xnest/Xepher, respectively.

These releases have been built for xorg-server 1.17.

--
Yaakov

--
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 XDMCP Issue

2015-02-23 Thread Maarten Hoes



On 23-2-2015 16:33, Maarten Hoes wrote:

On 23-2-2015 16:11, Maarten Hoes wrote:


I suspect something strange is going on under the covers of my ISP
supplied FRITZ!Box 7390, but I cant figure out what...


Looks like I managed to seriously mess up my network settings, alright.
 From another Linux host on the same subnet (192.168.0.31), I get these
ICMP messages when I try to start an X/XDMCP session to it:



   4   0.000292 192.168.0.31 - 192.168.0.20 ICMP 77 Destination
unreachable (Host administratively prohibited)
   7   1.989470 192.168.0.31 - 192.168.0.20 ICMP 77 Destination
unreachable (Host administratively prohibited)
  12   5.989469 192.168.0.31 - 192.168.0.20 ICMP 77 Destination
unreachable (Host administratively prohibited)

Oh wait, thats just the default iptables ruleset on Fedora (phew).

Well I changed the range back to 192.168.178.0/255.255.255.0, and now it 
works again. Guess ill do some digging around later looking for root 
causes when I have more time, but for now it's good enough for me.

;)

Thanks for the help,


- Maarten




  1 0.0 192.168.178.20 - 192.168.178.21 XDMCP 49 Query
  2 0.038915000 192.168.178.21 - 192.168.178.20 XDMCP 99 Willing
  3 0.213517000 192.168.178.20 - 192.168.178.21 XDMCP 352 Request
  4 0.213793000 192.168.178.21 - 192.168.178.20 XDMCP 94 Accept
  5 0.213875000 192.168.178.20 - 192.168.178.21 XDMCP 71 Manage
  6 0.221893000 192.168.178.21 - 192.168.178.20 TCP 74 42824â+'6000 
[SYN] Seq=0 Win=29200 Len=0 MSS=1460 SACK_PERM=1 TSval=4294947644 
TSecr=0 WS=128
  7 0.221999000 192.168.178.20 - 192.168.178.21 TCP 74 6000â+'42824 
[SYN, ACK] Seq=0 Ack=1 Win=65535 Len=0 MSS=1460 WS=4 SACK_PERM=1 
TSval=35608 TSecr=4294947644
  8 0.222094000 192.168.178.21 - 192.168.178.20 TCP 66 42824â+'6000 
[ACK] Seq=1 Ack=1 Win=29312 Len=0 TSval=4294947644 TSecr=35608
  9 0.33000 192.168.178.21 - 192.168.178.20 X11 114 Initial 
connection request
 10 0.222453000 192.168.178.20 - 192.168.178.21 TCP 74 [TCP segment of 
a reassembled PDU]
 11 0.222515000 192.168.178.20 - 192.168.178.21 TCP 1514 [TCP segment 
of a reassembled PDU]
 12 0.222529000 192.168.178.20 - 192.168.178.21 TCP 1514 [TCP segment 
of a reassembled PDU]
 13 0.222536000 192.168.178.21 - 192.168.178.20 TCP 66 42824â+'6000 
[ACK] Seq=49 Ack=9 Win=29312 Len=0 TSval=4294947645 TSecr=35608
 14 0.222539000 192.168.178.20 - 192.168.178.21 X11 254 Initial 
connection reply
 15 0.222602000 192.168.178.21 - 192.168.178.20 TCP 66 42824â+'6000 
[ACK] Seq=49 Ack=3093 Win=35456 Len=0 TSval=4294947645 TSecr=35608
 16 0.222715000 192.168.178.21 - 192.168.178.20 X11 86 Requests: 
QueryExtension
 17 0.22282 192.168.178.20 - 192.168.178.21 X11 98 Reply: 
QueryExtension
 18 0.222908000 192.168.178.21 - 192.168.178.20 X11 70 Requests: 
BIG-REQUESTS

 19 0.223006000 192.168.178.20 - 192.168.178.21 X11 98 Reply: BIG-REQUESTS
 20 0.223102000 192.168.178.21 - 192.168.178.20 X11 110 Requests: 
CreateGC, GetProperty

 21 0.223186000 192.168.178.20 - 192.168.178.21 X11 98 Reply: GetProperty
 22 0.22329 192.168.178.21 - 192.168.178.20 X11 86 Requests: 
QueryExtension
 23 0.22347 192.168.178.20 - 192.168.178.21 X11 98 Reply: 
QueryExtension

 24 0.22357 192.168.178.21 - 192.168.178.20 X11 74 Requests: XKEYBOARD
 25 0.223659000 192.168.178.20 - 192.168.178.21 X11 98 Reply: XKEYBOARD
 26 0.224025000 192.168.178.21 - 192.168.178.20 X11 102 Requests: 
OpenFont, QueryExtension
 27 0.224145000 192.168.178.20 - 192.168.178.21 X11 98 Reply: 
QueryExtension
 28 0.224244000 192.168.178.21 - 192.168.178.20 X11 82 Requests: 
RENDER, RENDER

 29 0.224331000 192.168.178.20 - 192.168.178.21 X11 98 Reply: RENDER

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



[ANNOUNCEMENT] Updated: xedit-1.2.2-1

2015-02-23 Thread Yaakov Selkowitz
The following package has been updated in the Cygwin distribution:

* xedit-1.2.2-1

Xedit is a simple text editor for the X Window System.

This is an update to the latest upstream release.  A desktop menu entry
has been added.

--
Yaakov

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



[ANNOUNCEMENT] Updated: glib2.0-2.42.1-2

2015-02-23 Thread Yaakov Selkowitz
The following packages have been updated in the Cygwin distribution:

* libglib2.0_0-2.42.1-2
* libglib2.0-devel-2.42.1-2
* libglib2.0-doc-2.42.1-2

GLib is the low-level core library that forms the basis for projects
such as GTK+ and GNOME. It provides data structure handling for C,
portability wrappers, and interfaces for such runtime functionality as
an event loop, threads, dynamic loading, and an object system.

This release fixes the installation of the gdb python scripts in
glib2.0-debuginfo.

--
Yaakov

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



Help porting the XLaunch feature to autoselect the display number

2015-02-23 Thread Michael DePaulo
Hi,

i was talking with Jon Turney about this on IRC.

I am trying to port this feature of VcXsrv (and XMing also I think) to
Cygwin XLaunch:
https://sourceforge.net/p/vcxsrv/code/ci/460182676a960385dff96c1563f781213060f6fc/

Attached is my WIP patch. (I know it needs the comments updated for main.cc).

There's a bug in main.cc that is causing this to happen when -1 is specified:
http://imgur.com/Jv4tpip

I am not very familiar with C or C++. I am hoping that someone could
give me some advice. (I am much better at Java and bash.)

Thanks,
-Mike


0001-Now-the-display-number-can-be-set-to-automatic-by-sp.patch
Description: Binary data
--
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/