I need to enable forward the xWindows through my SSH session, but I'm having trouble. I'm using Putty and I've configured it to allow enable x11 forwarding through the ssh tunnel. I've also edited the /etc/ssh/sshd_config and set X11Forwarding yes. After doing this, it's not working. I'm sure there's quite a bit not doing. Could anybody offer any guidance? This is my first attempt to do this. Thanks, Todd -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20050914/fe0ae709/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3022 bytes Desc: not available URL: <http://lists.centos.org/pipermail/centos/attachments/20050914/fe0ae709/attachment.bin>
On Wed, 2005-09-14 at 12:55 -0500, Todd Reed wrote:> I need to enable forward the xWindows through my SSH session, but I?m > having trouble. I?m using Putty and I?ve configured it to allow > enable x11 forwarding through the ssh tunnel. I?ve also edited > the /etc/ssh/sshd_config and set X11Forwarding yes. After doing this, > it?s not working. I?m sure there?s quite a bit not doing. Could > anybody offer any guidance? This is my first attempt to do this.Todd- What errors are you getting when try to launch an X application? Are you running an X server on your windows machine? Have you restarted sshd since changing sshd_config? -- Sean
On Wed, 2005-09-14 at 13:55, Todd Reed wrote:> I need to enable forward the xWindows through my SSH session, but I?m > having trouble. I?m using Putty and I?ve configured it to allow > enable x11 forwarding through the ssh tunnel. I?ve also edited the > /etc/ssh/sshd_config and set X11Forwarding yes. After doing this, > it?s not working. I?m sure there?s quite a bit not doing. Could > anybody offer any guidance? This is my first attempt to do this. > >Which X window package are you running on the Windows system? Hummingbird? cygwin? Without one of those packages setup on the Windows system where you are running putty you won't get displays forwarded back to that system.
Are you running Putty on Windows? If so, are you running any X server software on it? If you are running an X-Windows environment on your desktop, you might need to use xhost to allow connections to the X server. Marko On Wed, September 14, 2005 10:55 am, Todd Reed said:> I need to enable forward the xWindows through my SSH session, but I'm > having > trouble. I'm using Putty and I've configured it to allow enable x11 > forwarding through the ssh tunnel. I've also edited the > /etc/ssh/sshd_config and set X11Forwarding yes. After doing this, it's > not > working. I'm sure there's quite a bit not doing. Could anybody offer any > guidance? This is my first attempt to do this. > > > > Thanks, > > Todd > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >
Do I need an xserver running on my windows box? That may be my problem. If so, could someone suggest one. I did a quick search and I found several that you have to pay for. --Todd -----Original Message----- From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On Behalf Of Sean O'Connell Sent: Wednesday, September 14, 2005 1:02 PM To: CentOS mailing list Subject: Re: [CentOS] X11 forwarding On Wed, 2005-09-14 at 12:55 -0500, Todd Reed wrote:> I need to enable forward the xWindows through my SSH session, but I'm > having trouble. I'm using Putty and I've configured it to allow > enable x11 forwarding through the ssh tunnel. I've also edited > the /etc/ssh/sshd_config and set X11Forwarding yes. After doing this, > it's not working. I'm sure there's quite a bit not doing. Could > anybody offer any guidance? This is my first attempt to do this.Todd- What errors are you getting when try to launch an X application? Are you running an X server on your windows machine? Have you restarted sshd since changing sshd_config? -- Sean _______________________________________________ CentOS mailing list CentOS at centos.org http://lists.centos.org/mailman/listinfo/centos -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3022 bytes Desc: not available URL: <http://lists.centos.org/pipermail/centos/attachments/20050914/4deacbf9/attachment.bin>
On Wed, 2005-09-14 at 13:10 -0500, Todd Reed wrote:> Do I need an xserver running on my windows box? That may be my problem. If > so, could someone suggest one. I did a quick search and I found several > that you have to pay for. > > --ToddYes. You need to running an X server. I believe that (gnu) cygwin has a free version of XFree86/Xorg server that comes with it. I think there was an ancient one by mix or something like that. Does your university have any under site license? When I worked at Duke, they had a site license for the X-win32 product from starnet (www.starnet.com). -- Sean
On Wed, 2005-09-14 at 14:10, Todd Reed wrote:> Do I need an xserver running on my windows box? That may be my problem. If > so, could someone suggest one. I did a quick search and I found several > that you have to pay for. > > --ToddNote my earlier response. cygwin provides an X server you can run under Windows and is, last I checked, freely available. You can also setup ssh tunneling with putty and run vnc over that to your linux system. Have used that in the past and it works very well. But if you want X11 forwarding you need an X server.
I would recommend cygwin/X. I use it almost every day at work through a putty ssh tunnel and I'm very happy with it. -----Original Message----- From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On Behalf Of Todd Reed Sent: Wednesday, September 14, 2005 1:11 PM To: CentOS mailing list Subject: RE: [CentOS] X11 forwarding Do I need an xserver running on my windows box? That may be my problem. If so, could someone suggest one. I did a quick search and I found several that you have to pay for. --Todd -----Original Message----- From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On Behalf Of Sean O'Connell Sent: Wednesday, September 14, 2005 1:02 PM To: CentOS mailing list Subject: Re: [CentOS] X11 forwarding On Wed, 2005-09-14 at 12:55 -0500, Todd Reed wrote:> I need to enable forward the xWindows through my SSH session, but I'm > having trouble. I'm using Putty and I've configured it to allow > enable x11 forwarding through the ssh tunnel. I've also edited the > /etc/ssh/sshd_config and set X11Forwarding yes. After doing this, > it's not working. I'm sure there's quite a bit not doing. Could > anybody offer any guidance? This is my first attempt to do this.Todd- What errors are you getting when try to launch an X application? Are you running an X server on your windows machine? Have you restarted sshd since changing sshd_config? -- Sean _______________________________________________ CentOS mailing list CentOS at centos.org http://lists.centos.org/mailman/listinfo/centos