Re: Dfficulty with xorg-server-1.17.1-2.
2015.03.01.09:06:13 EST Hi Jon, Thanks for the tips. George gee_barrick_at_kent_dot_edu On 2/28/15, Jon TURNEY jon.tur...@dronecode.org.uk wrote: On 25/02/2015 14:30, GEORGE BARRICK wrote: I have one small note for other folks who might like to run their system in a way similar to mine. I like to have xlaunch automatically start a single colored xterm for me (in multi-window mode). After that I just open more from the command line as it suits me. If I use the command line embedded in the installed xlaunch.lnk file: C:\cygwin\bin\run.exe /usr/bin/bash.exe -l -c /usr/bin/xlaunch.exe it always prompts me through the tiresome configure start GUI at the beginning. Adding the phrase -run ~/config/config.xlaunch at the end of that command line always gets ignored in favor of the configure start GUI. You need to quote the whole command line for bash after the -c, otherwise bash treats words after the first one as positional parameters. However, getting this quotation passed correctly through run requires a little bit of gymnastics, but this should work: C:\cygwin\bin\run.exe --quote /usr/bin/bash.exe -l -c xlaunch -run ~/config/config.xlaunch However, when I strip the invocation of the bash from that command: C:\cygwin\bin\run.exe /usr/bin/xlaunch.exe -run ~/config/config.xlaunch the xlaunch goes right ahead to run the single xterm that's described in my ~/config/config.xlaunch file. This is not quite equivalent as there is no login shell in the ancestry of whatever your config.xlaunch starts, so your ~/.profile may not have been read. For that reason, using 'bash -l -c ' is preferred and that's what start menu links that cygwin installs generally use. -- 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: Dfficulty with xorg-server-1.17.1-2.
On 25/02/2015 14:30, GEORGE BARRICK wrote: I have one small note for other folks who might like to run their system in a way similar to mine. I like to have xlaunch automatically start a single colored xterm for me (in multi-window mode). After that I just open more from the command line as it suits me. If I use the command line embedded in the installed xlaunch.lnk file: C:\cygwin\bin\run.exe /usr/bin/bash.exe -l -c /usr/bin/xlaunch.exe it always prompts me through the tiresome configure start GUI at the beginning. Adding the phrase -run ~/config/config.xlaunch at the end of that command line always gets ignored in favor of the configure start GUI. You need to quote the whole command line for bash after the -c, otherwise bash treats words after the first one as positional parameters. However, getting this quotation passed correctly through run requires a little bit of gymnastics, but this should work: C:\cygwin\bin\run.exe --quote /usr/bin/bash.exe -l -c xlaunch -run ~/config/config.xlaunch However, when I strip the invocation of the bash from that command: C:\cygwin\bin\run.exe /usr/bin/xlaunch.exe -run ~/config/config.xlaunch the xlaunch goes right ahead to run the single xterm that's described in my ~/config/config.xlaunch file. This is not quite equivalent as there is no login shell in the ancestry of whatever your config.xlaunch starts, so your ~/.profile may not have been read. For that reason, using 'bash -l -c ' is preferred and that's what start menu links that cygwin installs generally use. -- 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: Dfficulty with xorg-server-1.17.1-2.
2015.02.25.09:27:05 Hey Jon and cygwin staff, As you surmised, the difficulty was with xlaunch starting the new xwin-1.17.2-1. The xlaunch-20150224-1 that you posted yesterday works like a charm. I have one small note for other folks who might like to run their system in a way similar to mine. I like to have xlaunch automatically start a single colored xterm for me (in multi-window mode). After that I just open more from the command line as it suits me. If I use the command line embedded in the installed xlaunch.lnk file: C:\cygwin\bin\run.exe /usr/bin/bash.exe -l -c /usr/bin/xlaunch.exe it always prompts me through the tiresome configure start GUI at the beginning. Adding the phrase -run ~/config/config.xlaunch at the end of that command line always gets ignored in favor of the configure start GUI. However, when I strip the invocation of the bash from that command: C:\cygwin\bin\run.exe /usr/bin/xlaunch.exe -run ~/config/config.xlaunch the xlaunch goes right ahead to run the single xterm that's described in my ~/config/config.xlaunch file. This is a petty subtlety, but I know there are a lot of desktop tweakers out there who might find it a little bit helpful. George gee_barrick_kent_dot_edu P.S.Thanks_x_10^{12} to cygwin for your great system and service to the FOSS community. On 2/24/15, GEORGE BARRICK gbarr...@kent.edu wrote: 2015.02.24.18:06:36 EST Hey Jon, Thanks for your attention to all that detail. I will test the updated xlaunch-20150224-1 when it hits some of the mirrors tomorrow morning. Georgegee_barrick_at_kent_dot_edu On 2/24/15, Jon TURNEY jon.tur...@dronecode.org.uk wrote: On 24/02/2015 19:35, Jon TURNEY wrote: On 24/02/2015 19:05, Jim Reisert AD1C wrote: On Tue, Feb 24, 2015 at 11:03 AM, GEORGE BARRICK wrote: The other notable problem to report is that my X-server now crashes after about 5-10 minutes of use. Since this issue does not get reported in xwin.0.log or xwin.0.log.old, I do not yet know how to provide more information. I have seen this also. It only happens on my PC at home, if I leave it alone for hours on end. It's not nearly as frequent as 5-10 minutes. I need to check the log files again, but I don't remember seeing anything there the first time I looked. With regard to the crash problems, can you please try the instructions at [1] to generate a backtrace. [1] http://x.cygwin.com/devel/backtrace.html Possibly this was xlaunch deciding that the X server hasn't started successfully after ~12 minutes or so, and killing it. So don't bother, unless you have crash problems after upgrading to xlaunch-20150224-1, or when not using xlaunch. -- 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: Dfficulty with xorg-server-1.17.1-2.
On 25/02/2015 04:35, Jim Reisert AD1C wrote: # gdb --pid=`pidof /usr/bin/XWin` ... Reading symbols from /usr/bin/XWin.exe...Reading symbols from /cygdrive/c/Cygwin /lib/debug//usr/bin/XWin.exe.dbg...Can't read data for section '.debug_frame' in file '/cygdrive/c/Cygwin/lib/debug/usr/bin/XWin.exe.dbg' (gdb) c Continuing. Cannot execute this command while the selected thread is running. (gdb) At this point, I can not right-click on the 'X' icon to do anything. Once I exit gdb, then I can. How can I get past this? Odd. Are you sure you are using the current, cygwin gdb? But let's step back a moment, since I don't think you have the same problem as the OP. [ 164.799] winClipboardProc - winClipboardFlushWindowsMessageQueue trapped WM_QUIT message, exiting main loop. Perhaps we need to be a little more specific about what we mean by 'crashing'. This log message probably means that the X server is just spontaneously deciding it should exit, rather than exiting due to a program error signal with the A fatal error has occurred dialog. Can you provide a full Xwin.0.log file, please? I am assuming that this problem started with xorg-server 1.17 and reverting to 1.16.3-1 fixes it? -- 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: Dfficulty with xorg-server-1.17.1-2.
On 24/02/2015 18:03, GEORGE BARRICK wrote: I've been using xlaunch with a windows desktop shortcut for about a year to start a multi-window instance of xwin on my Win7 computers. [snip] OK. Now for the difficulty. I recently (today) updated my cygwin system to include the newest xorg-server, xorg-server-common and xorg-server-dmx (the 1.17.1-2 versions) as well as xf86-video-dummy_0.3.7-3 xf86-video-nested-0.1.0-6 and xinit_1.3.4-5, and have found that xlaunch no longer seems capable of finding my .xlaunch-file. It starts X as before, but does not automatically spin up the xterm that my .xlaunch-file requests. I wind up having to start an xterm manually from the xwin Applications menu. In summary, I have changed _nothing_ except for the new X-stuff, and have this problem. The log-file from xwin does not seem radically different: [snip] The other notable problem to report is that my X-server now crashes after about 5-10 minutes of use. [snip] P.S. Excuse verbosity of this report; I've tried to give complete description. Thanks for providing such a detailed report, this enabled me to quickly reproduce what I think is the issue. This seems to be a problem with xlaunch, which needs a small update to work correctly with xserver 1.17. I've just uploaded xlaunch-20150224-1, which should fix this. I think this is actually also the cause of your 'crashes' as well. After about 12 minutes, xlaunch is deciding that the X server hasn't started successfully and is killing it. -- 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: Dfficulty with xorg-server-1.17.1-2.
On 24/02/2015 19:35, Jon TURNEY wrote: On 24/02/2015 19:05, Jim Reisert AD1C wrote: On Tue, Feb 24, 2015 at 11:03 AM, GEORGE BARRICK wrote: The other notable problem to report is that my X-server now crashes after about 5-10 minutes of use. Since this issue does not get reported in xwin.0.log or xwin.0.log.old, I do not yet know how to provide more information. I have seen this also. It only happens on my PC at home, if I leave it alone for hours on end. It's not nearly as frequent as 5-10 minutes. I need to check the log files again, but I don't remember seeing anything there the first time I looked. With regard to the crash problems, can you please try the instructions at [1] to generate a backtrace. [1] http://x.cygwin.com/devel/backtrace.html Possibly this was xlaunch deciding that the X server hasn't started successfully after ~12 minutes or so, and killing it. So don't bother, unless you have crash problems after upgrading to xlaunch-20150224-1, or when not using xlaunch. -- 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: Dfficulty with xorg-server-1.17.1-2.
On 24/02/2015 19:05, Jim Reisert AD1C wrote: On Tue, Feb 24, 2015 at 11:03 AM, GEORGE BARRICK wrote: The other notable problem to report is that my X-server now crashes after about 5-10 minutes of use. Since this issue does not get reported in xwin.0.log or xwin.0.log.old, I do not yet know how to provide more information. I have seen this also. It only happens on my PC at home, if I leave it alone for hours on end. It's not nearly as frequent as 5-10 minutes. I need to check the log files again, but I don't remember seeing anything there the first time I looked. With regard to the crash problems, can you please try the instructions at [1] to generate a backtrace. [1] http://x.cygwin.com/devel/backtrace.html -- 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: Dfficulty with xorg-server-1.17.1-2.
On Tue, Feb 24, 2015 at 11:03 AM, GEORGE BARRICK wrote: The other notable problem to report is that my X-server now crashes after about 5-10 minutes of use. Since this issue does not get reported in xwin.0.log or xwin.0.log.old, I do not yet know how to provide more information. I have seen this also. It only happens on my PC at home, if I leave it alone for hours on end. It's not nearly as frequent as 5-10 minutes. I need to check the log files again, but I don't remember seeing anything there the first time I looked. - Jim -- Jim Reisert AD1C, jjreis...@alum.mit.edu, http://www.ad1c.us -- 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: Dfficulty with xorg-server-1.17.1-2.
On Tue, Feb 24, 2015 at 12:35 PM, Jon TURNEY wrote: With regard to the crash problems, can you please try the instructions at [1] to generate a backtrace. [1] http://x.cygwin.com/devel/backtrace.html This isn't a backtrace, but it's what caused the X server to crash (while I was at work): [ 164.799] winClipboardProc - winClipboardFlushWindowsMessageQueue trapped WM_QUIT message, exiting main loop. I'll follow these steps before I leave for work tomororw. There is no specific action, but I'll attach gdb and let it just sit there. - Generating a backtrace when some specific action is making the X server crash -- Jim Reisert AD1C, jjreis...@alum.mit.edu, http://www.ad1c.us -- 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: Dfficulty with xorg-server-1.17.1-2.
With regard to the crash problems, can you please try the instructions at [1] to generate a backtrace. [1] http://x.cygwin.com/devel/backtrace.html gdb won't let me continue: # gdb --pid=`pidof /usr/bin/XWin` ... Reading symbols from /usr/bin/XWin.exe...Reading symbols from /cygdrive/c/Cygwin /lib/debug//usr/bin/XWin.exe.dbg...Can't read data for section '.debug_frame' in file '/cygdrive/c/Cygwin/lib/debug/usr/bin/XWin.exe.dbg' (gdb) c Continuing. Cannot execute this command while the selected thread is running. (gdb) At this point, I can not right-click on the 'X' icon to do anything. Once I exit gdb, then I can. How can I get past this? -- Jim Reisert AD1C, jjreis...@alum.mit.edu, http://www.ad1c.us -- 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: Dfficulty with xorg-server-1.17.1-2.
2015.02.24.18:06:36 EST Hey Jon, Thanks for your attention to all that detail. I will test the updated xlaunch-20150224-1 when it hits some of the mirrors tomorrow morning. Georgegee_barrick_at_kent_dot_edu On 2/24/15, Jon TURNEY jon.tur...@dronecode.org.uk wrote: On 24/02/2015 19:35, Jon TURNEY wrote: On 24/02/2015 19:05, Jim Reisert AD1C wrote: On Tue, Feb 24, 2015 at 11:03 AM, GEORGE BARRICK wrote: The other notable problem to report is that my X-server now crashes after about 5-10 minutes of use. Since this issue does not get reported in xwin.0.log or xwin.0.log.old, I do not yet know how to provide more information. I have seen this also. It only happens on my PC at home, if I leave it alone for hours on end. It's not nearly as frequent as 5-10 minutes. I need to check the log files again, but I don't remember seeing anything there the first time I looked. With regard to the crash problems, can you please try the instructions at [1] to generate a backtrace. [1] http://x.cygwin.com/devel/backtrace.html Possibly this was xlaunch deciding that the X server hasn't started successfully after ~12 minutes or so, and killing it. So don't bother, unless you have crash problems after upgrading to xlaunch-20150224-1, or when not using xlaunch. -- 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/