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

learn more… | top users | synonyms

4
votes
1answer
241 views

BSOD during Cygwin install

I have been running Cygwin (1.7.7) under Windows Vista 64-bit, SP2 for at least a year, and had no problems with my installation at all until today. When I tried to install apt-cyg, I realized that I ...
4
votes
1answer
303 views

lpr on Cygwin appending .lnk to my PRINTER value

I have Cygwin on a Windows 7 machine. In my .bashrc file, I have tried export PRINTER=\\\\myPrintServer\\myPrinter Escaping the backslashes, which, when I type $lpr -D, gives me Windows Printer ...
3
votes
1answer
3k views

How can I run Gnome or KDE locally in Cygwin?

Apparently it is possible to do this using cygwin ports, as can be seen in screenshots. I followed this how-to to get apt-cygports set up, and I used it to install gnome-session. This how-to ...
3
votes
1answer
639 views

vim in Console2 on Windows doesn't colour code?

I'm using Console2 on Windows with Cygwin. Using Windows vim (on my PATH), the colour coding doesn't seem to display in Console2? Using vim from cmd does colour code.
2
votes
1answer
88 views

Mirroring with wget - Exclude old files

I am using wget to mirror an ftp file-archive. This is my command: wget -m $mirror (Stripped all unneccessary parameters) So far, everything is okay, all differences to the online archive will be ...
2
votes
1answer
105 views

Mutliple Putty and Cygwin/X sessions not working

I'm trying to connect multiple Putty Sessions at once, and have a single CygwinX server running on my machine. The first putty session i open is able to successfully launch a gnome-terminal, proving ...
2
votes
1answer
198 views

Error when Starting CYGWin SSH daemon on windows 7 home edition

I am using Windows 7 Home edition, trying to install CYGWin SSH daemon. Successfully done the same, but when I run the same, I see error in C:\cygwin\var\log\sshd.log file Privilege separation user ...
2
votes
1answer
69 views

Slow X-server performance over network

I do my development work on a linux virtual machine on a remote computer. I'm using a Windows 7 laptop as my main computer, as it has more screen real-estate, and using Cygwin/X to run my GUI programs ...
2
votes
1answer
74 views

Opening PHP files in vim gives me error: E108: No such variable: “b:current_syntax”

I'm running cygwin on my Windows box, and everytime I open up a php file using vim, i get this error: sendgrid-test.php" 7L, 46C Error detected while processing /usr/share/vim/syntax/php.vim: line ...
2
votes
1answer
441 views

How to change cygwin hostname

I'm just searching for a way to change the default Cygwin host name. I need to change the Admin@deluxe ~ part and replace it with something else.
2
votes
1answer
115 views

Why does Cygwin fail to install saying “can't open C:\cygwin\/var/log/setup.log for writing”?

I am trying to install the latest Cygwin. Even when I accept almost all the settings default values, it fails to set up, saying: can't open C:\cygwin/var/log/setup.log for writing I run Windows ...
2
votes
1answer
527 views

How do I mark batch files as executables in bash/cygwin?

In my quest to better my experience in my windows 7 environment, I have installed cygwin and have started using mintty as my command line interface tool. This has been nice and takes me back to my ...
2
votes
1answer
389 views

I/O redirection using cygwin and mingw

I have written a program in C and have compiled it using MinGW. When I try to run that program in Cygwin, it seems to behave normally (i.e. prints correct output etc.) However, I'm trying to pipe ...
2
votes
1answer
661 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
1answer
153 views

Data Execution Prevention suddenly prevents Console2 from running

