XWin -- Problem

2009-08-18 Thread A.Hofstaetter
Xwin doesn't start. Please help. The log-File ist attached. It seems to be a 
problem with the multiuser environment. Running XWin as a 
Windows-Administrator is no problem, but running as an restricted user 
fails.


please help ... quick

regards alex

Sorry, if the solution is in a forum, I really searched hard, but found only 
others who had the same problem but no solution... 


XWin.0.log
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/

ssh config

2009-08-18 Thread Mike Ayers

I'm trying to set up shortcuts in ~/.ssh/config, but it doesn't seem to 
work.  I add:

Host slate
Hostname quarry.slate-gravel.com
User fred

...but when I try to use it:

[SNIP]
host ssh slate
ssh: Could not resolve hostname slate: no address associated with name
host
[/SNIP]

What am I missing here?


Thanks,

Mike



Re: ssh config

2009-08-18 Thread Jim Reisert AD1C
Check your /etc/passwd file
It's possible that ~ isn't really your home directory

- Jim

On Tue, Aug 18, 2009 at 9:46 AM, Mike Ayersmike_ay...@tvworks.com wrote:

        I'm trying to set up shortcuts in ~/.ssh/config, but it doesn't seem 
 to work.  I add:

 Host slate
    Hostname quarry.slate-gravel.com
    User fred

        ...but when I try to use it:

 [SNIP]
 host ssh slate
 ssh: Could not resolve hostname slate: no address associated with name
 host
 [/SNIP]

        What am I missing here?


        Thanks,

 Mike





-- 
Jim Reisert AD1C, jjreis...@alum.mit.edu, http://www.ad1c.us

--
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: ssh config

2009-08-18 Thread Mike Ayers

Well that was it, thanks, but why is ssh looking there?  I thought it 
(and all other apps) used HOME on cygwin?


Thanks,

Mike

 -Original Message-
 From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree-
 ow...@cygwin.com] On Behalf Of Jim Reisert AD1C
 Sent: Tuesday, August 18, 2009 10:24 AM
 To: cygwin-xfree@cygwin.com
 Subject: Re: ssh config
 
 Check your /etc/passwd file
 It's possible that ~ isn't really your home directory
 
 - Jim
 
 On Tue, Aug 18, 2009 at 9:46 AM, Mike Ayersmike_ay...@tvworks.com
 wrote:
 
         I'm trying to set up shortcuts in ~/.ssh/config, but it doesn't seem 
  to
 work.  I add:
 
  Host slate
     Hostname quarry.slate-gravel.com
     User fred
 
         ...but when I try to use it:
 
  [SNIP]
  host ssh slate
  ssh: Could not resolve hostname slate: no address associated with name
  host
  [/SNIP]
 
         What am I missing here?
 
 
         Thanks,
 
  Mike
 
 
 
 
 
 --
 Jim Reisert AD1C, jjreis...@alum.mit.edu, http://www.ad1c.us
 
 --
 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: ssh config

2009-08-18 Thread Larry Hall (Cygwin X)

On 8/18/2009 1:46 PM, Mike Ayers wrote:


Well that was it, thanks, but why is ssh looking there?  I thought it
(and all other apps) used HOME on cygwin?


Nope.  But if you think about it, if $HOME doesn't equal ~ for Cygwin,
something has gone awry.  Given that as context, it really wouldn't matter
whether '/etc/passwd' or $HOME was the source.

--
Larry

--
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: cygwin-xfree Digest 18 Aug 2009 22:10:38 -0000 Issue 2688

