Re: Cygwin-X shortcuts and installation to c:\Program Files\cygwin
This now works with the latest version of run that I downloaded today. Thanks for your help. Mike I have installed cygwin, plus Cygwin-X, to c:\progra~1\cygwin. I have used it that way for years. However, I have noticed that when I try to run an X-Windows program using the pre-defined shortcuts in the start menu, such as xcalc or bitmap, that they will not run. When I look at the properties of the program I get this error message with run.exe: Error: Couldn't find Files\cygwin\usr\X11R6\bin\run.exe -p /usr/X11R6/bin xcalc -display 127.0.0.1:0.0 anywhere. I even looked in the PATH... Is the entry in the shortcut broken? Or is it the run utility. The shortcut should read C:\Program Files\cygwin\usr\X11R6\bin\run.exe -p /usr/X11R6/bin xcalc -display 127.0.0.1:0.0 __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Re: Cygwin-X shortcuts and installation to c:\Program Files\cygwin
Alexander, --- Alexander Gottwald [EMAIL PROTECTED] wrote: Mike McCollister wrote: I have installed cygwin, plus Cygwin-X, to c:\progra~1\cygwin. I have used it that way for years. However, I have noticed that when I try to run an X-Windows program using the pre-defined shortcuts in the start menu, such as xcalc or bitmap, that they will not run. When I look at the properties of the program I get this error message with run.exe: Error: Couldn't find Files\cygwin\usr\X11R6\bin\run.exe -p /usr/X11R6/bin xcalc -display 127.0.0.1:0.0 anywhere. I even looked in the PATH... Is the entry in the shortcut broken? Or is it the run utility. The shortcut should read C:\Program Files\cygwin\usr\X11R6\bin\run.exe -p /usr/X11R6/bin xcalc -display 127.0.0.1:0.0 The entry is good. It appears to be the run utility. Mike __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Cygwin-X shortcuts and installation to c:\Program Files\cygwin
I have installed cygwin, plus Cygwin-X, to c:\progra~1\cygwin. I have used it that way for years. However, I have noticed that when I try to run an X-Windows program using the pre-defined shortcuts in the start menu, such as xcalc or bitmap, that they will not run. When I look at the properties of the program I get this error message with run.exe: Error: Couldn't find Files\cygwin\usr\X11R6\bin\run.exe -p /usr/X11R6/bin xcalc -display 127.0.0.1:0.0 anywhere. I even looked in the PATH... It appears that the shortcut uses C:\Program Files in it and the space is causing problems. I have modified the startxwin.bat and startxwin.sh scripts so that the proper directory is being used but that did not make a difference. I can run these programs from the command line without any problems. It just appears that the run command needs to take into account that it might reside in a directory with spaces in it. Mike __ Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. http://promotions.yahoo.com/new_mail
Re: Can't get startwin.bat to work
Mark, It works fine if I open it up using a cygwin shell. That is not the problem. When I run form a Windows cmd and run startxwin.bat, it does not work. I've tried to do it manually with this command: run XWin -clipboard -silent-dup-error no xwindow comes up with the checkered background. If I do this from within bash: XWin -clipboard -silent-dup-error there are no problems. A little more research shows that at the cmd line that if I do not use the run, then the Xwindows screen will come up but I can't startup the xterm since this is not returned to the prompt. I've tried: start /b XWin -clipboard -silent-dup-error and this works great It looks as if the run command is broken. In summary, the run command does not seem to work. the start /b option is the thing to use, at least with Windows 2000. Mike --- Mark Paulus [EMAIL PROTECTED] wrote: Have you tried to open up a cygwin shell, and then starting up an xterm, to see if it might just be there, awaiting connections? If you open in multiwindow mode (native mode by default), then I wouldn't expect anything to happen until your X Server actually has a client window to display. open up a cygwin bash shell, make sure your DISPLAY is set, or give the -display option to some xclient (xterm, xclock, etc), and see if it pops up on your desktop. On Wed, 10 Nov 2004 04:49:47 -0800 (PST), Mike McCollister wrote: I have been using cygwin for years and the X client under cygwin for about a year. In order to get X to work, I have to make sure that I am running bash and then run startxwin.sh to get it to work. Well, I've been trying to get it to work with just startxwin.bat but I am not successful. It seems to have a problem with the run commands. Here are the run commands: run XWin -clipboard -silent-dup-error run xterm -sl 1000 -sb -rightbar -ms red -fg yellow -bg black -e /usr/bin/bash -l I do have cygwin installed in c:\progra~1\cygwin and I have modified startxwin.bat so that SET CYGWIN_ROOT=c:\progra~1\cygwin The last time I updated anything in cygwin as last week (first week of November). Does anyone know how to get the startxwin.bat to work? Just a little more background. When I mean that it does not work, I mean that the X shows up as an icon next to the clock but nothing else happens. If I right click on the X, nothing happens. I have to use the Task Manger to kill XWin.exe. Thanks, Mike __ Do you Yahoo!? Check out the new Yahoo! Front Page. www.yahoo.com __ Do you Yahoo!? The all-new My Yahoo! - Get yours free! http://my.yahoo.com
Can't get startwin.bat to work
I have been using cygwin for years and the X client under cygwin for about a year. In order to get X to work, I have to make sure that I am running bash and then run startxwin.sh to get it to work. Well, I've been trying to get it to work with just startxwin.bat but I am not successful. It seems to have a problem with the run commands. Here are the run commands: run XWin -clipboard -silent-dup-error run xterm -sl 1000 -sb -rightbar -ms red -fg yellow -bg black -e /usr/bin/bash -l I do have cygwin installed in c:\progra~1\cygwin and I have modified startxwin.bat so that SET CYGWIN_ROOT=c:\progra~1\cygwin The last time I updated anything in cygwin as last week (first week of November). Does anyone know how to get the startxwin.bat to work? Just a little more background. When I mean that it does not work, I mean that the X shows up as an icon next to the clock but nothing else happens. If I right click on the X, nothing happens. I have to use the Task Manger to kill XWin.exe. Thanks, Mike __ Do you Yahoo!? Check out the new Yahoo! Front Page. www.yahoo.com