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

learn more… | top users | synonyms

1
vote
0answers
68 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 ...
0
votes
0answers
103 views

Can't migrate ruby windows to ruby cygwin

On my windows 8.1+cygwin install, I had an windows ruby install. As I use mostly cygwin and cygwin and non-cygwin tools tend not to work well with each other, I wanted to move ruby to cygwin. ...
0
votes
1answer
32 views

Configuring ssh in cygwin

I am a newbie to cygwin, I am trying to configure ssh and was finally checking my connection, I am getting this message when I ssh: Admin@admin-PC ~ $ ssh localhost Last login: Thu Sep 17 15:06:...
2
votes
1answer
271 views

Broken cygwin's git command

Seems that my git under Cygwin is broken, following commands /usr/bin/git.exe --version or /usr/bin/git.exe does not do anything. If I issue git.exe in particular directory from Windows terminal I get ...
1
vote
0answers
97 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
3
votes
2answers
239 views

Starting Matlab in Command Line Cygwin

I would like to start Matlab in its 'shell mode' from the Cygwin terminal. However if I enter matlab the GUI appears. If instead I try matlab -nodesktop Then a new command line opens in another ...
1
vote
1answer
214 views

Is there a simple way to install a list of packages in Cygwin? [duplicate]

Is there a simple way to install a list of packages in Cygwin? I’ve tried the command line arguments with no success. For example I’ve tried the following with no success in uninstalling wget. ./...
2
votes
1answer
338 views

Problems with X11 forwarding

I am trying to do some X11 forwarding from my windows machine. I have tried: Mingw64 Cygwin64 putty In both Mingw and cygwin I run I get these results: $ ssh -X bongioc@ncp-cb-1.nintextest.com ...
0
votes
1answer
398 views

Cygwin+tmux over ssh problems: open terminal failed: not a terminal

I can't get tmux to work inside an SSH session to a Windows machine with Cygwin: USER@HOST ~ $ tmux open terminal failed: not a terminal GNU/Screen is working fine. I understand tmux is a bit ...
2
votes
2answers
198 views

Setup ssh in background windows

Currently I have cygwin installed and ssh into a machine and run commands like so. ssh user@ip "command" The only problem is it takes a long time to open a new ssh session and run each command. So ...
11
votes
1answer
2k views

“Permission denied (publickey).” after update of Cygwin

I updated Cygwin and I can no longer SSH into any remote machines. Here is the relevant debug output from SSH; What is happening? debug1: Server host key: ssh-rsa SHA256:...
1
vote
1answer
180 views

How do I create a shortcut on Windows to launch Urxvt w/ Cygwin bash but also with certain options beforehand?

Confusing title, I know. Here's the problem: To launch Urxvt in such a way that my extensions work, I'd open up Cygwin and use export DISPLAY=:0 and then urxvt. If I launch urxvt just with urxvt then ...
0
votes
0answers
17 views

How to diagnose command-line hang if looking at it with Process Explorer makes the hang stop?

It's a command-line hang, so you'd think it would be easy to diagnose. But I just can't figure out why 1 out of 25 times, certain scripts of mine hang. I'm sure it's something I've done. Typically, ...
0
votes
0answers
78 views

cygwin ssh connection OK via localhost, but not via 127.0.0.1

I've installed Cygwin and OpenSSH server on it. Cygwin version is 2.2.1(0.289/5/3) and OpenSSH version is 7.0p1-1 After some configuration, I can connect on my SSH server with: $ ssh username@...
0
votes
0answers
118 views

Connecting Pidgin to ZNC (Windows)

I'm on Windows 7, and have installed ZNC through Cygwin. I've created a server configuration, and I'm trying to connect a pidgin account to it via these instructions. I keep getting the "SSL ...
1
vote
0answers
64 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 ...
0
votes
1answer
59 views

SSH asking for passphrase when none used

I am trying to ssh into a server from cygwin on Windows 7. I created public/private keys using ssh-keygen, and didn't add a passphrase. I then added them to the authorized_keys on the server. When I ...
0
votes
0answers
81 views

