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

learn more… | top users | synonyms

1
vote
2answers
91 views

Cygwin opening wrong terminal from taskbar

I've installed Cygwin on a Windows 7 machine. The other day, I used the Cygwin installer to update and install a new package. After that, the Cygwin icon on my taskbar opens some other terminal that ...
1
vote
1answer
86 views

What is the difference between the different GCC on Cygwin, and which one to install?

I need to install GCC for Cywin, but I see that there are five different "gcc-g++" packages: cygwin32-gcc-g++ gcc-g++ mingw-gcc-g++ mingw64-i686-gcc-g++ mingw64-x86_64-gcc-g++ What is the ...
1
vote
0answers
39 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
2answers
53 views

Cannot create a link to Notepad++ in Cygwin

I am trying to make a link to Notepad++ in Cygwin but I face the following error: KD@HPi7 /home/kd/ns-allinone-2.35 $ ln /cygdrive/c/Program\ Files\ \(x86\)/Notepad++/notepad++.exe np ln: failed to ...
0
votes
2answers
315 views

Is the option “Use Git and optional Unix tools from the Windows Command Prompt” dangerous?

When installing Git, it offers the option to add all of its msys *nix tools into your PATH, however it warns: Warning: This will override Windows tools like "find" and "sort". Only use this option ...
0
votes
0answers
20 views

Error in Remote Desktop connection through SSH

We are implementing new method access to Remote Desktop from clients through SSH server. We use cygwin to implement that. In the sshd_config file of the server we do the following settings, Port 1234 ...
0
votes
0answers
60 views

How to configure dircolors in Cygwin

I've been trying to customize the appearance of the ls command in Cygwin, but have not been able to get the dircolors command to work properly. I am was following the steps found in this tutorial. ...
0
votes
1answer
92 views

ns2 installation: Makefile:569: recipe for target 'tclsh.exe' failed

I followed the instructions given by www.soc.napier.ac.uk/~bill/ns_installation.doc to install NS network simulator ns-2.35 on Cygwin. As the manual says I made sure all the following components are ...
3
votes
1answer
81 views

How to remove “CYGWIN sshd” service from service list in Windows 7?

I uninstalled CYGWIN from Windows machine, but still I am seeing the name "CYGWIN sshd" in the service list. This is the steps I have followed to uninstall it, In the cmd prompt, I run the ...
0
votes
1answer
53 views

How do i configure Normalize with Cygwin?

Normalize is a 32-bit windows program installed with Cygwin, according to the Readme. I run 64 bit windows 10. Some files referenced by the Readme are missing, like "Install". I'm instructed to ...
1
vote
1answer
39 views

AHK (Binding keys)

I'm trying to bind the following keys. I want to be able to use Shift+LeftArrow to navigate between two windows. Since I mainly use these two windows in one monitor It would be great to move ...
1
vote
2answers
280 views

Windows DPI scaling: fix specific app with tiny text

I have a Windows 8.1 laptop (Dell XPS) with a high-DPI screen (15" 3840x2160), and two external monitors which are normal DPI (19" 1920x1200). (No font changes from defaults.) Windows 8 seems to know ...
0
votes
0answers
30 views

view xml file in emacs

I'm using Cygwin xEmacs 24.5. My goal is to view xml file nicely formatted. First I opened it using nxml-mode or xml-mode and it was OK to view it. Then I somehow 'played' with schema and I assume I ...
0
votes
0answers
71 views

How to change windows security features to allow cygwin to interact with the desktop

I would like to run a process on a remote machine in interactive way, I mean that even though it doesn't require any user interaction I need that the process pops up a window GUI. I Use Cygwin 1.7 ...
2
votes
1answer
21 views

Combine local packages directories

I'm running Cygwin64 on Windows 10. Usually I use only one particular mirror in my country. As it happened, I had to go abroad. I needed to install a package, so using Cygwin's setup.exe, I change the ...
5
votes
1answer
22 views

Trouble defining an environment variable on Cygwin

