Sshd and key based authentication

2013-11-17 Thread Andrea Venturoli
Hello. I'm trying to set up sshd on a Windows 2003 domain controller. Everything works with password authentication; however I need this for a script, so, in order to get non-interactive login, I must use keys. Tried as hard as I could, but I could not achieve this: I'm always asked for a passw

Re: Sshd and key based authentication

2013-11-18 Thread Andrea Venturoli
On 11/18/13 09:22, Andrey Repin wrote: Did you installed Cygwin LSA module? http://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-nopasswd2 I don't think so, but I can't check right now... Should I? bye & Thanks av. -- Problem reports: http://cygwin.com/problems.html FAQ:

Re: Sshd and key based authentication

2013-11-20 Thread Andrea Venturoli
On 11/18/13 10:17, Andrea Venturoli wrote: On 11/18/13 09:22, Andrey Repin wrote: Did you installed Cygwin LSA module? http://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-nopasswd2 I don't think so, but I can't check right now... Should I? Hello. Today I followed your instruction

Re: Sshd and key based authentication

2013-11-26 Thread Andrea Venturoli
On 11/20/13 22:47, Andrey Repin wrote: I raised the loglevel to DEBUG3 and verified sshd was *always* looking for /home/cyg_server/.ssh/authorized_keys, regardless of the user trying to log in. Erm, that strange. Can we see a egrep -iv "^(#|$)" /etc/ssh/sshd_config ? Hello. I tracked this

emacs won't run

2013-12-04 Thread Andrea Venturoli
Hello. Since a bit, emacs won't start under X: no error, no message, nothing. It just starts and exits after a while without doing anything. I can run "emacs -nw" fine. How can I diagnose this? Is there any log I can look into? Any utility? bye & Thanks av. -- Problem reports:

Re: emacs won't run

2013-12-05 Thread Andrea Venturoli
On 12/04/13 16:50, David Karr wrote: Are you running it from the desktop from "run"? I discovered the same thing. One workaround that worked for me was to open a rxvt window and then run emacs from that. I tried from xterm or "Cygwin Terminal". However, an even better workaround was simpl

Re: emacs won't run

2013-12-05 Thread Andrea Venturoli
On 12/04/13 11:56, marco atzeri wrote: Il 12/4/2013 10:20 AM, Andrea Venturoli ha scritto: Hello. Since a bit, emacs won't start under X: no error, no message, nothing. It just starts and exits after a while without doing anything. I can run "emacs -nw" fine. How can I di

Re: emacs won't run

2013-12-06 Thread Andrea Venturoli
On 12/05/13 16:01, Achim Gratz wrote: Andrea Venturoli netfence.it> writes: Of course, emacs is a shell script. Of course it should be a symlink, pointing to emacs-X11 on a standard installation. Right. It's a symlink to a symlink: $ which emacs /usr/bin/emacs $ ls -l /usr/b

Re: emacs won't run

2013-12-06 Thread Andrea Venturoli
On 12/05/13 15:40, marco atzeri wrote: In the end I got a trace file (which is over 7MB!), but it's nothing I can interpret. What should I do? Anything I should look for? any seriuos error ;-) Wish I could discern... :-) see here Problem reports: http://cygwin.com/problems.html a

Re: emacs won't run

2013-12-06 Thread Andrea Venturoli
On 12/06/13 14:51, Max Polk wrote: On 12/6/2013 8:38 AM, Andrea Venturoli wrote: In the end I got a trace file (which is over 7MB!), but it's nothing I Try from mintty window running emacs without X and without start files: emacs -nw -Q See if other X apps run: xterm There shou

Re: emacs won't run

2013-12-06 Thread Andrea Venturoli
On 12/06/13 15:18, marco atzeri wrote: the crash is here --- Process 3888, exception c005 at 610FA004 [cut] --- Process 3888, exception c005 at 00597673 --- Process 3888, exception c005 at 610D67B3 $ addr2line.exe -a 610FA004 -e /usr/bin/cygwin1.dll 0x610fa004 /usr/src/debug/cygwi

Re: emacs won't run

2013-12-10 Thread Andrea Venturoli
On 12/06/13 17:26, Ken Brown wrote: I don't know if this explains your emacs problem, but the group "mkgroup" indicates that /etc/group (and possibly /etc/passwd) should be rebuilt Don't you get a message about this when you start a shell? I don't get any such message. "mkpasswd -l" won't li

