Re: Problem installing cygwin/X on vista sp2 64bit

2009-11-03 Thread Linda Walsh

Massimo Giovannini wrote:

Hi,
I have always installed and used cygwinX on my windows Xp 
machines without any problem.
I have been trying to install on my new Vista 64 bit laptop 
and I cannot figure out what is going wrong. 

---

  W e l c o m e   t o   V i s t a !

:-)

I've been going through similar pains playing with a still not fully
functional Vista machine (still awaiting a Win7 upgrade as well).  


Even though you got the standalone X-server to work, FWIW, on
Vista, you could also be running into permission problems even as
Admin.  Many files and directories don't have write permission enabled
for Admin.  To enable them you have to 'get violent' with Vista  and
reclaim directories you want write access to by taking over their
ownership and then making it so you have r/w access.  If you do this,
take care to note the original owner and/or accesses to make sure that
any group/ID that had access before ('TrustedInstaller', 'SYSTEM') also
has the same (usually full control) access after you take ownership.

The prompt in your cygwin window being 'broken' is possibly a symptom
of that.  By default, I found that I couldn't add files to my root
directory (a good thing, actually, too many apps still try to install
stuff there, and a default no files prevents accidental clutter).

Just thought I'd add an addendum, though looks like Larry gave you
the exact solution you needed.

Linda

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



RE: Problem installing cygwin/X on vista sp2 64bit

2009-11-03 Thread Massimo Giovannini




So do you just need the X server?  Perhaps a pure Win32 one would be easier
for you.  See http://www.straightrunning.com/XmingNotes/.


Great!! This works perfect. Thank you so much!




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Problem installing cygwin/X on vista sp2 64bit

2009-11-03 Thread Larry Hall (Cygwin X)

On 11/02/2009 03:11 PM, Massimo Giovannini wrote:

Hi, I think I managed to obtain the cygcheck.out, which I attached after
having added C:\cygwing\bin to the path of windows.
Yes I am not an expert of unix and I am sorry, but I need this
application  to run Matlab on a cluster in interactive fashion.


So do you just need the X server?  Perhaps a pure Win32 one would be easier
for you.  See http://www.straightrunning.com/XmingNotes/.


Another question: normally when I launched cygwin on my old laptop,
there  was a prompt telling my working directory, now I just get bash-3.2, why is 

that?

Same reason as all the other problems.  Your postinstall scripts didn't run.

I don't see any clear indicaton why these would fail given your cygcheck output.
Are you sure that the Lenovo Client Security Solution isn't getting in your way
(i.e. http://cygwin.com/acronyms/#BLODA)?  That's all I can see/think of.
If that's not it, you may find that you can either:

  1. Just re-run 'setup.exe' again and it could fix what it tripped over 
the last time.

  2. Try 1.7 instead. http://cygwin.com/#beta-test

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



RE: Problem installing cygwin/X on vista sp2 64bit

2009-11-02 Thread Massimo Giovannini
Hi, I think I managed to obtain the cygcheck.out, which I attached after having 
added C:\cygwing\bin to the path of windows.
Yes I am not an expert of unix and I am sorry, but I need this application to 
run  Matlab on a cluster in interactive fashion.

Another question: normally when I launched cygwin on my old laptop, there was a 
prompt telling my working directory, now I just get bash-3.2, why is that?



Sent: Sunday, November 01, 2009 11:51 PM
To: cygwin-xfree@cygwin.com
Subject: Re: Problem installing cygwin/X on vista sp2 64bit


I'm getting the feeling that you're not used to Unix/Linux or command-line
oriented environments.  If that's the case, you may want to rethink about
using Cygwin or look up a tutorial or two on Unix/Linux to help you get
oriented.

The reason what you typed didn't work is because you are in a directory
which isn't in your path and you didn't say where to find 'cygcheck'.  You
need to do one of the following:

   1. Use the fully qualified path (i.e. c:\bin\cygcheck.exe)
   2. Use the relative path to specify the current directory (i.e. 
.\cygcheck.exe)
   3. Add c:\bin to your Windows path so you don't have to do either of 1 or 2.




cygcheck.out
Description: Binary data
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/

Re: Problem installing cygwin/X on vista sp2 64bit

2009-11-01 Thread Larry Hall (Cygwin X)

On 11/01/2009 01:41 PM, Massimo Giovannini wrote:

2009/11/01 12:38:38 running: C:\cygwin\bin\bash.exe -c
/etc/postinstall/terminfo0.sh
2009/11/01 12:40:16 abnormal exit: exit code=128


This is your problem.  The postinstall scripts are failing.  Are you installing
with administrator privileges?  If not, doing so may help.  Otherwise, you can
try running the command above from the command line and see if you get
more insight into why it failed.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



RE: Problem installing cygwin/X on vista sp2 64bit

2009-11-01 Thread Massimo Giovannini
Yes I am using admin privileges.
I tried to use startrun C:\cygwin\bin\bash.exe -c/etc/postinstall/terminfo0.sh
But nothing happens (actually a black window opens for a second and then it 
closes)...
Any idea?
-Original Message-
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree-ow...@cygwin.com] On 
Behalf Of Larry Hall (Cygwin X)
Sent: Sunday, November 01, 2009 5:47 PM
To: cygwin-xfree@cygwin.com
Subject: Re: Problem installing cygwin/X on vista sp2 64bit