I'm using the Cygwin 64-bit installation on my Windows 7 machine. In my ~/.bash_profile, I set export JBOSS_HOME=/cygdrive/c/Program\ Files/wildfly-10.0.0.CR2/ However, when I attempt to open a ...
0
votes
2answers
170 views

Cygwin window closes immediately

The configuration: Windows 10 (64-bit) (Fresh installation) Cygwin64 fresh installation (downloaded setup-x86_64.exe) Installation looks like it worked. However, when I try to launch the newly ...
0
votes
1answer
84 views

UTF-8 not displaying correctly in Cygwin+zsh using ConEmu

I have installed the following things to use for development: ConEmu 15083c Recent Cygwin version Cygwin zsh-5.0.8 Oh-My-Zsh This theme Now, when choosing a theme I realized that the display of ...
0
votes
1answer
48 views

Public key authentication on Windows OpenSSH server

I have two Windows machines running on Ubuntu virtual box. Both machines have OpenSSH installed. I can connect from one to another using ssh and passwords, but I can not figure out how to use keys. I ...
5
votes
1answer
192 views

Will “rm -rf /” delete everything from Windows if run from Cygwin?

So...I did something bad. In Cygwin I wrote a bash script that took in two directories and copied the contents of one into the other. First, it called "rm -rf" to remove the contents of the second ...
1
vote
2answers
19 views

How can I use original account when booting Cygwin from USB Drive?

I put Cygwin on a USB drive because I wanted to be able to use it on other computers. But when I tried to launch the shortcut it created a new user account with the username of the local computer. I ...
0
votes
2answers
117 views

SSH: Permission Denied in Cygwin, works in Putty

I am trying to SSH into a server, where I do not have root privileges. I don't like using Putty, I prefer Cygwin. I can log into the server using Putty, but using the exact same private key and typing ...
2
votes
2answers
286 views

compilation on cygwin64 doesn't work with g++ 4.9.2

I have GNU make version 4.0 g++/gcc version 4.9.2 Command make clean works perfectly But when I use command make to compile I got this error ...
-1
votes
1answer
67 views

ssh-user-config ERROR with Cygwin on Windows 7

I'm following the How To Get SSH Command-Line Access to Windows 7 Using Cygwin. At the User Configuration of SSH step (half of the above page, more or less) I got the following error: $ ...
1
vote
1answer
91 views

Error in running sshd as a service in cygwin

I am using cygwin run sshd. But now the sshd is not running as a service. When I start the service using 'net start sshd', Message comes like, "the cygwin sshd service could not be started.The service ...
0
votes
0answers
22 views

How to set cygwin sshd language to English?

Why is sshd/cygwin outputting messages in portuguese (yes, I'm in Brazil but even Windows 7 is set to English)? For example: $ net start sshd O servi▒o solicitado j▒ foi iniciado. Para obter mais ...
0
votes
1answer
39 views

cygstart doesn't start a process with a domain user

I installed Cygwin 1.7 on a remote machine and I am able to connect with the default user "cyg_server" and start a process via cygstart. I would like to do exactly the same thing but with a ...
0
votes
2answers
30 views

How to configure Cygwin for key-based login

I have successfully installed Cygwin on my 2012 server. Now, I want to enable key-based login. I have searched a lot for this ( I'm not a linux guru ) and everything I have found orbits around ...
1
vote
1answer
21 views

Will I encounter problems if I install Cygwin on my SD drive?

My computer doesn't really have much hard drive memory available (10 GB at most). It was a very cheap computer (Asus x205TA) , I bought it for $200. It runs on Windows 8.1 32bit on a x64 processor. ...
1
vote
0answers
33 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
70 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 ...
1
vote
1answer
120 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
52 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
123 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
119 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
174 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
259 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
174 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
1k 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 ...
1
vote
1answer
71 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
16 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
50 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 ...
0
votes
0answers
80 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
39 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
42 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
56 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
93 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
182 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
42 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 ...