RE: Intermittent X clipboard failure
WEEBER Bill wrote: I have always had problems with copy/paste as well. At least I didn't have these problems before last December, when my laptop was migrated from w2k to Vista, and I had to reinstall Cygwin from scratch, getting in fact both upgrades in the same time. But I confirm (again) that checking out the boxes in the Office clipboard seems to solve the problem, even so that I do not notice any loss of functionality (just the popups in the bottom-right corner...). Marc -- View this message in context: http://www.nabble.com/Intermittent-X-clipboard-failure-tp21083419p22078096.html Sent from the cygwin-xfree mailing list archive at Nabble.com. -- 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: /usr/bin/startx fails on new x.org install?
Lloyd Wood wrote: Lloyd Wood wrote: XWin was started with the following command line: /usr/bin/X :0 -auth /cygdrive/c/Documents and Settings/lwood/.serverauth.3000 ddxProcessArgument - Initializing default screens winInitializeDefaultScreens - w 1400 h 1050 winInitializeDefaultScreens - returning Unrecognized option: and [..] This isn't X-specific; spaces and *NIX paths don't mix. Tell that to any Mac OS X user. Please use a sane home directory, like /home/lwood. startx used to work. Now, it doesn't. Ergo, like lack of opengl hardware acceleration, it can be argued that it's a regression in functionality. (I have to keep files under Documents\ and\ Settings. That has worked fine for for startx the last eight years. Now, it's broken.) handling of paths has been broken, due to lame programming practices. it needs to be fixed. Thanks for identifying this as a regression. I wasn't sure if this used to work or not. I think that the attached patch for startx should fix this problem, if you wouldn't mind testing it. 4. Hogging and not freeing menu/window resources in X, as my Insight Tcl program failing with 'unable to register Tk TopLevel class' or failing to draw a window properly indicates: http://coding.derkeiler.com/Archive/Tcl/comp.lang.tcl/2008-04/msg00769.htmlhttp://coding.derkeiler.com/Archive/Tcl/comp.lang.tcl/2008-04/msg00769.html yes, Insight Tcl programs can be run without X being launched. But I have to quit X (desktop or multiwindow mode) to pull down and draw a menu in e.g. the mail program where I'm writing this. Cygwin's Tcl/Tk is currently Windows based, and this message is clearly talking about a Windows version of Tcl/Tk. I don't see what that has to do with X11? I'm walking you through visible symptoms, diagnosis, and explanation. the new Xserver is demonstrably a resource hog, in that it interferes with normal Windows operation. Too bad you're not providing us with the solution as well :-) I tried some brief experiments with the Dheapmon tool, but I didn't see any obvious leaking and wasn't able to hit this Windows resource limit - the desktop heap was only 50% full with 50 xterms, and then I hit some other limit in cygwin ('open ttydev: No such file or directory'), so a few more details about how to reproduce this problem would be very helpful. It might be also helpful if you mentioned which particular version of windows you are using, as I would guess they don't all behave the same in this regard. --- /usr/bin/startx 2009-01-19 06:43:41.00100 + +++ startx 2009-02-16 20:30:15.06250 + @@ -159,9 +159,9 @@ add :$dummy . $mcookie EOF +serverargs=${serverargs} -auth '${xserverauthfile}' -serverargs=${serverargs} -auth ${xserverauthfile} # now add the same credentials to the client authority file @@ -193,9 +193,9 @@ +eval xinit \$client\ $clientargs -- \$server\ $display $serverargs -xinit $client $clientargs -- $server $display $serverargs -- 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: Intermittent X clipboard failure
Whatever the cause is, and it does appear to be related to the Office clipboard at this point, it would be nice to get some closure on this. This behavior has been reported by multiple people. Information to we need to get to developers to properly diag the problem? The goal as I see it should be for subsequent releases of cygwin-x to not have this problem or to have explicit instructions on how to avoid it. -Chris -Original Message- From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree-ow...@cygwin.com] On Behalf Of Marc Girod Sent: Wednesday, February 18, 2009 7:59 AM To: cygwin-xfree@cygwin.com Subject: RE: Intermittent X clipboard failure WEEBER Bill wrote: I have always had problems with copy/paste as well. At least I didn't have these problems before last December, when my laptop was migrated from w2k to Vista, and I had to reinstall Cygwin from scratch, getting in fact both upgrades in the same time. But I confirm (again) that checking out the boxes in the Office clipboard seems to solve the problem, even so that I do not notice any loss of functionality (just the popups in the bottom-right corner...). Marc -- View this message in context: http://www.nabble.com/Intermittent-X-clipboard-failure-tp21083419p220780 96.html Sent from the cygwin-xfree mailing list archive at Nabble.com. -- 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: /usr/bin/startx fails on new x.org install?
Jon TURNEY wrote: Thanks for identifying this as a regression. I wasn't sure if this used to work or not. I think that the attached patch for startx should fix this problem, if you wouldn't mind testing it. Yaakov, Assuming this is the correct fix, attached is the corresponding patch to the xinit source (shell scripts generated through cpp, yuck :S) Entered into bugzilla http://sourceware.org/bugzilla/show_bug.cgi?id=9864 --- origsrc/xinit-1.1.1/startx.cpp 2008-12-17 20:59:54.0 + +++ src/xinit-1.1.1/startx.cpp 2009-02-16 21:01:44.62500 + @@ -279,7 +279,7 @@ xauth -q -f $xserverauthfile EOF add :$dummy . $mcookie EOF -#ifdef __APPLE__ +#if defined(__APPLE__) || defined(__CYGWIN__) serverargs=${serverargs} -auth '${xserverauthfile}' #else serverargs=${serverargs} -auth ${xserverauthfile} @@ -313,7 +313,7 @@ fi #else -#ifdef __APPLE__ +#if defined(__APPLE__) || defined(__CYGWIN__) eval XINIT \$client\ $clientargs -- \$server\ $display $serverargs #else XINIT $client $clientargs -- $server $display $serverargs -- 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: R: starxwin.bat always misfires the xterm once - it works!
Owen Rees wrote: --On Monday, February 16, 2009 17:40:15 +0100 Franz di Coccio wrote: Marco, your suggestion to insert %CYGWIN_ROOT%\bin\sleep 4 before the xterm launch instruction %RUN% xterm -e /usr/bin/bash -l in starxwin.bat did the trick! Thanks a lot! Grazie! F PS That's a weird behaviour, anyway... I wonder why the pause is needed only for the first execution after the system boot. Whatever... Now it works :) Because the second time, the X server is already running. The command to start the X server has --silent-dup-error, so it does nothing when the server is already running. The problem seems to be the one that prompted the thread that contains this message: http://cygwin.com/ml/cygwin-xfree/2005-04/msg00018.html As I understand it, the process that starts the X server finishes before the X server is ready to accept connections. This means that there is then a race condition between the X server start up and the next command in the startup script. If the server is ready first all is well but if not, the next command - xterm - fails to connect and gives up. This is correct. The real solution, is to use startx/xinit, as that actually has code to wait until the X server is accepting connections before starting the clients. Making startxwin.bat just launch startx or xinit would also largely solve the problem of overwriting people's customisations to startxwin.bat, as it has defined places to put those. Unfortunately, there is one important difference: xinit does't work quite the same way as startxwin.bat, in that it waits for the last client started (or the default Xterm) to exit, and when that exits, also kills the X server; startxwin just starts everything and exits. A patch to add a 'don't wait around, just exit' switch to xinit would be most useful :-) -- 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: /usr/bin/startx fails on new x.org install?
Jon, thanks for your /usr/bin/startx patch. (repeated as text below since the cygwin mailing list bounces attachments, so probably didn't make it to the list.) Applying your patch allows startx to run and launch X - but in full desktop mode, rather than the multiwindow mode that startx did for me previously. Trying: startx -multiwindow leads to: xterm: bad command line option xterm. Interesting. startx -- -multiwindow works as xinit does, but is non-obvious to the user. I'd expect startx to default to multiwindow mode. So, your patch is a step in the right direction, at least, handles spaces correctly, and should certainly be committed to the codebase. I'm using SaVi and Geomview under Cygwin/X and WinXP SP2 (a 2MB Thinkpad T43). See: https://outlook2003.surrey.ac.uk/exchweb/bin/redir.asp?URL=http://savi.sf.net/http://savi.sf.net/ The new X server has a nasty habit of dying horribly when I begin using SaVi and Geomview - there's your test case. I can live without the hardware acceleration - it's a good way of tightening SaVi's geomview commands to remove redundant drawing and group drawing commands together to remove unnecessary geomview updates - but other geomview users will have a different view. And only getting thirty seconds or so of use before the X server dies and takes everything else with it is a showstopper for all of us. Geomview now seems to be easier to build under the new Xserver regime - ./configure and make just work and do the right thing without command-line nudges - but it's far less robust and reliable in use under the new X server. (I'm not getting cut/paste between Windows and xterms in multiwindow mode, either. Entirely separate clipboards.) thanks, L. https://outlook2003.surrey.ac.uk/exchweb/bin/redir.asp?URL=http://www.ee.surrey.ac.uk/Personal/L.Wood/http://www.ee.surrey.ac.uk/Personal/L.Wood/l.w...@surrey.ac.uk --- /usr/bin/startx 2009-01-19 06:43:41.00100 + +++ startx 2009-02-16 20:30:15.06250 + @@ -159,9 +159,9 @@ add :$dummy . $mcookie EOF +serverargs=${serverargs} -auth '${xserverauthfile}' -serverargs=${serverargs} -auth ${xserverauthfile} # now add the same credentials to the client authority file @@ -193,9 +193,9 @@ +eval xinit \$client\ $clientargs -- \$server\ $display $serverargs -xinit $client $clientargs -- $server $display $serverargs -Original Message- From: Jon TURNEY [mailto:jon.tur...@dronecode.org.ukmailto:jon.tur...@dronecode.org.uk] Sent: Wed 2009-02-18 16:23 To: cc Cc: Wood L Dr (Electronic Eng) Subject: Re: /usr/bin/startx fails on new x.org install? Lloyd Wood wrote: Lloyd Wood wrote: XWin was started with the following command line: /usr/bin/X :0 -auth /cygdrive/c/Documents and Settings/lwood/.serverauth.3000 ddxProcessArgument - Initializing default screens winInitializeDefaultScreens - w 1400 h 1050 winInitializeDefaultScreens - returning Unrecognized option: and [..] This isn't X-specific; spaces and *NIX paths don't mix. Tell that to any Mac OS X user. Please use a sane home directory, like /home/lwood. startx used to work. Now, it doesn't. Ergo, like lack of opengl hardware acceleration, it can be argued that it's a regression in functionality. (I have to keep files under Documents\ and\ Settings. That has worked fine for for startx the last eight years. Now, it's broken.) handling of paths has been broken, due to lame programming practices. it needs to be fixed. Thanks for identifying this as a regression. I wasn't sure if this used to work or not. I think that the attached patch for startx should fix this problem, if you wouldn't mind testing it. 4. Hogging and not freeing menu/window resources in X, as my Insight Tcl program failing with 'unable to register Tk TopLevel class' or failing to draw a window properly indicates: https://outlook2003.surrey.ac.uk/exchweb/bin/redir.asp?URL=http://coding.derkeiler.com/Archive/Tcl/comp.lang.tcl/2008-04/msg00769.htmlhttp://coding.derkeiler.com/Archive/Tcl/comp.lang.tcl/2008-04/msg00769.html yes, Insight Tcl programs can be run without X being launched. But I have to quit X (desktop or multiwindow mode) to pull down and draw a menu in e.g. the mail program where I'm writing this. Cygwin's Tcl/Tk is currently Windows based, and this message is clearly talking about a Windows version of Tcl/Tk. I don't see what that has to do with X11? I'm walking you through visible symptoms, diagnosis, and explanation. the new Xserver is demonstrably a resource hog, in that it interferes with normal Windows operation. Too bad you're not providing us with the solution as well :-) I tried some brief experiments with the Dheapmon tool, but I didn't see any obvious leaking and wasn't able to hit this Windows resource limit - the desktop heap was only 50% full with 50 xterms, and then I hit some other limit in cygwin ('open ttydev: No such file or directory'), so a few more details about how to
Re: -query not working on cygwin/windows
km4hr wrote: I can't get -query to do anything. I only get a grey screen. Do you have disable firewalling, or open some ports, or whatever on the Windows box? I completely disabled my Windows firewall (I think) but still no joy. I'm completely illiterate on Windows. I don't care to know anything about Windows really. I just need cookbook directions to get cygwin/x working. I've also tried Xming. Same result, no response using -query. I have evidence that xdmcp is set up correctly on the linux box. I can open a terminal window (Alt F2) on the linux box and run X :1 -query linux hostname. The gdm login window appears and I can log in. You may well need to adjust the configuration on your linux box to permit remote XDMCP connections. I'm assuming you've checked the FAQ http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-xdmcp-query You should look for instructions specific to your linux distro on configuring XDMCP for remote access, for e.g. you might need allow remote access in tcpwrappers http://projects.gnome.org/gdm/docs/2.14/security.html#xdmcpaccess My network connection seems ok between the Windows box and the Linux box. Telnet works fine. Are there any log files that might help troubleshoot the problem? Yes, but they are probably on the linux host. Cygwin/X can't know why the connection is refused. I've done everything I can think of. -- 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: /usr/bin/startx fails on new x.org install?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Lloyd Wood wrote: startx -- -multiwindow works as xinit does, but is non-obvious to the user. I'd expect startx to default to multiwindow mode. startx is not Cygwin-specific, and as on other platforms, starts the X server in the rooted mode and launches the X desktop indicated in ~/xinitrc. The Start Menu item is the recommended way to start a multiwindow session. (I'm not getting cut/paste between Windows and xterms in multiwindow mode, either. Entirely separate clipboards.) Use the -clipboard server flag. Yaakov Cygwin/X -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (Cygwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAkmcRnUACgkQpiWmPGlmQSPMlQCghYu1dOM6Qaawp+xkNZ2sKZMg WlQAn16uCfNs9rQaae1kTpLRUpTzUmOh =lWxK -END PGP SIGNATURE- -- 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: R: starxwin.bat always misfires the xterm once - it works!
On Wed, Feb 18, 2009 at 12:14 PM, Jon TURNEY jon.tur...@dronecode.org.uk wrote: Making startxwin.bat just launch startx or xinit would also largely solve the problem of overwriting people's customisations to startxwin.bat, as it has defined places to put those. I would like to point out that currently, it appears that in the eyes of the average user (like me?), startx does not produce acceptable results, as was just discussed here: http://www.cygwin.com/ml/cygwin-xfree/2009-02/msg00165.html so making startxwin.bat a wrapper around startx would potentially create a problem for many users, who, mind you, were already forced to waste some time in finding a workaround to the unfortunate fact that startx stopped working after up grade to xorg :( --Dan -- 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/
Testing for release 1.5.3-7
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jon, I barely missed you on IRC this morning. Ports SVN r5753 is RC1 for 1.5.3-7; could you please svn up and test? Yaakov Cygwin/X -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (Cygwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAkmcSZAACgkQpiWmPGlmQSMarQCgs9XQsPkpljbcXesQe6v5RwHJ ZxQAn2mHjbWE+WQ44bE5PlPRpGGNjwCT =hqY4 -END PGP SIGNATURE- -- 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: /usr/bin/startx fails on new x.org install?
On Wed, Feb 18, 2009 at 05:19:57PM +, Lloyd Wood wrote: thanks for your /usr/bin/startx patch. (repeated as text below since the cygwin mailing list bounces attachments, so probably didn't make it to the list.) The cygwin mailing list does not just generally bounce all attachments. In fact, we routinely ask for cygcheck output to be attached to problem reports. Jon's attachment made it to the list just fine: http://cygwin.com/ml/cygwin-xfree/2009-02/msg00180.html cgf -- 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: xdvi unexplained locale problem
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree-ow...@cygwin.com] On Behalf Of Dan Tsafrir Sent: Saturday, February 14, 2009 2:01 PM On Sat, Feb 14, 2009 at 1:46 PM, Jon TURNEY jon.tur...@dronecode.org.uk wrote: NLSPATH = 'C:\Programs\IBM\RunTime\%N;' You should probably try without that in your environment, just to rule it out. $ unset NLSPATH $ xdvi It didn't work :( Any other ideas? Try unsetting LOCPATH: http://sourceware.org/ml/glibc-bugs/2004-05/msg00054.html HTH, 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/
RE: starxwin.bat always misfires the xterm once - it works!
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree-ow...@cygwin.com] On Behalf Of Franz di Coccio Sent: Monday, February 16, 2009 8:40 AM PS That's a weird behaviour, anyway... I wonder why the pause is needed only for the first execution after the system boot. Whatever... Now it works :) Most likely there's lots of shared libraries to load. I suspect if you were to comment out the sleep and start X once, showinf the failure, if you were to run a bunch of memory-hogging apps in sequence, when you tried X again it would once again have the problem. But are you curious enough to try this..? $.02, Mike P.S. I have no idea how many euros that is. -- 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/
Unable to load any usable ISO8859 font
I have installed the latest version of Cygwin + X11 under Longhorn/Vista Ver 6.0 Build 6001 Service Pack 1, running under WOW64 on AMD64. Cygcheck says that Longhorn/Vista (not yet supported!) but things seem to work, so far. I have downloaded the lot today, Feb 18, 2009, and the version numbers on X11 are: xorg-cf-files 1.0.2-7 xorg-docs 1.4-1 xorg-scripts 1.0.1-1 xorg-server 1.5.3-6 xorg-sgml-doctools 1.2-1 xorg-util-macros 1.2.1-1 xorg-x11-base 7.4-1 xorg-x11-bin-dlls 7.4-1 The installation and post-install all went smoothly, but on trying to start X11, xterm, as invoked by startxwin.sh, would say Unable to load any usable ISO8859 font and exit. X11 would run though and xterm -fn fixed would come up just fine, sic. I have eventually tracked the problem to... there not being any fonts.dir files in the /usr/share/fonts subdirectories. After I had made these manually with mkfontdir the problem went away. Looks like a bug in post-install. But... I did not have this problem on XP, on which I had installed Cygwin and X11 yesterday only. So, it seems to be Vista specific. Another Vista post-install difference: there are no X11 entries in the start menu. Happy hacking all, Zdzislaw Meglicki, OVPIT, Indiana University -- 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/
src/winsup/cygwin ChangeLog cygwin.din posix.s ...
CVSROOT:/cvs/src Module name:src Changes by: cori...@sourceware.org 2009-02-18 17:38:17 Modified files: winsup/cygwin : ChangeLog cygwin.din posix.sgml winsup/cygwin/include/cygwin: version.h Log message: * cygwin.din: Export open_wmemstream. * posix.sgml: Move open_wmemstream to SUSv4 section. * include/cygwin/version.h: Bump API minor number. Patches: http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=srcr1=1.4382r2=1.4383 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/cygwin.din.diff?cvsroot=srcr1=1.200r2=1.201 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/posix.sgml.diff?cvsroot=srcr1=1.24r2=1.25 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/cygwin/version.h.diff?cvsroot=srcr1=1.282r2=1.283
Re: SSH/SCREEN/REATTACH bug
Hello Andrew, sorry to inform you, using Cygwin 1.7 yields the same result. Can't wait to see the recompile using pipes! Thanks eval Original-Nachricht Datum: Tue, 17 Feb 2009 16:13:59 +0100 Von: e...@gmx.com An: cygwin@cygwin.com Betreff: SSH/SCREEN/REATTACH bug hi screen hangs when attempting to reattach to a session that wasn't manually detached but instead the ssh connection to the server where screen is running was closed. i can neither screen -list nor screen -D -RR to get back into the session. for both calls screen will wait forever but nothing will happen. strace screen -list will stop here: 329 136923 [main] screen 137852 fhandler_socket::af_local_send_secret: Sending af_local secret succeeded strace for dead screen session that doesn't come back 41 57588150 [main] SCREEN 45224 fhandler_socket::af_local_accept: af_local_accept called 63 57588213 [main] SCREEN 45224 fhandler_socket::af_local_recv_secret: Received af_local secret: 4D1A3031-594D961E-6465BE71-DAE06456 69 57588282 [main] SCREEN 45224 fhandler_socket::af_local_send_secret: Sending af_local secret succeeded 113 57588395 [main] SCREEN 45224 fhandler_socket::af_local_recv_cred: Received eid credentials: pid: 36100, uid: 1007, gid: 513 68 57588463 [main] SCREEN 45224 fhandler_socket::af_local_send_cred: Sending eid credentials succeeded 63 57588526 [main] SCREEN 45224 fhandler_socket::accept: res 7 68 57588594 [main] SCREEN 45224 cygwin_accept: 7 = accept (4, 0x22C7A0, 0x22C41C) 44 57588638 [main] SCREEN 45224 sig_send: sendsig 0x2F8, pid 45224, signal -34, its_me 1 45 57588683 [main] SCREEN 45224 sig_send: wakeup 0x1B0 81 57588764 [sig] SCREEN 45224 wait_sig: signalling pack.wakeup 0x1B0 -13 57588751 [main] SCREEN 45224 sig_send: Waiting for pack.wakeup 0x1B0 203 57588954 [main] SCREEN 45224 sig_send: returning 0x0 from sending signal -34 98 57589052 [main] SCREEN 45224 readv: readv (7, 0x22C3D0, 1) blocking, sigcatchers 5 45 57589097 [main] SCREEN 45224 readv: no need to call ready_for_read 77 57589174 [main] SCREEN 45224 readv: 0 = readv (7, 0x22C3D0, 1), errno 2 47 57589221 [main] SCREEN 45224 close: close (7) 195 57589416 [main] SCREEN 45224 fhandler_socket::close: 0 = fhandler_socket::close() 45 57589461 [main] SCREEN 45224 close: 0 = close (7) 42 57589503 [main] SCREEN 45224 sig_send: sendsig 0x2F8, pid 45224, signal -34, its_me 1 41 57589544 [main] SCREEN 45224 sig_send: wakeup 0x1AC 44 57589588 [main] SCREEN 45224 sig_send: Waiting for pack.wakeup 0x1AC 111 57589699 [sig] SCREEN 45224 wait_sig: signalling pack.wakeup 0x1AC 56 57589755 [main] SCREEN 45224 sig_send: returning 0x0 from sending signal -34 39 57589794 [main] SCREEN 45224 readv: readv (3, 0x2297F0, 1) nonblocking, sigcatchers 5 48 57589842 [main] SCREEN 45224 peek_pipe: /dev/tty3, PeekNamedPipe failed, Win32 error 109 36 57589878 [main] SCREEN 45224 peek_pipe: /dev/tty3, n -1 168 57590046 [main] SCREEN 45224 fhandler_base::ready_for_read: read_ready 1, avail 1 53 57590099 [main] SCREEN 45224 fhandler_tty_slave::read: read(22B840, 4096) handle 0x110 screen -version Screen version 4.00.03 (FAU) 23-Oct-06 uname -a CYGWIN_NT-5.2-WOW64 lalala 1.5.25(0.156/4/2) 2008-06-12 19:34 i686 Cygwin -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: editing crontab using gvim
Hi, Thanks for the response. About the quoting, that's a reply I'm just doing via Gmail, I don't recall actually doing anything special to have that quote the email. I'll see if there are other the things I can check, like the /tmp permissions. Shai On Wed, Jan 28, 2009 at 2:00 AM, Toby Allsopp x...@xxx wrote: On Tue, Jan 27 2009, Shai wrote: On Tue, Jan 29, 2008 at 9:42 PM, Toby Allsopp x...@xxx wrote: Please don't quote email addresses on this list. See http://www.cygwin.com/acronyms/#PCYMTNQREAIYR. Also, if you'd waited two more days it would have been a bit funnier. On Tue, Jan 29 2008, Shai wrote: Hi, I have gvim installed and when I do: $ crontab -e gvim opens up my crontab. But, it opens it as readonly and saving it requires wq! but then when it exits, I see: $ crontab.exe -e crontab: no changes made to crontab EDITOR=gvim -f Without the -f, gvim runs in the background and crontab see it exit immediately without making any changes. Regards, Toby. Hi Toby, If I use your method, I get this when I try and save the file in gvim: E45: 'readonly' option is set (add ! to override) I'm guessing this probably has something to do with permissions in /tmp. I suggest you read the User's Guide and FAQ and look into it. Toby. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: SSH/SCREEN/REATTACH bug
sorry to inform you, using Cygwin 1.7 yields the same result. OK, too bad. Can't wait to see the recompile using pipes! I recompiled it yesterday in 1.7, and the configure script still found a broken fifo implementation, but in a gentler way than in 1.5 (without a nasty hang). So I'll report this as a Cygwin bug and see if it can get fixed. Even if that happens though, there's no guarantee that it will fix this bug. Failing that, I'm afraid this may be hard to track down. Your strace helps. If anyone else can reproduce this bug or offer any suggestions on pinning it down, I'm all ears. Andrew. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: sshd w/o admin?
Aaron Davies wrote: is it possible to get sshd working w/o admin privs? Running 'ssh-host-config' requires adminstrative privileges to create users to run 'sshd' as a service (for W2K3 and later) and for privilege separation. If you don't want/need these, then you can bypass these as part of the configuration. This will mean: 1. You cannot run sshd as a service (on W2K3 or later) so you will not be able to use pub-key authentication. On W2K and XP systems, you can use the existing 'SYSTEM' user to run 'sshd' as a service if you'd like. 2. You will always be running 'sshd' as a privileged user but this doesn't mean much if you're not running it as a user with elevated privileges, which you're likely not if you chose not to run as a service, this is likely a non-issue. i've run ssh-host-config (without creating a new user) and started sshd manually from the shell. when i try to connect, i get Connection closed by 127.0.0.1 and an error sshd: PID 6520: fatal: seteuid 45758: Permission denied shows up in the event viewer id idnicates that 45758 is me any suggestions? Use password authentication? If you need to follow-up on this thread, please read and follow the problem reporting guidelines found here - http://cygwin.com/problems.html -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _ A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting annoying in email? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
libpng headaches!
Hello dear Cygwin users, I hope I'm posting this to the right list. If not, then I sincerely apologize! I'm programming a game using SDL and I compile with gcc under Cygwin and link with the mingw libraries. I've done this for years, and it has worked fine all the time. But a short time ago I wanted to start using libpng for my project. And this is where the nightmare starts When I try to build my game with -lpng12 and -lz I get these two errors: undefined reference to `_setjmp' And: undefined reference to `__imp___ctype_' The last one occurs on a line in my code that calls toupper() or tolower(). I've been trying to research this as good as I can, and I've found some posts here and there with other people having similar problems. It appears as if libpng refuses to compile under Cygwin? For example, this is a comment I found at the OpenTTD website: [...] at the moment I am not sure how to do this because the PNG packages for Cygwin don't work (you can include libpng and it's development headers and manually edit the Makefile.config to make it compile but it fails at linkage with undefined reference to __setjmp errors). I guess the question I'd like to have answered is, what am I doing wrong? Thank you! Best regards David Karlgren -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: libpng headaches!
David Karlgren wrote: Hello dear Cygwin users, I hope I'm posting this to the right list. If not, then I sincerely apologize! I'm programming a game using SDL and I compile with gcc under Cygwin and link with the mingw libraries. So you're really using MinGW then. The MinGW list would be the appropriate place to look for help with this problem. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _ A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting annoying in email? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: libpng headaches!
Larry Hall (Cygwin) wrote: David Karlgren wrote: Hello dear Cygwin users, I hope I'm posting this to the right list. If not, then I sincerely apologize! I'm programming a game using SDL and I compile with gcc under Cygwin and link with the mingw libraries. So you're really using MinGW then. The MinGW list would be the appropriate place to look for help with this problem. And the problem is presumably caused by trying to use the Cygwin version of libpng-devel, which will have references to functions supplied by the Cygwin DLL, when linking against MinGW runtime libs, which don't supply the same set of functions. The problem with -lz could probably be fixed by using the mingw-zlib package, but David will need to find a proper MinGW build of libpng (or roll his own). cheers, DaveK -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: libpng headaches!
Larry Hall (Cygwin) wrote: David Karlgren wrote: Hello dear Cygwin users, I hope I'm posting this to the right list. If not, then I sincerely apologize! I'm programming a game using SDL and I compile with gcc under Cygwin and link with the mingw libraries. So you're really using MinGW then. The MinGW list would be the appropriate place to look for help with this problem. Yes, I guess you're right. I was only using what was included with the Cygwin distribution, and I sort of figured they belonged to each other. But now I know where I should go from here. Thank you! Best regards David Karlgren -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Revisiting Killed by signal 2 caused by ssh -X.
Hi all. I'm consistently getting Killed by signal 2 when I press ctrl-c in an ssh -X session. I've searched the forums it seems there hasn't been a solution for this? Is there a way to prevent getting Killed by signal 2 when I press ctrl-c in ssh -X sessions? For now, what I do is this: - Before running ssh -X, in the current cygwin shell, I do a 'trap 2'. That's so that the current cygwin shell will ignore sigint. - Once that's done, I proceed with ssh -X. Cause of the previous step, Ctrl-C is now completely ignored. - I then paste `awk 'BEGIN{printf(stty intr %c\n,29)}' /dev/null` into the shell prompt to set ctrl-] as stty intr. Hope my temporary solution is useful to those who couldn't get this fixed yet. Thanks! KarHeng -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: rsyncd cannot access volume shadow copy
Matthias Meyer wrote: Hi, I run cygwin in Vista: I can create a volume shadow copy with vshadow from the Microsoft SDK as well as map it to drive B:. I can access /cygdrive/b (bash) as well as B: (cmd) from terminals of the same user which has mapped the shadow copy to the drive. But I can not access the shadow copy from terminals of other users. AND my rsyncd, which runs under the same user where the shadow copy was mapped, can't access /cygdrive/b. rsync: chdir /cygdrive/b failed Any hint? Thanks Matthias I try the same under Windows XP and it works. But only one time. I map the drive with dosdev b: \\?\GLOBALROOT\Device... rsyncd works but has locked files 2009/02/18 19:54:05 [2112] rsync: send_files failed to open Dokumente und Einstellungen/Administrator/Lokale Einstellungen/Anwendungsdaten/Microsoft/Windows/UsrClass.dat (in B): Device or resource busy (16) After dosdev -r -d b: and again dosdev b: \\?\GLOBALROOT\Device... I get from rsyncd: 2009/02/18 20:03:19 [2580] name lookup failed for 127.0.0.1: Unknown server error 2009/02/18 20:03:19 [2580] connect from UNKNOWN (127.0.0.1) 2009/02/18 20:03:19 [2580] rsync: chdir /cygdrive/b failed : No such file or directory (2) In both cases ls -alh /cygdrive/b will list the content of drive c: (which is as expected) :-O Matthias -- Don't Panic -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Strings command
Hi I'am a new user Cygwin. I have a question for your, which pachages i must install for a strings command and how install it. Sorry for my english, but I'am a Italian user. Regards Milko -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Strings command
I assume that $ which strings returns nothing? As far as I can tell, it's default in my environment at /usr/bin/strings. William Sutton On Wed, 18 Feb 2009, Milko wrote: Hi I'am a new user Cygwin. I have a question for your, which pachages i must install for a strings command and how install it. Sorry for my english, but I'am a Italian user. Regards Milko -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Strings command
Milko wrote: Hi I'am a new user Cygwin. I have a question for your, which pachages i must install for a strings command and how install it. Sorry for my english, but I'am a Italian user. You can search for strings.exe at http://cygwin.com/packages/, it will tell you which package to install. (It's in binutils.) cheers, DaveK -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Strings command
Return no strings in (/usr/local/bin:... A packages in binutils but how i can install it. sorry but i'am a nuwbie regards Milko William Sutton ha scritto: I assume that $ which strings returns nothing? As far as I can tell, it's default in my environment at /usr/bin/strings. William Sutton On Wed, 18 Feb 2009, Milko wrote: Hi I'am a new user Cygwin. I have a question for your, which pachages i must install for a strings command and how install it. Sorry for my english, but I'am a Italian user. Regards Milko -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Strings command
--- Mer 18/2/09, ha scritto: Da: Milko Oggetto: Re: Strings command A: Cc: cygwin@cygwin.com Data: Mercoledì 18 febbraio 2009, 21:53 Return no strings in (/usr/local/bin:... A packages in binutils but how i can install it. sorry but i'am a nuwbie regards Milko As newbie you should start reading the documentation http://cygwin.com/cygwin-ug-net/setup-net.html Any package can be installed using the setup program binutils is in Devel category. Regards Marco Passa a Yahoo! Mail. La webmail che ti offre GRATIS spazio illimitato, antispam e messenger integrato. http://it.mail.yahoo.com/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
rsyncd cannot access volume shadow copy
Hi, I run cygwin in Vista: I can create a volume shadow copy with vshadow from the Microsoft SDK as well as map it to drive B:. I can access /cygdrive/b (bash) as well as B: (cmd) from terminals of the same user which has mapped the shadow copy to the drive. But I can not access the shadow copy from terminals of other users AND my rsyncd, which runs under the same user where the shadow copy was mapped, can't access /cygdrive/b. rsync: chdir /cygdrive/b failed I try the same under Windows XP and it works only one time :-O I map the drive with dosdev b: \\?\GLOBALROOT\Device... rsyncd works but has locked files 2009/02/18 19:54:05 [2112] rsync: send_files failed to open Dokumente und Einstellungen/Administrator/Lokale Einstellungen/Anwendungsdaten/Microsoft/Windows/UsrClass.dat (in B): Device or resource busy (16) After dosdev -r -d b: and again dosdev b: \\?\GLOBALROOT\Device... I get from rsyncd: 2009/02/18 20:03:19 [2580] name lookup failed for 127.0.0.1: Unknown server error 2009/02/18 20:03:19 [2580] connect from UNKNOWN (127.0.0.1) 2009/02/18 20:03:19 [2580] rsync: chdir /cygdrive/b failed : No such file or directory (2) In both (XP) cases ls -alh /cygdrive/b will list the content of drive c: Matthias -- Don't Panic -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: rsyncd cannot access volume shadow copy
Matthias Meyer wrote: Hi, I run cygwin in Vista: I can create a volume shadow copy with vshadow from the Microsoft SDK as well as map it to drive B:. I can access /cygdrive/b (bash) as well as B: (cmd) from terminals of the same user which has mapped the shadow copy to the drive. But I can not access the shadow copy from terminals of other users AND my rsyncd, which runs under the same user where the shadow copy was mapped, can't access /cygdrive/b. rsync: chdir /cygdrive/b failed I try the same under Windows XP and it works only one time :-O I map the drive with dosdev b: \\?\GLOBALROOT\Device... rsyncd works but has locked files 2009/02/18 19:54:05 [2112] rsync: send_files failed to open Dokumente und Einstellungen/Administrator/Lokale Einstellungen/Anwendungsdaten/Microsoft/Windows/UsrClass.dat (in B): Device or resource busy (16) After dosdev -r -d b: and again dosdev b: \\?\GLOBALROOT\Device... I get from rsyncd: 2009/02/18 20:03:19 [2580] name lookup failed for 127.0.0.1: Unknown server error 2009/02/18 20:03:19 [2580] connect from UNKNOWN (127.0.0.1) 2009/02/18 20:03:19 [2580] rsync: chdir /cygdrive/b failed : No such file or directory (2) In both (XP) cases ls -alh /cygdrive/b will list the content of drive c: Is there something of significance here that differs from http://cygwin.com/ml/cygwin/2009-02/msg00404.html? -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _ A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting annoying in email? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: rsyncd cannot access volume shadow copy
Am Mittwoch 18 Februar 2009 schrieb Larry Hall (Cygwin): Is there something of significance here that differs from http://cygwin.com/ml/cygwin/2009-02/msg00404.html? -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 No, is the same problem. But I found today two old threads around this problem in the mailgroup and I hope to find an answer here. br Matthias -- Don't Panic -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: rsyncd cannot access volume shadow copy
Am Mittwoch 18 Februar 2009 schrieb Matthias Meyer: Am Mittwoch 18 Februar 2009 schrieb Larry Hall (Cygwin): Is there something of significance here that differs from http://cygwin.com/ml/cygwin/2009-02/msg00404.html? -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 No, is the same problem. But I found today two old threads around this problem in the mailgroup and I hope to find an answer here. br Matthias -- Don't Panic and I didn't recognize that cygwin@cygwin.com is the same as gmane.os.cygwin. I'm stupid ;-) Sorry -- Don't Panic -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Can't find show-paren-mode under XEmacs
I am new to Cygwin and XEmacs, but when I installed XEmacs and tried using several features that I found documented, several places say that they can't find show-paren-mode (or that the function is void). I have searched online thinking (in my non-Lisp, non-XEmacs way), that there may be a show-paren-mode.el (or .elc) that I was supposed to manually download, but I can't find one. I did try entering the command M-x show-paren-mode and that to received an error message. Any help on what I am missing or how to fix this? (If there is a separate XEmacs list that I should send this to, please let me know. I found information on an XEmacs list, but I am not certain that this wasn't a problem with my Cygwin install.) -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Mirror List Inconsistencies
A few quibbles on the mirror list http://cygwin.com/mirrors.html: Germany is listed twice. - The first is as a country in Europe having 15 mirrors. - The second as a region, having one country, called Europe, that has a single mirror, http://cygwin.abdaal.com/pub/. Canada is listed as it's own region, not part of North America. North America either should be renamed United States or it should include Alberta, Ontario, and Quebec. (The latter seem to me to be most consistent with the rest of the list.) Since all the primary bullets are continents (with the exception of Germany and Canada), I would delete South from the first instance of South Africa. And yes, none of this really matters. The list is perfectly understandable as is. So one needn't fix it. - Barry Disclaimer: Statements made herein are not made on behalf of NIAID. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Attempting build of setup.exe from source-tarball fail (no joy)
Dave Korn wrote: And then, in order to comply with my GPL obligations, I uploaded a copy of the source, which you can get from http://rapidshare.com/files/196432438/setup-2.573.2.3.tar.bz2 --- Not to cause problems or anything and not anything would likely come of it anyway, but I thought I'd try to give the tarball a spin and see if i could generate the binary (since that is, sorta, the purpose of the Gnu license...so people can rebuild their binaries and/or make mods to them...etc) I downloaded and unpacked, looked at README. At first I didn't run bootstrap.sh, as it said not to use it if I was building from a tarball (which appeared to be the case). That failed in the config...config log section that failed was: configure:2598: checking for C++ compiler version configure:2605: g++ -mno-cygwin --version 5 g++ (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125) ... configure:2608: $? = 0 configure:2615: g++ -mno-cygwin -v 5 Reading specs from /usr/lib/gcc/i686-pc-mingw32/3.4.4/specs Configured with: /usr/build/package/orig/test.respin/gcc-3.4.4-3/configure --verbose --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-languages=c,ada,c++,d,f77,pascal,java,objc --enable-nls --without-included-gettext --enable-version-specific-runtime-libs --without-x --enable-libgcj --disable-java-awt --with-system-zlib --enable-interpreter --disable-libgcj-debug --enable-threads=posix --enable-java-gc=boehm --disable-win32-registry --enable-sjlj-exceptions --enable-hash-synchronization --enable-libstdcxx-debug Thread model: posix gcc version 3.4.4 (cygming special, gdc 0.12, using dmd 0.125) configure:2618: $? = 0 configure:2625: g++ -mno-cygwin -V 5 g++: argument to `-V' missing configure:2628: $? = 1 configure:2651: checking for C++ compiler default output file name configure:2678: g++ -mno-cygwinconftest.cpp 5 g++: installation problem, cannot exec 'cc1plus': No such file or directory configure:2681: $? = 1 locate of cc1plus shows: /lib/gcc/i686-pc-cygwin/3.4.4/cc1plus.exe /lib/gcc/i686-pc-cygwin/4.3.2/cc1plus.exe /lib/gcc/i686-pc-mingw32/3.4.4/cc1plus.exe It seems like configure is trying to use c++ version 3.4.4 and I see two copies of cc1plus.exe for 3.4.4 depending on whether one is using ming or not. I know I don't have either of those library paths in my PATH executable -- but that should be handled/called by gcc/g++ -- not something I should be concerned about. Any idea what might be causing the problem? I could post a cygcheck output if this was a cygwin bug, but I'm assuming this is SOME variation of a cockpit error since I've never gotten setup or cygwin to build successfully any time I've tried it (sigh). -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: sshd w/o admin?
On Thu, Feb 19, 2009 at 12:33 AM, Larry Hall (Cygwin) reply-to-list-only...@cygwin.com wrote: Aaron Davies wrote: is it possible to get sshd working w/o admin privs? Running 'ssh-host-config' requires adminstrative privileges to create users to run 'sshd' as a service (for W2K3 and later) and for privilege separation. If you don't want/need these, then you can bypass these as part of the configuration. This will mean: 1. You cannot run sshd as a service (on W2K3 or later) so you will not be able to use pub-key authentication. On W2K and XP systems, you can use the existing 'SYSTEM' user to run 'sshd' as a service if you'd like. 2. You will always be running 'sshd' as a privileged user but this doesn't mean much if you're not running it as a user with elevated privileges, which you're likely not if you chose not to run as a service, this is likely a non-issue. I'm on XP Pro. How would I go about installing it as a service under SYSTEM? ssh-host-config doesn't seem to be able to do that for me (log attached, as is cygcheck output). i've run ssh-host-config (without creating a new user) and started sshd manually from the shell. when i try to connect, i get Connection closed by 127.0.0.1 and an error sshd: PID 6520: fatal: seteuid 45758: Permission denied shows up in the event viewer id idnicates that 45758 is me any suggestions? Use password authentication? I don't get to an authentication stage at all AFAICT. -- Aaron Davies aaron.dav...@gmail.com ssh-host-config.log Description: Binary data cygcheck.out Description: Binary data -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: sshd w/o admin?
Aaron Davies wrote: On Thu, Feb 19, 2009 at 12:33 AM, Larry Hall (Cygwin) XX wrote: ^^ http://cygwin.com/acronyms/#PCYMTNQREAIYR Thanks! Aaron Davies wrote: is it possible to get sshd working w/o admin privs? Running 'ssh-host-config' requires adminstrative privileges to create users to run 'sshd' as a service (for W2K3 and later) and for privilege separation. If you don't want/need these, then you can bypass these as part of the configuration. This will mean: 1. You cannot run sshd as a service (on W2K3 or later) so you will not be able to use pub-key authentication. On W2K and XP systems, you can use the existing 'SYSTEM' user to run 'sshd' as a service if you'd like. I'm on XP Pro. How would I go about installing it as a service under SYSTEM? ssh-host-config doesn't seem to be able to do that for me (log attached, as is cygcheck output). Of course. My mistake. You need admin privileges to install a service. If you don't have this or can't get it for the configuration portion of the installation, you won't be able to run as a service. :-( i've run ssh-host-config (without creating a new user) and started sshd manually from the shell. when i try to connect, i get Connection closed by 127.0.0.1 and an error sshd: PID 6520: fatal: seteuid 45758: Permission denied shows up in the event viewer id idnicates that 45758 is me any suggestions? Use password authentication? I don't get to an authentication stage at all AFAICT. But what authentication methods do you allow? If you allow pubkey and have set up the keys for this (via 'ssh-user-config'), this could be the problem. Your 'sshd' won't be able to change user to 'you'. That's what the 'seteuid' message above means. I'd recommend removing all ssh key files in ~/.ssh and trying again. Also, FWIW, using a remote drive as your home adds a level of complication. You may want to try to create a local home directory, point to this in your '/etc/passwd', and rerun 'ssh-user-config' if you continue to have problems. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _ A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting annoying in email? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: RFE?: CygWinDir in ENV? (was Re: How does one find where Cygwin was installed from Windows?)
On Tue, 10 Feb 2009 15:47:10 -0500 Larry Hall (Cygwin) reply-to-list-only...@cygwin.com wrote: rhubbell wrote: Are you and Linda married by any chance? Now that's funny! :-) I'm glad you laughed, whew! That exchange had me a little worried about the list. But now I see all's fine. In case I need to be crystal clear on this subject, no we have no common relationship beyond that of both being participants on this list. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _ A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting annoying in email? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: sshd w/o admin?
On Thu, Feb 19, 2009 at 10:03 AM, Larry Hall (Cygwin) wrote: Aaron Davies wrote: On Thu, Feb 19, 2009 at 12:33 AM, Larry Hall (Cygwin) wrote: ^^ http://cygwin.com/acronyms/#PCYMTNQREAIYR Thanks! is this even possible in gmail? if not, i'll do it manually for now. Aaron Davies wrote: is it possible to get sshd working w/o admin privs? Running 'ssh-host-config' requires adminstrative privileges to create users to run 'sshd' as a service (for W2K3 and later) and for privilege separation. If you don't want/need these, then you can bypass these as part of the configuration. This will mean: 1. You cannot run sshd as a service (on W2K3 or later) so you will not be able to use pub-key authentication. On W2K and XP systems, you can use the existing 'SYSTEM' user to run 'sshd' as a service if you'd like. I'm on XP Pro. How would I go about installing it as a service under SYSTEM? ssh-host-config doesn't seem to be able to do that for me (log attached, as is cygcheck output). Of course. My mistake. You need admin privileges to install a service. If you don't have this or can't get it for the configuration portion of the installation, you won't be able to run as a service. :-( that's ok, i'm comfortable with running it out of my .profile or something similar. i've run ssh-host-config (without creating a new user) and started sshd manually from the shell. when i try to connect, i get Connection closed by 127.0.0.1 and an error sshd: PID 6520: fatal: seteuid 45758: Permission denied shows up in the event viewer id idnicates that 45758 is me any suggestions? Use password authentication? I don't get to an authentication stage at all AFAICT. But what authentication methods do you allow? If you allow pubkey and have set up the keys for this (via 'ssh-user-config'), this could be the problem. Your 'sshd' won't be able to change user to 'you'. That's what the 'seteuid' message above means. I'd recommend removing all ssh key files in ~/.ssh and trying again. The vast majority of use I get out of ssh on this box is outgoing, and I have several keys set up for ssh'ing into various linux boxes. However, I have no ~/.ssh/authorized_keys. The local ssh_config and sshd_config are unmodified from the versions written by ssh-host-config, AFAIK, which is identical to /etc/defaults for ssh_config, and for sshd_config, only varies by setting the port and turning off StrictModes and UsePrivilegeSeparation. I have never run ssh-user-config; I generated the keys directly with the standard keygen tools. I tried moving all my keys aside (outside of ~/.ssh). Now ssh localhost on the local box takes my password, prints the banner, then quits with Connection to localhost closed. % ssh localhost adav...@localhost's password: Last login: Thu Feb 19 10:41:39 2009 from localhost Connection to localhost closed. The same setreuid error is left in the event log Why exactly does it need to setreuid to me when it's already me? This sshd process is started by and running under the same id it's trying to become. Also, FWIW, using a remote drive as your home adds a level of complication. You may want to try to create a local home directory, point to this in your '/etc/passwd', and rerun 'ssh-user-config' if you continue to have problems. I'll give this a try next, I guess. -- Aaron Davies aaron.dav...@gmail.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: RFE?: CygWinDir in ENV? (was Re: How does one find where Cygwin was installed from Windows?)
rhubbell wrote: On Tue, 10 Feb 2009 15:47:10 -0500 Larry Hall (Cygwin) wrote: http://cygwin.com/acronyms/#PCYMTNQREAIYR. Thanks. rhubbell wrote: Are you and Linda married by any chance? Now that's funny! :-) I'm glad you laughed, whew! That exchange had me a little worried about the list. But now I see all's fine. Indeed. I know Linda and she knows me from this list. We've both been around here a while. So there may be some shorthand and references that the uninitiated may have missed. But if our exchange made you uncomfortable, your constitution may be too weak for this list. If you doubt me, put on your favorite pair of flame-proof overalls and do some light reading of the email archives. :-) -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _ A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting annoying in email? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: sshd w/o admin?
Aaron Davies wrote: On Thu, Feb 19, 2009 at 10:03 AM, Larry Hall (Cygwin) wrote: Aaron Davies wrote: On Thu, Feb 19, 2009 at 12:33 AM, Larry Hall (Cygwin) wrote: ^^ http://cygwin.com/acronyms/#PCYMTNQREAIYR Thanks! is this even possible in gmail? if not, i'll do it manually for now. Not sure. Probably not. But I don't know much about gmail so I wouldn't put too much stock in anything I might say about it. snip I tried moving all my keys aside (outside of ~/.ssh). Now ssh localhost on the local box takes my password, prints the banner, then quits with Connection to localhost closed. % ssh localhost adav...@localhost's password: Last login: Thu Feb 19 10:41:39 2009 from localhost Connection to localhost closed. The same setreuid error is left in the event log Why exactly does it need to setreuid to me when it's already me? This sshd process is started by and running under the same id it's trying to become. I'm not sure. I thought this was because it was trying to use pub-key authentication, which is why I suggested password. So I can't help here. Also, FWIW, using a remote drive as your home adds a level of complication. You may want to try to create a local home directory, point to this in your '/etc/passwd', and rerun 'ssh-user-config' if you continue to have problems. I'll give this a try next, I guess. It's worth a shot. If you get things working that way, you can always try going back to your remote home and set 'smbntsec' in your CYGWIN environment variable. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _ A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting annoying in email? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/