On 11/01/2009 01:41 PM, Massimo Giovannini wrote:
 2009/11/01 12:38:38 running: C:\cygwin\bin\bash.exe -c
 /etc/postinstall/terminfo0.sh
 2009/11/01 12:40:16 abnormal exit: exit code=128

This is your problem.  The postinstall scripts are failing.  Are you installing
with administrator privileges?  If not, doing so may help.  Otherwise, you can
try running the command above from the command line and see if you get
more insight into why it failed.

-- 
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
  Q: Are you sure?
  A: Because it reverses the logical flow of conversation.
  Q: Why is top posting annoying in email?

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Problem installing cygwin/X on vista sp2 64bit

2009-11-01 Thread Larry Hall (Cygwin X)

On 11/01/2009 06:18 PM, Massimo Giovannini wrote:

Yes I am using admin privileges.
I tried to use startrun C:\cygwin\bin\bash.exe -c/etc/postinstall/terminfo0.sh
But nothing happens (actually a black window opens for a second and then it 
closes)...
Any idea?


Open a console window (cmd.exe) and type the following:

C:\cygwin\bin\bash.exe -x -c /etc/postinstall/terminfo0.sh


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



RE: Problem installing cygwin/X on vista sp2 64bit

2009-11-01 Thread Massimo Giovannini
Here is what I get...

C:\Users\MassimoC:\cygwin\bin\bash.exe -x -c /etc/postinstall/terminfo0.sh
+ /etc/postinstall/terminfo0.sh
/usr/bin/bash: /etc/postinstall/terminfo0.sh: No such file or directory

-Original Message-
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree-ow...@cygwin.com] On 
Behalf Of Larry Hall (Cygwin X)
Sent: Sunday, November 01, 2009 7:20 PM
To: cygwin-xfree@cygwin.com
Subject: Re: Problem installing cygwin/X on vista sp2 64bit

On 11/01/2009 06:18 PM, Massimo Giovannini wrote:
 Yes I am using admin privileges.
 I tried to use startrun C:\cygwin\bin\bash.exe 
 -c/etc/postinstall/terminfo0.sh
 But nothing happens (actually a black window opens for a second and then it 
 closes)...
 Any idea?

Open a console window (cmd.exe) and type the following:

C:\cygwin\bin\bash.exe -x -c /etc/postinstall/terminfo0.sh


-- 
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
  Q: Are you sure?
  A: Because it reverses the logical flow of conversation.
  Q: Why is top posting annoying in email?

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Problem installing cygwin/X on vista sp2 64bit

2009-11-01 Thread Larry Hall (Cygwin X)

http://cygwin.com/acronyms/#TOFU

On 11/01/2009 07:33 PM, Massimo Giovannini wrote:

-Original Message-
From: cygwin-xfree-owner [mailto:cygwin-xfree-owner...] On Behalf Of Larry 
Hall (Cygwin X)

 ^

Sent: Sunday, November 01, 2009 7:20 PM
To: cygwin-xfree...

  
http://cygwin.com/acronyms/#PCYMTNQREAIYR  Don't feed the spammers.  Thanks.


Subject: Re: Problem installing cygwin/X on vista sp2 64bit

On 11/01/2009 06:18 PM, Massimo Giovannini wrote:

Yes I am using admin privileges.
I tried to use startrun C:\cygwin\bin\bash.exe -c/etc/postinstall/terminfo0.sh
But nothing happens (actually a black window opens for a second and then it 
closes)...
Any idea?


Open a console window (cmd.exe) and type the following:

C:\cygwin\bin\bash.exe -x -c /etc/postinstall/terminfo0.sh

Here is what I get...

C:\Users\MassimoC:\cygwin\bin\bash.exe -x -c /etc/postinstall/terminfo0.sh
+ /etc/postinstall/terminfo0.sh
/usr/bin/bash: /etc/postinstall/terminfo0.sh: No such file or directory



My WAG is either more didn't install for some reason (such that you don't 
have this

file) or you are suffering from http://cygwin.com/acronyms/#BLODA or
http://cygwin.com/acronyms/#3PP.  Please *attach* your cygcheck output as
requested by http://cygwin.com/problems.html.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



RE: Problem installing cygwin/X on vista sp2 64bit

2009-11-01 Thread Massimo Giovannini
Bash: cygcheck: command not found.

