cygwin provides a Unix/Linux-like environment under Microsoft Windows OSes.

learn more… | top users | synonyms

5
votes
0answers
6k views

scp exec request failed on channel 0

I am trying to scp files from one computer to another however I get a "exec request failed on channel 0". When I use ssh however, I can get to the machine with no problems. I am using the scp function ...
4
votes
0answers
529 views

Install python module snack on cygwin for byobu

I'm setting up the terminal multiplexer byobu on cygwin. But it's not fully working, since it has some python dependencies. E.g. F9 toggles the menu, which relies on byobu-config. That needs python-...
4
votes
0answers
806 views

Case-sensitive error in compiler's building using crosstool-ng under Cygwin

When I try to build gcc cross-compiler using crosstool-ng under Cygwin (running in Windows 7) I have the following message: $ /opt/ng-crosstool/bin/ct-ng build [INFO ] Performing some trivial sanity ...
3
votes
0answers
45 views

Why would it be faster to hop SSH with pseudo-tty versus forwarding?

I have noticed that on my office's network, multi-hop SSH connections using the "pseudo-tty" method perform better (see last note) than using the "forwarding" method. Why would this be the case? In ...
3
votes
0answers
32 views

GNU screen is slow exiting

I've set up my .bashrc to automatically screen -DRA (even though it's a local session). screen works fine, except that if I run exit from the last window or otherwise close it from the client itself, ...
3
votes
0answers
247 views

Tmux copy the selection to /dev/clipboard without key-mapping

Many answers related to this topic suggest to map Ctrl+y to a command that pipes tmux show-buffer to xclip. In the specific case of cygwin, the correct way to interract with the Windows clipboard is ...
3
votes
0answers
895 views

tmux split panes not rendering properly in Conemu

I'm trying to use tmux over ssh (cygwin) in conemu, and keep running into the following issue. I'll start with a vertically split screen that seems to be fine: And switch to the right split, hit ...
3
votes
0answers
1k views

Running cron on Cygwin to call notifu

I have installed Cygwin with cygrunsrv and Cron so I could use the benefits of using Linux-style scheduling in Windows. I want to call notifu from a cron job. I Installed cron as a service using the ...
3
votes
0answers
487 views

New Xming Windows Doesn't Grab Focus