2009-08-18 Thread Harry Zisko
On Tue, Aug 18, 2009 at 12:10 PM, cygwin-xfree-digest-h...@cygwin.com wrote:

 cygwin-xfree Digest 18 Aug 2009 22:10:38 - Issue 2688

 Topics (messages 28320 through 28324):

 XWin -- Problem
        28320 by: A.Hofstaetter ahi...@schule.at

 ssh config
        28321 by: Mike Ayers mike_ay...@tvworks.com
        28322 by: Jim Reisert AD1C jjreis...@alum.mit.edu
        28323 by: Mike Ayers mike_ay...@tvworks.com
        28324 by: Larry Hall (Cygwin X) reply-to-list-only-l...@cygwin.com

 Administrivia:

 To subscribe to the digest, e-mail:
        cygwin-xfree-digest-subscr...@cygwin.com

 To unsubscribe from the digest, e-mail:
        cygwin-xfree-digest-unsubscr...@cygwin.com

 To post to the list, e-mail:
        cygwin-xf...@cygwin.com


 --


 -- Forwarded message --
 From: A.Hofstaetter ahi...@schule.at
 To: cygwin-xfree@cygwin.com
 Date: Tue, 18 Aug 2009 15:28:58 +0200
 Subject: XWin -- Problem
 Xwin doesn't start. Please help. The log-File ist attached. It seems to be a 
 problem with the multiuser environment. Running XWin as a 
 Windows-Administrator is no problem, but running as an restricted user fails.

 please help ... quick

 regards alex

 Sorry, if the solution is in a forum, I really searched hard, but found only 
 others who had the same problem but no solution...


 -- Forwarded message --
 From: Mike Ayers mike_ay...@tvworks.com
 To: cygwin-xfree@cygwin.com
 Date: Tue, 18 Aug 2009 08:46:14 -0700
 Subject: ssh config

        I'm trying to set up shortcuts in ~/.ssh/config, but it doesn't seem 
 to work.  I add:

 Host slate
    Hostname quarry.slate-gravel.com
    User fred

        ...but when I try to use it:

 [SNIP]
 host ssh slate
 ssh: Could not resolve hostname slate: no address associated with name
 host
 [/SNIP]

        What am I missing here?


        Thanks,

 Mike



 -- Forwarded message --
 From: Jim Reisert AD1C jjreis...@alum.mit.edu
 To: cygwin-xf...@cygwin.com
 Date: Tue, 18 Aug 2009 11:24:23 -0600
 Subject: Re: ssh config
 Check your /etc/passwd file
 It's possible that ~ isn't really your home directory

 - Jim

 On Tue, Aug 18, 2009 at 9:46 AM, Mike Ayersmike_ay...@tvworks.com wrote:

        I'm trying to set up shortcuts in ~/.ssh/config, but it doesn't seem 
 to work.  I add:

 Host slate
    Hostname quarry.slate-gravel.com
    User fred

        ...but when I try to use it:

 [SNIP]
 host ssh slate
 ssh: Could not resolve hostname slate: no address associated with name
 host
 [/SNIP]

        What am I missing here?


        Thanks,

 Mike





 --
 Jim Reisert AD1C, jjreis...@alum.mit.edu, http://www.ad1c.us


 -- Forwarded message --
 From: Mike Ayers mike_ay...@tvworks.com
 To: cygwin-xfree@cygwin.com
 Date: Tue, 18 Aug 2009 10:46:52 -0700
 Subject: RE: ssh config

        Well that was it, thanks, but why is ssh looking there?  I thought it 
 (and all other apps) used HOME on cygwin?


        Thanks,

 Mike

 -Original Message-
 From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree-
 ow...@cygwin.com] On Behalf Of Jim Reisert AD1C
 Sent: Tuesday, August 18, 2009 10:24 AM
 To: cygwin-xfree@cygwin.com
 Subject: Re: ssh config

 Check your /etc/passwd file
 It's possible that ~ isn't really your home directory

 - Jim

 On Tue, Aug 18, 2009 at 9:46 AM, Mike Ayersmike_ay...@tvworks.com
 wrote:
 
         I'm trying to set up shortcuts in ~/.ssh/config, but it doesn't 
  seem to
 work.  I add:
 
  Host slate
     Hostname quarry.slate-gravel.com
     User fred
 
         ...but when I try to use it:
 
  [SNIP]
  host ssh slate
  ssh: Could not resolve hostname slate: no address associated with name
  host
  [/SNIP]
 
         What am I missing here?
 
 
         Thanks,
 
  Mike
 
 



 --
 Jim Reisert AD1C, jjreis...@alum.mit.edu, http://www.ad1c.us

 --
 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/



 -- Forwarded message --
 From: Larry Hall (Cygwin X) reply-to-list-only-l...@cygwin.com
 To: cygwin-xf...@cygwin.com
 Date: Tue, 18 Aug 2009 18:10:23 -0400
 Subject: Re: ssh config
 On 8/18/2009 1:46 PM, Mike Ayers wrote:

 Well that was it, thanks, but why is ssh looking there?  I thought it
 (and all other apps) used HOME on cygwin?

 Nope.  But if you think about it, if $HOME doesn't equal ~ for Cygwin,
 something has gone awry.  Given that as context, it really wouldn't matter
 whether '/etc/passwd' or $HOME was the source.

 --
 Larry



--
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: cygwin-xfree Digest 18 Aug 2009 22:10:38 -0000 Issue 2688

2009-08-18 Thread Larry Hall (Cygwin X)

On 8/18/2009 6:57 PM, Harry Zisko wrote:

On Tue, Aug 18, 2009 at 12:10 PM,cygwin-xfree-digest-help at cygwin dot 
com  wrote:


cygwin-xfree Digest 18 Aug 2009 22:10:38 - Issue 2688


snip

Harry,

Any reason you chose to spam this list with your digest and expose raw
email addresses for spam harvesters?

--
Larry

--
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: ssh config

2009-08-18 Thread Mike Ayers
 From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree-
 ow...@cygwin.com] On Behalf Of Larry Hall (Cygwin X)
 Sent: Tuesday, August 18, 2009 3:10 PM


 On 8/18/2009 1:46 PM, Mike Ayers wrote:
 
  Well that was it, thanks, but why is ssh looking there?  I thought it
  (and all other apps) used HOME on cygwin?
 
 Nope.  But if you think about it, if $HOME doesn't equal ~ for Cygwin,
 something has gone awry.  Given that as context, it really wouldn't matter
 whether '/etc/passwd' or $HOME was the source.

So it gets ~ from /etc/passwd?  Ah - didn't know that.  I'll check it 
in the future.  I do think of cygwin as a Windows environment more than Unix, 
so some of these things get by me.  In years past, I would just set HOME and 
all was well.


Thanks,

Mike



Re: ssh config

2009-08-18 Thread Mark J. Reed
Let's clarify something here.

~ is always the same as $HOME.  If you change $HOME - within bash -
then ~ changes too:

$ HOME=/bogus/directory
$ echo ~
/bogus/directory

HOME starts out set to whatever's in /etc/passwd, but you can change
it.  For that reason, security-conscious programs like ssh ignore
$HOME and go by what's in /etc/passwd (which, on a real Unix system,
an unprivileged user can't change).

So changing $HOME is asking for trouble, basically.


-- 
Mark J. Reed markjr...@gmail.com

--
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/