-Original Message-
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree-ow...@cygwin.com] On 
Behalf Of Larry Hall (Cygwin X)
Sent: Sunday, November 01, 2009 7:53 PM
To: cygwin-xfree@cygwin.com
Subject: Re: Problem installing cygwin/X on vista sp2 64bit

http://cygwin.com/acronyms/#TOFU

On 11/01/2009 07:33 PM, Massimo Giovannini wrote:
 -Original Message-
 From: cygwin-xfree-owner [mailto:cygwin-xfree-owner...] On Behalf Of 
 Larry Hall (Cygwin X)
  ^
 Sent: Sunday, November 01, 2009 7:20 PM
 To: cygwin-xfree...
   
http://cygwin.com/acronyms/#PCYMTNQREAIYR  Don't feed the spammers.  Thanks.

 Subject: Re: Problem installing cygwin/X on vista sp2 64bit

 On 11/01/2009 06:18 PM, Massimo Giovannini wrote:
 Yes I am using admin privileges.
 I tried to use startrun C:\cygwin\bin\bash.exe 
 -c/etc/postinstall/terminfo0.sh
 But nothing happens (actually a black window opens for a second and then it 
 closes)...
 Any idea?

 Open a console window (cmd.exe) and type the following:

 C:\cygwin\bin\bash.exe -x -c /etc/postinstall/terminfo0.sh

 Here is what I get...

 C:\Users\MassimoC:\cygwin\bin\bash.exe -x -c /etc/postinstall/terminfo0.sh
 + /etc/postinstall/terminfo0.sh
 /usr/bin/bash: /etc/postinstall/terminfo0.sh: No such file or directory


My WAG is either more didn't install for some reason (such that you don't 
have this
file) or you are suffering from http://cygwin.com/acronyms/#BLODA or
http://cygwin.com/acronyms/#3PP.  Please *attach* your cygcheck output as
requested by http://cygwin.com/problems.html.

-- 
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
  Q: Are you sure?
  A: Because it reverses the logical flow of conversation.
  Q: Why is top posting annoying in email?

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Problem installing cygwin/X on vista sp2 64bit

2009-11-01 Thread Larry Hall (Cygwin X)

Hm, let's see.  Last time, among other things, I pointed you at:

http://cygwin.com/acronyms/#TOFU
and
http://cygwin.com/acronyms/#PCYMTNQREAIYR

I suppose ignoring the first is only a minor politeness infraction but the 
latter is

rather rude.  Please be considerate in your posts.  Thanks.

On 11/01/2009 08:10 PM, Massimo Giovannini wrote:

Bash: cygcheck: command not found.


If you chose the default installation path for Cygwin, it's in C:\bin.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



RE: Problem installing cygwin/X on vista sp2 64bit

2009-11-01 Thread Massimo Giovannini
Sorry,it is my first time on this website, and I did not understand those links 
were for me...I thought it was some sort of signature.
Everything seems complicated here and also the language seems very cryptic..

I went on the bin directory cd C:/cygwin/bin, I typed cygcheck -s -v -r and 
still it says command not found.
I manually went in the directory and the file seems to be there..

The funny thing is that also ls does not work..

(I deleted all the old messages...is it ok ? I don't understand what I should 
do with the TOFU problem..)






--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Problem installing cygwin/X on vista sp2 64bit

2009-11-01 Thread Larry Hall (Cygwin X)

On 11/01/2009 10:35 PM, Massimo Giovannini wrote:

Sorry,it is my first time on this website, and I did not understand
those  links were for me...I thought it was some sort of signature.
Everything seems complicated here and also the language seems very
cryptic..


Acronyms are certainly cryptic, until you understand them.  I do go out of
my way to actually provide the links to them when I use them, as you
noticed.


I went on the bin directory cd C:/cygwin/bin, I typed cygcheck -s -v -r
and still it says command not found.  I manually went in the directory and
the file seems to be there..


I'm getting the feeling that you're not used to Unix/Linux or command-line
oriented environments.  If that's the case, you may want to rethink about
using Cygwin or look up a tutorial or two on Unix/Linux to help you get
oriented.

The reason what you typed didn't work is because you are in a directory
which isn't in your path and you didn't say where to find 'cygcheck'.  You
need to do one of the following:

  1. Use the fully qualified path (i.e. c:\bin\cygcheck.exe)
  2. Use the relative path to specify the current directory (i.e. 
.\cygcheck.exe)

  3. Add c:\bin to your Windows path so you don't have to do either of 1 or 2.


The funny thing is that also ls does not work..


See above.  Same problem.


(I deleted all the old messages...is it ok ? I don't understand what I
should do with the TOFU problem..)


Deleting everything can be fine, if there's no critical context.

TOFU, in general, is meant to indicate that it's preferable to trim out 
anything

that isn't helpful context in your reply and to reply in-line and/or after any
context you keep.  In other words, what I'm doing. ;-)

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/