I do my day-to-day work on Windows 7 (no, that's not going to change) and often need to work with Linux running on Parallels. Switching between Windows and Linux desktops is a pain, so I've installed ...
3
votes
0answers
378 views

Escaping spaces in tab-completion in a Cygwin shell subprocess on GNU Emacs on Windows

I use GNU Emacs on Windows and Cygwin as my shell. If I create a Cygwin shell subprocess with M-x shell, I get a proper bash prompt. If I type this: cd ~/My<tab> it tab-completes to cd ~/...
2
votes
0answers
53 views

Git - Git Pull Not Working In Cygwin

Just recently, git in Cygwin has not been behaving correctly. When I try to run a command like git pull it does not show anything about the pull. The git status command works just fine and shows the ...
2
votes
0answers
152 views

sshd on cygwin: connection reset by peer

I installed inetutils on my cygwin this afternoon, and since then my sshd hasn't worked anymore. Here's the message from ssh client $ ssh localhost sh_exchange_identification: read: Connection reset ...
2
votes
0answers
71 views

How to prevent rdiff-backup on cygwin from crashing?

I'd like to employ rdiff-backup for backing up my user directory of my Windows 7 - 64 bits. I use the following command line: rdiff-backup -v5 /cygdrive/D/home/maxp /cygdrive/t/Backup/Users/maxp/...
2
votes
0answers
185 views

Unable to set permissions using Cygwin on Windows 7

I have Cygwin 1.7.34(0.285/5/3) installed on a 64-bit Windows 7 machine and I've found that I'm unable to control the permissions of files/directories on my computer with it (through chmod). Most ...
2
votes
0answers
612 views

Password required when trying to ssh into a server using Cygwin on Windows 7

I'm trying to set up a server at our company, and one of the things I'd like to be able to do is host public Git repositories on it which I can access over ssh. Both the server and the workstation I'm ...
2
votes
0answers
195 views

Tmux 1.9a - variable #{pane_current_command} doesn't work as expected

I'm trying to get vim-tmux-navigator to work on my my Cygwin (Win7 x64) + Tmux 1.9a but it doesn't. The reason is the variable #{pane_current_command} always returns bash instead of vim, so the ...
2
votes
0answers
391 views

OpenSSH without password does not work Cygwin Windows 7

I've tried several ways to install openssh without password but it does not work. With password it works fine! (Cygwin, Windows7 32Bit) First I did it like execute ssh command without password? ...
2
votes
0answers
349 views

Shell unbuffering for CygWin: is it possible?

I have tested on CygWin doing "ls -R" with a large directory and sending the output to a Test.txt file, so the process takes about 30 seconds to complete; the file is created, but it is empty; it will ...
2
votes
0answers
71 views

Windows 7, repetition of audio tick.wav, like those Unix guys can do, from other application.

At org-pomodoro_resources at master · lolownia_org-pomodoro · GitHub / resources, there is a tick.wav file, to be played repetitively, from Emacs. I have tried start, wmplayer, vlc, play (sox), and ...
2
votes
0answers
495 views

Error message while connecting to EC2 instance via Cygwin

I am trying to connect my EC2 instance using the directions my instructor provided below: "To connect to EC2 via Cygwin on Windows, you need to handle two key idiosyncrasies. First, the Windows ...
2
votes
0answers
249 views

tmux: Page Up/Down in Cygwin

Unfortunately it seems like the normal C-b > PgUp or C-b > ctrl+arrows aren't working; instead, I'm just seeing the characters 5~ be printed whenever I C-b and then try to use PgUp. Even mouse mode ...
2
votes
0answers
61 views

CygWin: How can I know what packages need (are pending) to be upgraded?

If I do on the installer directory of CygWin: setup-x86.exe --root c:\CygWin --upgrade-also -q I get all (or so it seems) the packages upgraded from the last internet repository I used ...
2
votes
0answers
1k views

rsync error: symlink has no referent

I am trying to configure rsnapshot (which uses rsync) to backup a Windows server but I am having trouble with rsync being unable to follow a symlink on the server to be backed up. Setup: Windows ...
2
votes
0answers
132 views

Trying to bind <ESC> to keysequence “öö” in bash vi mode

I am trying to use the german umlaut "ö" in a sequence "öö" as a binding for ESC. Having the following in my .inputrc does the job with "jj" instead of "öö"; however, when changing "jj" to "öö", it ...
2
votes
0answers
167 views

NX on windows 7 - disruptive screen configuration change

I am using NX on Windows7. Windows handles 2 montiors. NX running on the main one. After the screensaver was running, I got the following NX message: Disruptive screen configuration change. Restore ...
2
votes
0answers
191 views

Curl --insecure error in Cygwin (works in Linux)

Curl is returning an error in Cygwin. How do I eliminate this error? curl --insecure -X POST -d '<run><log encoding="hexBinary">4142430A</log><result>0</result><...
2
votes
0answers
392 views

Using Up Arrow in Cygwin within command

I just reinstalled Cygwin on my new PC, and I am having a problem with the up arrow. While at the regular Cygwin prompt, the up arrow works fine to scroll through the previous commands. However, on my ...
2
votes
0answers
7k views

How do I resolve the error “Unable to get setup.ini from <http://downloads.sourceforge.net/cygwin-ports/>”?

I have a running cygwin installation and I am following steps at http://cygwinports.org/. I run in the cygwin console $ wget http://cygwin.com/setup.exe -O /tmp/setup.exe $ /tmp/setup.exe -K http://...
2
votes
0answers
851 views

irssi cannot connect to IRC servers (cygwin)

I would like to be a more active user of IRSSI as I am not a big fan of either Pidgin, XChat or mIRC, having used all of them for over a year. Unfortunately Irssi seems to be unable to connect to ...
2
votes
0answers
222 views

cygwin åäö in emacs

Hey I been bugging with this problem for some hours now. And I couldn't find the answer on google so I try it here. The problem is that when I run emacs in cygwin in -nw mode characters like åäö ...
2
votes
0answers
993 views

Pubkey authentication with SSH server running on Cygwin - session closes immediately

I am connecting from Linux via SSH to a Windows machine running SSH in Cygwin. I authenticate with a certificate. The session opens but closes immediately thereafter. With password authentication it ...
2
votes
0answers
655 views

No more anti-aliased fonts in cygwin xterm?

I just recently updated my cygwin/xterm installation, and all of a sudden I don't have any more AA fonts in x-term. gVim works perfectly: I have absolutely no idea what's changed or how to fix this!...
1
vote
0answers
18 views

Cygwin sshd issue

One of the cool features of Cygwin is being able to cd into a remote Windows machine on your same network: [0 user@machine ~]$ cd //remote-machine/c$ [0 user@machine //remote-machine/c$]$ ls ...
1
vote
0answers
30 views

Xming not working with Cygwin

I have two Windows 10 machines with Cygwin + Xming, one of them works fine, but I can't get the other one to work, if I try to start ddd for instance, I get: Error: Can't open display: If I ...
1
vote
0answers
15 views

Change location of .gitconfig in Visual Studio

Visual Studio 2015 has Git integration, but it picks up a .gitconfig file used in my Cygwin install that has some problems (for one thing, it is a symlink, but even it if was a normal file it would ...
1
vote
0answers
24 views

SSH Cygwin Password not recognised

I have recently been using Cygwin to connect to an Ubuntu box which I host my server on, however it has just been reset completely. Previously I had no issues using Cygwin however I recently re-made ...
1
vote
0answers
22 views

How do I launch/use Cygwin as the shell for TortoiseHg?

In the settings for TortoiseHg, there is an option to select what shell you would like to use. The two defaults listed are, as you might expect, "windows_command_prompt" and "powershell" but I would ...
1
vote
0answers
31 views

get the list of remembered Network Profiles of a Windows computer over ssh

AFAIK, Windows remembers the network locations you've connected to (and tagged as Guest, Work or Home). It identifies them based on (possibly among other things) the domain name returned by the DHCP ...
1
vote
0answers
60 views

Change mintty title according active tmux window (cygwin)

How can I change mintty terminal title to show title of active tmux window? For example: I would like in this case title to be active tmux window - ncmpcpp or even better if possible title ...
1
vote
0answers
91 views

Cygwin locale for Russian/Russia

On my Windows box, locale command outputs the following: LANG=ru_RU LC_CTYPE="ru_RU" LC_NUMERIC="ru_RU" LC_TIME="ru_RU" LC_COLLATE="ru_RU" LC_MONETARY="ru_RU" LC_MESSAGES="ru_RU" LC_ALL= This is ...
1
vote
0answers
73 views

Cygwin mounted drive not accessible from remote machine

I have a mounted share drive l: on a Windows 7 64 bit machine I will call box1. In Cygwin on box1, I type mount and the mounted drive shows up correctly as L: on /cygdrive/l type ntfs (binary). When ...
1
vote
0answers
113 views

How can I find out the failed login attempts in windows cygwin open ssh

How can I find out the failed login attempts in windows cygwin open ssh i looked inside this path but did not find any logs with failed attempts C:\cygwin\var\log
1
vote
0answers
71 views

Stop Jenkins from Converting Paths on Windows

I am attempting to run a Windows 8.1 machine as a "dumb slave". I am using Cygwin and SSHD to provide a working environment that functions great when I SSH into this machine. However, I am having ...
1
vote
0answers
352 views

Cygwin: scp/ssh is slow

I'm using rdiff-backup for backuping my data. Since some machines are using Windows I installed sshd and rdiff-backup with cygwin there. The backup works but is pretty slow. I then did some testing ...
1
vote
0answers
179 views

SCP connections mysteriously drop; too many connections?

I am running OpenSSH via Cygwin on a Windows 2008 server. This system acts as a file server for a pool of 30 build systems. At build time, each build system copies files as necessary from the file ...
1
vote
0answers
272 views

Is it possible to install llvmlite Python package on Cygwin?

When trying to install llvmlite Python package on cygwin, I get the following errors: $ pip install llvmlite Downloading/unpacking llvmlite Downloading llvmlite-0.4.0.tar.gz (69kB): 69kB downloaded ...
1
vote
0answers
28 views

Making file's mode 000 on cygwin - does not work

Seems cygwin is unable to cancel a file readability mode, viz.: $ echo "123" > ttt $ cat ttt 123 $ ls -ls ttt 1 -rw-r--r-- 1 Administrator None 4 Mar 22 10:19 ttt $ chmod 000 ttt $ ls -ls ttt ...
1
vote
0answers
262 views

Cygwin and Cygwin64 missing prompt in terminal

I tried to install and reinstall cygwin and cygwin64. I also tried different mirror sites. Instead of seeing a line like user@PC~ $, I see a blank screen with a blinking cursor. The properties of ...
1
vote
0answers
74 views

How to connect remotely from Windows to a Vagrant instance?

Is there a way to connect from my windows pc to a vagrant instance running on my mac which is on the same network? Ideally I would like to use cygwin or something equivalent
1
vote
0answers
657 views

Jenkins failed to locate Cygwin

my Jenkins job fails as it gives this error message: hudson.util.IOException2: Failed to locate Cygwin installation. Is Cygwin installed? at hudson.plugins.cygpath.CygpathLauncherDecorator$...