Re: xinit hangs on XWin infinite loop when using -displayfd
I found as a workaround to add the arguments "-nolisten tcp" when invoking xinit. However, I was under the impression that it was incompatible with -multiwindow and -clipboard, both of which seem to be working fine: https://cygwin.com/ml/cygwin-xfree/2009-05/msg00016.html Matt D. On 7/21/2014 12:00 PM, Matt D. wrote: Ok.. so I let xinit do its thing to see if it got anywhere. Eventually it will pop and error box. Interestingly, I specified a displayfd value of "3" and yet both the popup and the log are reporting "5": http://oi58.tinypic.com/106fono.jpg My XWin.0.log is about 15MB of repeated attempts to open a socket. Here is a snippet. I hope this helps: InitConnectionLimits: MaxClients = 255 Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 1.15.1.0 OS: CYGWIN_NT-5.1 matthew-17ffb52 1.7.30(0.272/5/3) 2014-05-23 10:36 i686 OS: Windows XP Service Pack 3 [Windows NT 5.1 build 2600] (Win32) Snapshot: 20140709-git-2e9c13ea41c51df7 XWin was started with the following command line: X -displayfd 5 ddxProcessArgument - Initializing default screens winInitializeScreenDefaults - primary monitor w 1062 h 703 winInitializeScreenDefaults - native DPI x 96 y 96 ddxProcessArgument - arg: -displayfd Trying to create socket for display number 0 _XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6 _XSERVTransOpen: transport open failed for inet6/matthew-17ffb52:0 _XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6 .. Trying to create socket for display number 59534 _XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6 _XSERVTransOpen: transport open failed for inet6/matthew-17ffb52:59534 _XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6 (EE) Fatal server error: (EE) Failed to find a socket to listen on(EE) [ 58128.390] (EE) Server terminated with error (1). Closing log file. Matt D. On 7/21/2014 11:49 AM, Matt D. wrote: Still hangs with the latest 1.15.1-4 release. On my main machine, I get the following output: $ xinit -- -displayfd 1 read display number ':0' from X server 0 On the VM it just hangs. Taskmanager shows xinit.exe waiting or hung with XWin.exe churning cycles and eating memory; about 4kB a tick. Also on the VM, if I run the following: $ xinit -- -displayfd Then the display will open. So it seems to be an issue with whatever code is dealing with the file descriptors. Matt D. On 7/20/2014 9:06 PM, Matt D. wrote: The operating system is Windows XP Professional. It is a CLEAN install on a VMware virtual machine and is 100% patched up. Cygwin also is a clean install. I did try a rebaseall with no effect. This is the first time I've encountered this. When I run "xinit -- -displayfd 3", xinit will hang and XWin takes up 100% of the cpu. I've confirmed that file descriptors are working: $ exec 3>a $ echo "test" >&3 $ cat a test $ exec 3>&- I can confirm that ports are available and that both xinit and XWin work without this argument by running: $ xinit -- Everything else works fine but without "-displayfd" I can't record where the display is for this session to disk. I've also tried copying known-working Cygwin installs into the VM and still have the same error. Copying the erroring install from the VM outside and running it on my development machine (Windows 7 x64) does not generate an error. Unless something stands out here, I can provide the VMware image for testing (how convenient). Matt D. -- 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/ -- 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/ -- 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/ -- 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: [ANNOUNCEMENT] Updated: xorg-server-1.15.1-4
On 21/07/2014 16:57, Matt D. wrote: Jon, I can't find a mirror that has this yet. Is there anything I can connect to that should be up to date? Matt D. most of the mirrors have a 24 hours cycle Just wait tomorrow to see it Regards Marco -- 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: xinit hangs on XWin infinite loop when using -displayfd
Ok.. so I let xinit do its thing to see if it got anywhere. Eventually it will pop and error box. Interestingly, I specified a displayfd value of "3" and yet both the popup and the log are reporting "5": http://oi58.tinypic.com/106fono.jpg My XWin.0.log is about 15MB of repeated attempts to open a socket. Here is a snippet. I hope this helps: InitConnectionLimits: MaxClients = 255 Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 1.15.1.0 OS: CYGWIN_NT-5.1 matthew-17ffb52 1.7.30(0.272/5/3) 2014-05-23 10:36 i686 OS: Windows XP Service Pack 3 [Windows NT 5.1 build 2600] (Win32) Snapshot: 20140709-git-2e9c13ea41c51df7 XWin was started with the following command line: X -displayfd 5 ddxProcessArgument - Initializing default screens winInitializeScreenDefaults - primary monitor w 1062 h 703 winInitializeScreenDefaults - native DPI x 96 y 96 ddxProcessArgument - arg: -displayfd Trying to create socket for display number 0 _XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6 _XSERVTransOpen: transport open failed for inet6/matthew-17ffb52:0 _XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6 .. Trying to create socket for display number 59534 _XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6 _XSERVTransOpen: transport open failed for inet6/matthew-17ffb52:59534 _XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6 (EE) Fatal server error: (EE) Failed to find a socket to listen on(EE) [ 58128.390] (EE) Server terminated with error (1). Closing log file. Matt D. On 7/21/2014 11:49 AM, Matt D. wrote: Still hangs with the latest 1.15.1-4 release. On my main machine, I get the following output: $ xinit -- -displayfd 1 read display number ':0' from X server 0 On the VM it just hangs. Taskmanager shows xinit.exe waiting or hung with XWin.exe churning cycles and eating memory; about 4kB a tick. Also on the VM, if I run the following: $ xinit -- -displayfd Then the display will open. So it seems to be an issue with whatever code is dealing with the file descriptors. Matt D. On 7/20/2014 9:06 PM, Matt D. wrote: The operating system is Windows XP Professional. It is a CLEAN install on a VMware virtual machine and is 100% patched up. Cygwin also is a clean install. I did try a rebaseall with no effect. This is the first time I've encountered this. When I run "xinit -- -displayfd 3", xinit will hang and XWin takes up 100% of the cpu. I've confirmed that file descriptors are working: $ exec 3>a $ echo "test" >&3 $ cat a test $ exec 3>&- I can confirm that ports are available and that both xinit and XWin work without this argument by running: $ xinit -- Everything else works fine but without "-displayfd" I can't record where the display is for this session to disk. I've also tried copying known-working Cygwin installs into the VM and still have the same error. Copying the erroring install from the VM outside and running it on my development machine (Windows 7 x64) does not generate an error. Unless something stands out here, I can provide the VMware image for testing (how convenient). Matt D. -- 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/ -- 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/ -- 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: Wine creating windows offscreen when "multiwindow" is used?
On 09/07/2014 23:22, Matt D. wrote: Yes! That fixed it. Windows from Wine open up just as regular X windows on the primary monitor. Thanks for testing. This change is included in 1.14.1-4 To achieve this is appears as though you're ignoring the Window's requested x/y position entirely and favoring the placement heuristics, as these coordinates are being ignored. When the requested position isn't on a monitor, yes. I do have a use-case where I want windows from Wine to be created at a designated position for testing, so I don't have to test on a Windows machine for placement as well. Is it at all possible to have these windows map their coordinates strictly, as in 0,0 on the primary monitor would be 1920x1080 in my case. This is a bit more work. Firstly, it seems there are some bugs in the way we transform between X and Windows coordinates, so it's only done correctly when the top-left of the X screen is at the top-left of the Windows virtual desktop. Secondly, I'm not sure how we can have X coordinates 0,0 not at the top-left and have things work correctly. X windows with negative coordinates are by definition off-screen, so may not render correctly. Or we could adjust the placement of all windows by the required offset, but I'm not sure that is a good idea. For example, I may want a child window which is a custom dialog aligned to the center of its parent, or a newly created window to be center-aligned to the screen. You might find running wine in 'virtual desktop' mode helpful, as I don't think it has enough knowledge of the Xinerama monitor layout to place windows centered on a monitor. -- 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/
Re: xinit hangs on XWin infinite loop when using -displayfd
Still hangs with the latest 1.15.1-4 release. On my main machine, I get the following output: $ xinit -- -displayfd 1 read display number ':0' from X server 0 On the VM it just hangs. Taskmanager shows xinit.exe waiting or hung with XWin.exe churning cycles and eating memory; about 4kB a tick. Also on the VM, if I run the following: $ xinit -- -displayfd Then the display will open. So it seems to be an issue with whatever code is dealing with the file descriptors. Matt D. On 7/20/2014 9:06 PM, Matt D. wrote: The operating system is Windows XP Professional. It is a CLEAN install on a VMware virtual machine and is 100% patched up. Cygwin also is a clean install. I did try a rebaseall with no effect. This is the first time I've encountered this. When I run "xinit -- -displayfd 3", xinit will hang and XWin takes up 100% of the cpu. I've confirmed that file descriptors are working: $ exec 3>a $ echo "test" >&3 $ cat a test $ exec 3>&- I can confirm that ports are available and that both xinit and XWin work without this argument by running: $ xinit -- Everything else works fine but without "-displayfd" I can't record where the display is for this session to disk. I've also tried copying known-working Cygwin installs into the VM and still have the same error. Copying the erroring install from the VM outside and running it on my development machine (Windows 7 x64) does not generate an error. Unless something stands out here, I can provide the VMware image for testing (how convenient). Matt D. -- 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/ -- 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: modify application list
On 2014-07-21 09:45, Mark Lybarger wrote: i'd like to modify the application list that displays when i right click on the Xorg item on the system tray. i want to add some more applications to the list. how do i modify the list? http://x.cygwin.com/docs/man5/XWinrc.5.html 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: [ANNOUNCEMENT] Updated: xorg-server-1.15.1-4
Jon, I can't find a mirror that has this yet. Is there anything I can connect to that should be up to date? Matt D. On 7/21/2014 10:21 AM, Jon TURNEY wrote: The following packages have been updated in the Cygwin distribution: *** xorg-server-*1.15.1-4 These packages contain XWin and the other X.Org X11 servers. The following cygwin-specific changes have been made since 1.15.1-3: * Give the window opened by "View logfile" a better title * Fix bugs in WGL GLX which prevented pbuffers from being created with certain fbconfigs * Improve the check that window position is visible to work correctly for non-rectangular virtual desktops * Downgrade the "forcing window to exist" log message from error to debug * Some compilation warning fixes * Remove an incorrect assertion in WGL GLX, triggered by glXSwapBuffers() in the piglit glx_make_current test x86: 1860dde6aac061b0dfdda6f6d8058914 *xorg-server-1.15.1-4-src.tar.xz 9d0a0d8ec0489f2c82e6b3def4c4515a *xorg-server-1.15.1-4.tar.xz 1997c143d62cc3200a50a9c3dceb6e8b *xorg-server-common-1.15.1-4.tar.xz 185301523810734629a44b14c964551a *xorg-server-debuginfo-1.15.1-4.tar.xz a6dd1aa066b982a0c569ffda02e1a5d7 *xorg-server-devel-1.15.1-4.tar.xz 1da132c818d94b65876d6efffa2ffc1e *xorg-server-dmx-1.15.1-4.tar.xz dbcd9b591a283d2ae94ca45c73625f20 *xorg-server-extra-1.15.1-4.tar.xz 3c03a460a456018511643f4631996ece *xwinclip-1.15.1-4.tar.xz x86_64: 4d0a8cf348241607677ebab936ffa930 *xorg-server-1.15.1-4-src.tar.xz d0d82d4ba5f9c9f66714224702acc0b5 *xorg-server-1.15.1-4.tar.xz 7dad87510941a6cb1f8574ae34a9e067 *xorg-server-common-1.15.1-4.tar.xz 6c1b57cb93be5c7c3396b49d3fb6235c *xorg-server-debuginfo-1.15.1-4.tar.xz 344fc8ff65c7443065bb1d6a3116f7e1 *xorg-server-devel-1.15.1-4.tar.xz 641d55fcd6f12e856a73c1dc70b276b8 *xorg-server-dmx-1.15.1-4.tar.xz 628378b4437b78b5c2b141a6d4cc79d2 *xorg-server-extra-1.15.1-4.tar.xz 9bd491aa34e29abd51d3e9ef182e5294 *xwinclip-1.15.1-4.tar.xz -- 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/ -- 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/
modify application list
i'd like to modify the application list that displays when i right click on the Xorg item on the system tray. i want to add some more applications to the list. how do i modify the list? thanks, -mark- -- 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.15.1-4
The following packages have been updated in the Cygwin distribution: *** xorg-server-*1.15.1-4 These packages contain XWin and the other X.Org X11 servers. The following cygwin-specific changes have been made since 1.15.1-3: * Give the window opened by "View logfile" a better title * Fix bugs in WGL GLX which prevented pbuffers from being created with certain fbconfigs * Improve the check that window position is visible to work correctly for non-rectangular virtual desktops * Downgrade the "forcing window to exist" log message from error to debug * Some compilation warning fixes * Remove an incorrect assertion in WGL GLX, triggered by glXSwapBuffers() in the piglit glx_make_current test x86: 1860dde6aac061b0dfdda6f6d8058914 *xorg-server-1.15.1-4-src.tar.xz 9d0a0d8ec0489f2c82e6b3def4c4515a *xorg-server-1.15.1-4.tar.xz 1997c143d62cc3200a50a9c3dceb6e8b *xorg-server-common-1.15.1-4.tar.xz 185301523810734629a44b14c964551a *xorg-server-debuginfo-1.15.1-4.tar.xz a6dd1aa066b982a0c569ffda02e1a5d7 *xorg-server-devel-1.15.1-4.tar.xz 1da132c818d94b65876d6efffa2ffc1e *xorg-server-dmx-1.15.1-4.tar.xz dbcd9b591a283d2ae94ca45c73625f20 *xorg-server-extra-1.15.1-4.tar.xz 3c03a460a456018511643f4631996ece *xwinclip-1.15.1-4.tar.xz x86_64: 4d0a8cf348241607677ebab936ffa930 *xorg-server-1.15.1-4-src.tar.xz d0d82d4ba5f9c9f66714224702acc0b5 *xorg-server-1.15.1-4.tar.xz 7dad87510941a6cb1f8574ae34a9e067 *xorg-server-common-1.15.1-4.tar.xz 6c1b57cb93be5c7c3396b49d3fb6235c *xorg-server-debuginfo-1.15.1-4.tar.xz 344fc8ff65c7443065bb1d6a3116f7e1 *xorg-server-devel-1.15.1-4.tar.xz 641d55fcd6f12e856a73c1dc70b276b8 *xorg-server-dmx-1.15.1-4.tar.xz 628378b4437b78b5c2b141a6d4cc79d2 *xorg-server-extra-1.15.1-4.tar.xz 9bd491aa34e29abd51d3e9ef182e5294 *xwinclip-1.15.1-4.tar.xz -- 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/