Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't open cygwin terminal after installation

Tags:

I just installed cygwin in my windows7 pc. After installation when i click on 'Cygwin Terminal' from start menu it shows a message like this - message title: Missing Shortcut "Windows is searching for mintty. To locate the file yourself, click Browse" with two buttons below "Browse" and "Cancel". Then if I select mintty.exe manually from "C:\cygwin\bin" by clicking Browse button it doesn't load anything. How can I be get rid of this?

like image 667
Alamin Hossain Avatar asked Sep 16 '14 11:09

Alamin Hossain


People also ask

How do I run Cygwin after installing?

Download the Cygwin installer and run setup.exe . Click Next through the defaults and select mirror for downloading packages. Complete the set up. Repeat this process when updating Cygwin or adding more packages.

How do I start Cygwin bash?

Open the command prompt of Windows either via the Program Menu or type cmd in the Start Search of Windows. Enter bash. If the bash prompt appears as shown in the picture below, it was successful. To end Cygwin enter exit, then enter exit again to end the command prompt.


2 Answers

Open the Cygwin Terminal properties (by right click on the icon and go to properties) check the path of 'mintty'. If everything looks right and it is still giving error, change the 'mintty' to 'mintty.exe'. This solved my problem.

like image 191
RChat Avatar answered Sep 21 '22 16:09

RChat


For Installing Cygwin follow the steps given here-

-Link is now dead- http://www.news.amigowork.com/how-to-install-unix-in-windows/

if problem is still there

then

go to installation directory and open Cygwin.bat

or

go to bin folder of installation directory and open mintty.exe.

it will solve your problem.

like image 44
adarsh Avatar answered Sep 17 '22 16:09

adarsh