Re: Why do I need Cygwin for Yeoman?

2014-07-04 Thread Andrea Venturoli
On 07/04/14 11:01, Clare Sudbery wrote: I am currently working through a Yeoman tutorial (here: http://yeoman.io/codelab.html). Foreword: I don't even know what Yeoman is... The tutorial recommends using Cygwin as a command prompt ("Most of your interactions with Yeoman will be through the

Re: HEADSUP to Emacs users

2014-10-13 Thread Andrea Venturoli
On 10/11/14 19:36, Ken Brown wrote: In a continuing effort to track down the cause of the mysterious crashes that some Emacs users have reported, I'm now wondering if these are caused by the stack being too small. If you have been experiencing crashes, please issue the following command (as admi

Re: HEADSUP to Emacs users

2014-10-13 Thread Andrea Venturoli
On 10/13/14 13:37, Ken Brown wrote: It works fine for me in that scenario. I didn't report it earlier, since it's not that important to me; howerver if I could solve... Do you get an error message when it crashes? Yes: ** (emacs:3752): WARNING **: Couldn't connect to accessibility bu

Re: HEADSUP to Emacs users

2014-10-19 Thread Andrea Venturoli
On 10/13/14 20:49, Ken Brown wrote: It wouldn't hurt to double check; you should have a line that says "X11Forwarding yes" in /etc/sshd_config in the Cygwin installation. I have this. It looks like you don't have the cygserver service running. My recollection is that you might need this f

"Copy until full" tool

2017-01-17 Thread Andrea Venturoli
Hello. I've got a 2TB backup HD which is filled with several copies (at different times) of the same data; in other words, I could have the following directories: Data20170117 Data20170110 Data20170103 ... Data20161220 User20170117 User20170110 User20170103 ... User20161220 DB20170117 DB20170

Help with emacs and VC++

2020-09-11 Thread Andrea Venturoli via Cygwin
Hello. I've got a project where I'm using Cygwin's emacs + GNU Make + VC++. For some reason, it seems CL.exe colorizes or decorates its output and Emacs does not understand this, so what I get is a lot of control codes (e.g. things like "^[[?25l Creatin^[[?25h^[[?25l") which make the output v

Re: Help with emacs and VC++

2020-09-16 Thread Andrea Venturoli via Cygwin
On 2020-09-11 19:40, Takashi Yano wrote: Could you please try the latest snapshot? https://cygwin.com/snapshots/ This problem should be fixed. Thanks. Looks like this is solved. However, I'm getting several messages like: "shared_info::initialize: size of shared memory region changed from

Re: No more Cygwin-X start menu entries

2025-01-19 Thread Andrea Venturoli via Cygwin
On 1/16/25 01:17, Brian Inglis via Cygwin wrote: With Windows Update patches pending restart, Windows sometimes acts weird This was not my case though: _ it did not work before the upgrades were even downloaded; _ it worked after they were installed; _ I never tried in between. N.B. I'm not s

Re: No more Cygwin-X start menu entries

2025-01-13 Thread Andrea Venturoli via Cygwin
On 1/13/25 19:06, Jon Turney wrote: Thanks for reporting this. Thanks for answering! This seems to be something that's changed in Windows 11(?) I'm on Windows 10. As a workaround you might see if the script can be run in an elevated shell (right-click on the "Cygwin64 Terminal" icon,

No more Cygwin-X start menu entries

2025-01-13 Thread Andrea Venturoli via Cygwin
Hello. Today I run setup to upgrade all packages: an error popped up saying xinit post-install script was not able to complete. I'm in fact missing Cygwin-X entries in start menu. I tried running it again, but I always get the same error. Extract from setup.log.full: removing /var/cache/reba

Re: No more Cygwin-X start menu entries

2025-01-15 Thread Andrea Venturoli via Cygwin
On 1/13/25 21:01, Jon Turney wrote: CYGWINFORALL=-A /bin/sh -vx /etc/postinstall/xinit.sh Thanks. I used the above and, while examining what it did, I saw that it created the start menu entries!!! Only thing that changed from two days ago, is I installed the monthly Windows Update patches.