This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 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: sshd and X


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
> 

Attachment: signature.asc
Description: Digital signature


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