This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Best practices for Cygwin install on Terminal Server in app mode?


On Sat, 17 May 2003, Andrew Markebo wrote:

> | bash-2.05b$ $PATH
> | bash:
> | /cygdrive/c/WINNT/system32:/cygdrive/c/WINNT:/cygdrive/c/WINNT/System32/Wb
> | em:/cygdrive/c/Program: No such file or directory
>
> I would vote for "echo $PATH" instead of "$PATH", what does mount say?
> If command not found, you might have to say
> /cygdrive/c/cygwin/bin/mount or similar..
>
> I vote for something like the mount-table is not set up, and the
> cygwin dir is not 'mounted' as /, therefore the .profile, .login (with
> and without '.' (they often set the path and so on) can't be found and
> ran..
>         /Andy

Alex, the output of "cygcheck -svr" attached, as per
<http://cygwin.com/problems.html> should be informative in this case.
Is it possible that Terminal Services gives you a temporary registry that
it throws out upon exiting?

Andy, FYI, the "/usr/bin:/bin:" is prepended to the PATH by the default
/etc/profile, so bash may not be finding /etc (IOW, I concur on your
mount guess).
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]