Cygwin SFTP server works fine with WinSCP, but Linux client shows “connection reset by peer”

Using Cygwin, I configured an SFTP server on a Windows 7 machine. I can use WinSCP for file transferring from another Windows machine, but when I try to log in to the machine from a Linux machine it ...
3
votes
1answer
185 views

How does `chmod +x` work in cygwin?

I just downloaded an executable via cygwin's wget and found I cannot execute it. In cygwin I get $ ./clink_0.4.4_setup.exe -bash: ./clink_0.4.4_setup.exe: Permission denied and when I try to ...
0
votes
1answer
315 views

Install older version of gfortran on windows (cygwin x64)

I'm using cygwin 64bit for windows. It offers all the packages you could want in the setup, but I can't find a way to get an older version of a package (gcc fortran compiler in my case). I have ...
0
votes
1answer
43 views

Windows 7: Introduce commands for the run-command

Given Windows 7, you can press Win+R to open the command prompt. How I introduce short cuts to execute commands? For example, I use Cygwin and would like to open a Cygwin terminal simpy by writing "...
0
votes
1answer
752 views

How to use echo in shell command from Makefile?

I have a GNU makefile. It runs fine on Linux, Solaris and OS X. However, under Cygwin-32, Cygwin-64 and MinGW, it produces: /bin/sh: -c: line 0: syntax error near unexpected token `(' /bin/sh: -c: ...
0
votes
1answer
278 views

zip extractor reading archives from stdin

As follows from UNZIP(1L) man page Archives read from standard input are not yet supported Are there another CLI programs running under Linux/cygwin which can extract from zip archives reading ...
0
votes
0answers
37 views

How to I make the parallels shared folders visible under cygwin ssh sessions?

I do have Windows VM with Cygwin ssh server installed and configured and I am trying to access the host shared folders from ssh sessions. Somehow it seems that even if these folders are mapped in the ...
2
votes
2answers
3k views

Changing the HOME for Cygwin

I'm trying to change the home directory for Cygwin on a computer at work. Our home directories mapped to a network share by default. This seems to cause some confusion for Cygwin, as it created a ...
1
vote
1answer
1k views

Changed cygwin home location, now the terminal can't find my .minttyrc config file

I had to change the HOME location for Cygwin by setting it to pick up the directory I set in /etc/passwd (following the solution from here). It seems to not be a problem for the majority of my ...
1
vote
1answer
311 views

Why doesn't Apache start up automatically?

I have Apache2 running on Cygwin on my Windows 7 computer. It doesn't do much, it just hosts some HTML documentation for my local (firewalled) LAN. Oddly, it doesn't seem to start automatically even ...
1
vote
1answer
40 views

How to force Cygwin's .bash_history to be in custom HOME?

I am using Cygwin (CYGWIN_NT-6.3 2.0.4(0.287/5/3)) with a custom /etc/profile which I use to set the HOME to a personalized path, also, /etc/passwd sets that same path for the [only] user. If I load ...
1
vote
2answers
217 views

How to setup background image on Cygwin?

I am looking for a way to setup a background image on Cygwin. In the options of Cygwin shell Mintty there is no settings available to setup background image. Is there any other way to setup ...
0
votes
0answers
46 views

Accessing rsync folder after windows re-install

I am using cygwin to backup my Debian VPS to my Windows PC. All is fine, but if I re-install Windows I can't access the backup folder until I change the owner of the folder and all its children. ...
0
votes
1answer
565 views

apt-cyg can't connect to download mirror

Each time apt-cyg tries to connect to its server, it just can't get response and gets stuck with connecting to it. Since I'm there via SSH, how do I change the download mirror without using graphical ...
9
votes
3answers
3k views

How to change the default shell in Cygwin?

I am trying to change my default shell from bash to zsh in cygwin. The normal unix command chsh isn't available on cygwin The etc/passwd file it seems isn't used anymore in existing versions of ...
0
votes
1answer
189 views

Intellij - Open directory of selected file in Cygwin

In Eclipse, I could use Easy Shell and have a command to open the directory of the selected file in Cygwin. I wonder if it is possible for Intellij. The best I could do so far is use Terminal plugin ...
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, ...
0
votes
1answer
209 views

Cygwin Mintty unicode doesn't display fail despite having dejavu sans mono and everything

Edit the problem is ubuntu machine can't display \u03bb as greek lambda symbol ubuntu is remote: [ubuntu@ubuntu:~]$echo -e "\xce\xbb\x0a" λ [ubuntu@ubuntu:~]$echo -e "\u03bb" \u03BB this is ...
0
votes
1answer
36 views

Call MATLAB installed on network drive from Cygwin shell script

MATLAB is installed on a network drive, and I want to call it from a shell script. The installed location is \\apps\matlab2014b$\bin\win64\MATLAB.exe in P:\. I am using Cygwin to run the shell ...
2
votes
1answer
65 views

Cygwin, emacs and associate it with a file type on Windows

I want to use Emacs as and editor and shell. On Windows 7 I installed cygwin , X11 and emacs. In terminal I added to /etc/profile file these lines: XWin -multiwindow 2> /dev/null& export ...
0
votes
2answers
430 views

cygwin opens three windows instead of one

If I open a cygwin terminal window it opens three instead of one window. The titles are C:\cygwin\bin\mintty.exe Cygwin Terminal <my host and current directory> Only the third ...
0
votes
1answer
21 views

Is there a way to pause mosh from 3 second UDP updates?

Is there a way to pause mosh in a Cygwin installation? I think it's causing an excessive battery drain for my AndroidAP phone, since it's designed to be sending packets every 3 seconds, which is not ...
0
votes
0answers
318 views

Can cygwin shell interfere with git bash when using Git Bash Here?

I've been using Cygwin terminal for a long time, and have gotten very used to its quirks and what-not. Recently I've been using the Git Bash shell in Windows 7 (64-bit). For Git command-line work, I ...
0
votes
1answer
94 views

openSSH is ignoring the HOME env variable

I've been trying to sort out the Could not create directory issue with openSSH installed via cygwin, and have tried every solution I can find on the internet, but none of them are working... I've ...
0
votes
1answer
173 views

input/output error while copying PNG files from linux server to desktop using scp in cygwin

I am trying to copy some png files from linux server onto my local desktop running windows 7. I am trying to copy the files with cygwin using the scp command. I do not get any syntax errors but all my ...
1
vote
5answers
1k views

How to reset the terminal under Cygwin?

Under Linux, I can clear terminal output with a simple reset from the command line. Under Cygwin, it appears reset does not work: I also tried reset 0 and reset 1 with no joy. And I even tried the ...
0
votes
1answer
212 views

What is the name of the Cygwin package manager? [duplicate]

I'm not a regular Cygwin user. I installed Cygwin and Cygwin64 for testing proposed patches. I tried to perform a git clone, but it failed with -bash: git: command not found. So I need to install Git, ...
4
votes
1answer
612 views

How does cygwin mount mapped network drives

I use Cygwin as a POSIX environment, and I have a bunch of mapped network drives on my windows computer (set up by a sysadmin, not by me). I have found that all the network drives which are mapped on ...
0
votes
1answer
853 views

nvcc can't be found error

im trying to setup a tool that requires nvcc but im unable to to do. This is what i got so far: Installed the CUDA toolkit Verified it by using nvcc -V output: nvcc: NVIDIA (R) Cuda compiler ...
1
vote
1answer
77 views

Cygwin - how do I search scrollback?

Going to be pretty depressed if this is not a feature by now. To be clear, by scrollback, I mean scrolling up and down on the terminal emulator to see history.
1
vote
1answer
449 views

cygcheck: track_down: could not find cygnettle-4.dll

I'm trying to use cmake in cygwin. When doing so I get the following: ~> cmake --version /usr/bin/cmake.exe: error while loading shared libraries: ?: cannot open shared object file: No such file ...
0
votes
1answer
835 views

cygwin/x no image from remote host

I installed and started cygwin x server and everything seems working. Log from startxwin: $ startxwin Could not load crashreporter dll Welcome to the XWin X Server Vendor: The Cygwin/X Project ...
2
votes
0answers
66 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/...