sshd and X

Jean-Claude Gervais jc.gervais@videotron.ca
Wed May 25 15:10:00 GMT 2005


Thanks for trying, but it gives the same result.

Maybe if I ask the question in a different way? Someone here MUST know
this -

How do you configure a Windows machine to receive ssh connections (done)
and also run x applications and send the display back to the ssh client?

Is there a how-to for this? I realize it is pretty specific to Cygwin/X

Thanks


On Wed, 2005-05-25 at 10:59 -0400, Jean-Sebastien Trottier wrote:
> Try using the -X switch as well:
>     ssh -X -Y user@host
> 
> If this works, then read man ssh_config to learn how to enable X11
> forwarding by default on the client side.
> 
> Cheers,
> Sebastien
> 
> On Wed, May 25, 2005 at 10:07:40AM -0400, Jean-Claude Gervais wrote:
> > Thanks, Ago.
> > 
> > 	Using the instructions you provided, I was able to edit the file and
> > enable 
> > 
> > X11Forwarding yes
> > 
> > I've restarted the ssh daemon, but it still doesn,t work, the DISPLAY
> > variable is still not set.
> > 
> > One thing; I changed the file
> > /etc/sshd_config
> > NOT
> > /etc/ssh/sshd_config
> > 
> > There is no /etc/ssh/ 
> > folder. All the ssh-related files are in /etc
> > Is that normal?
> > 
> > Also, what should I try next?
> > 
> > thanks.
> > 
> > 
> > On Wed, 2005-05-25 at 15:25 +0200, Alexander Gottwald wrote:
> > > On Wed, 25 May 2005, Jean-Claude Gervais wrote:
> > > 
> > > > ago,
> > > > 
> > > > 	Are you sure the linux box id the problem?
> > >  
> > > Sorry, I assumed you were connecting from cygwin to linux and not the
> > > other way. 
> > > 
> > > > > > 	I can't seem to change the settings in the config files.
> > > > > > 	I am logged on to the machine a me/domain
> > > > > > 	The user I am logged on as is in the W2K machine's Administrators
> > > > > > group.
> > > > > > 	But the config file is owned by SYSTEM and I can't seem to edit it.
> > > > > > 	What's the best course of action?
> > > 
> > > sshd is running as user SYSTEM and so they are owned by him. Changing the
> > > file permissions may help
> > > 
> > > chmod go+w /etc/ssh/sshd_config
> > > vi  /etc/ssh/sshd_config
> > > chmod go-w /etc/ssh/sshd_config
> > > 
> > > But that's only a wild guess
> > > 
> > > bye
> > > 	ago
> > 



More information about the Cygwin-xfree mailing list