Not sure what happened but when I got to work today, Console2 stopped working. Every time I try opening it Windows XP (SP2) complains: error dialogs (can't post images yet) I tried messing with DEP ...
2
votes
1answer
251 views

Cygwin X start up config file location

I can't find the config file I need to modify for my install of Xwin via Cygwin. Currently when X loads it fires off and Xterm window. Essentially all I want to do is comment out/delete this line ...
1
vote
1answer
41 views

Am I failing to foresee an issue with a cygwin symlink to Windows's python.exe?

Should be an easy question. I have a windows version python 2.7 at C:/Python27/python.exe and I also have cygwin's installation at /usr/bin/python -> /usr/bin/python2.7.exe. This means that when I ...
1
vote
1answer
38 views

How can I start urxvt as a child of a running XWin instance?

I have configured XWin to start automatically at logon, this gives me a tray icon where I can launch X apps that will be children of the XWin instance and have their environment correclty set just ...
1
vote
1answer
89 views

How do I determine a USB memory stick's serial number in Cygwin?

I already know that within windows, you can get a USB memory drive's Volume Serial Number by doing dir <drive_letter>:, where <drive_letter> is the drive letter of the USB drive. I also ...
1
vote
1answer
88 views

Why cygwin 'ls -l' does not show me the file size in bytes?

How can I configure cygwin to show file size in bytes when I do 'ls -l'? I get size in bytes under ubuntu, but not in cygwin. how can i fix it?
1
vote
1answer
174 views

Cygwin netcat nc doesn't resolve hosts through /etc/hosts

I'm trying to use ssh to log into remote servers, and I have a ProxyCommand setup in ~/.ssh/config to use a proxy (setup through PuTTY to connect to a VPN). The ProxyCommand uses nc to connect ...
1
vote
1answer
356 views

rsync error: exit code 23 ( No such file or directory (2) )

Rsync reports error for one file (other files were copied just fine): rsync: stat "//serverName/destination/.lpt$vpn.251.yiOK8j" failed: No such file or directory (2) rsync: rename ...
1
vote
1answer
143 views

cygwin - bash can't find file depending on arguments

If I type bash -i release_script.sh it starts processing the script If I type bash --login -i release_script.sh I get the error: bash: release_script.sh: No such file or directory I don't ...
0
votes
0answers
78 views

Sub-Processes of Cygwin SSH Session Unable to Connect to Network

I've configured Cygwin's sshd to run on a Windows Server 2008 machine. I am able to log in to ssh fine, however once I'm logged in, I am unable to make any outgoing network connections out of the ...
0
votes
0answers
96 views

How does rsync (in Cygwin) decide what sharing permissions to apply to a copied file?

I have an XP machine with Cygwin installed. Every night my Android phone connects to rsync on the PC and backs up my phone's pictures. This process is working smoothly, and has been for over a year. ...
0
votes
0answers
67 views

Cygwin ssh-add does not accept my password, although pageant did

I'm trying to setup the ssh-agent with cygwin in order to use it with git. When I add my identity file, like so ssh-add /my/path/identity.ppk, I can enter my password but it allways responds with Bad ...
0
votes
0answers
101 views

Configuring hadoop results in “/bin/java : no such file or directory”

I am trying to install hadoop on Cygwin. I have set JAVA_HOME as follows: \cygdrive\c\work\java\jdk1.6.0_30 in the file conf/hadoop-env.sh. Performing a echo $JAVA_HOME also displays correctly ...
0
votes
0answers
42 views

using cygwin to run “sc”

I'm trying to stop and perform an action from a management server, on a remote server, using cygwin and the "sc" command. The syntax s/b: "sc \\remote {query\stop\start} sshd This ...
0
votes
0answers
43 views

cygwin default group permissions

I'm have trouble to setup permissions on a cygwin enviroment. the command chmod dont work fine. Example by default the permissions in all directories are drwxrwxr-x+ 1 myuser None ~ Whenever I ...
0
votes
0answers
287 views

cygwin fork error

I have set up a new PC and installed cygwin on it. Its windows 7 pro. Whenever I try to build our application on it, I get the following error: 0 [main] sh 3472 child_info_fork::abort: can't commit ...
0
votes
0answers
22 views

sh error while executing any command in Cygwin

Any command I write in Cygwin it display an error message sh.exe:(something):comand not found or No such file or directory I'm using windows server 2008.
0
votes
0answers
35 views

unexpected reboot during cygwin setup

I have an interesting situation with cygwin installation on win xp sp3 (+ recent updates installed). After all selected packages are downloaded and setup process starts windows reboots. This is not ...
0
votes
0answers
170 views

rsync windows to linux permission denied

Using Command rsync -avzP --delete --omit-dir-times ../../ ext@mysite.com:/var/www/mysite/ I'm getting rsync: mkstemp "/var/www/mysite/.." failed: Permission denied (13) If ext is in the ...
0
votes
0answers
215 views

Cygwin not operating after new package install?

I installed wget package through setup.exe on my existing Cygwin installation. But the problem is, after rebooting and opening Cygwin, it's not functioning properly. Some simple commands like ls, man, ...
0
votes
0answers
185 views

How do I install/run Grace(plotting tool) on Windows 7?

I have installed cygwin and added grace as a package, so both are on my computer. When I open up the cygwin thing and type in xmgrace or just grace I get setu/usr/share/grace/bin/xmgrace.exe: ...
0
votes
0answers
113 views

Error on git clone in cygwin: error: inflate: data stream error (invalid code lengths set)

I am trying to clone a repository using git on cygwin. Machine is a Windows XP machine, running a newly updated version of cygwin I have cloned this repository without any trouble previously, but on ...
0
votes
0answers
209 views

Can't install ruby gem on windows - netinet/in.h: No such file or directory

I'm trying to install this ruby gem call 'ernie' on my windows 7 machine, and i'm getting the following error: ERROR: Error installing ernie: ERROR: Failed to build gem native extension. ...
0
votes
0answers
22 views

How do I get the up button to be processed by gdb?

I am running MinGw's gdb under cygwin and every time I press the up-arrow button, the cursor moves up one line (similar for the other directions and tab). How do I make it so that gdb will process ...
0
votes
0answers
241 views

Trying to run a cron job in cygwin but unable to since the cron seems to ORPHAN. How do I solve this?

the output of $ cronevents 2012/07/13 17:05:12 [Administrator] crontab: PID 2468: (Administrator) END EDIT (Administrator) 2012/07/13 17:05:19 [Administrator] crontab: PID 656: (Administrator) ...
0
votes
0answers
470 views

OnionCat on Windows 7 x64 with OpenVPN TUN/TAP

I wanted to play around with OnionCat and GarliCat. I successfully installed Cygwin, compiled OnionCat from the latest source, then installed the OpenVPN client from openvpn.net for the OpenVPN ...
0
votes
0answers
78 views

Cygwin Python and Windows Ruby

I have a peculiar setup as follows: I have cygwin installed on a Windows 7 machine. I need execute a python script setup in cygwin from the windows CLI. This works fine : ...
0
votes
0answers
291 views

Shell script to copy a text file from windows machine to linux based device

A linux based navigation device is connected with my windows machine. I want to copy a text file to root of device using shell script from windows machine(through cygwin or putty). please help. ...
0
votes
0answers
361 views

cygwin syslog server won't start

I'm trying to set up syslog on windows using the instructions here: http://www.syslog.org/logged/running-syslog-ng-on-windows/ Which worked fine, but now when I try and start the created service, it ...
0
votes
0answers
83 views

Force GTK/Gnome theme for X application

I want to force pure X application to use GTK/Gnome theme. Is it possible? I'm using cygwin and cygwin/X.
0
votes
0answers
233 views

Error running gcc on cygwin (bad adress)

I'm trying to get gcc running on cygwin. Whenever I launch it, I get the error: $ gcc a1.c gcc: installation problem, cannot exec '/usr/lib/gcc/i686-pc-cygwin/3.4.4/cc1.exe': Bad address gcc: ...
0
votes
0answers
397 views

SSH via Cygwin “Authentication method 'password' failed”

there. I'm an SSH/Cygwin noob, but want to use ssh via Cygwin to connect to a Windows 7 machine under a domain from ConnectBot (android). I went through the ssh-host-config as described here: ...
0
votes
0answers
49 views

Why are some Cygwin packages' sources ALWAYS pending?

Every so often I run Cygwin's setup.exe and click "Install" for the "All" category. However, when I change the view to show "Pending", about seventy-five packages' sources are always checked to ...
0
votes
0answers
270 views

Trying to run MATLAB through an ssh connection, MATLAB process hangs

I have two computers and I am attempting to ssh from one to the other and then running an automated MATLAB script. My sshd and ssh client are both from OpenSSH via Cygwin on both machines, which are ...
0
votes
0answers
735 views

Cygwin SSH Connection Host key verification failed

I'm trying to establish an SSH connection with my school's server. I have already created the public-private key pair. I can connect to the server only using gitbush (mingw32) and everything seems ...
0
votes
0answers
435 views

Problem with makefile in Cygwin

I have installed Cygwin. My problem is when I try to run a makefile which contains a line gcc -g -c file.c I get an error: Fatal: Unable to execute command: gcc At the same time when running ...