Re: ssh X11 forwarding not working on FreeBSD 6.2

2007-07-26 Thread Terry Todd
On Wed, Jul 25, 2007 at 08:35:48PM -0700, Michael S. Eubanks wrote: ... Glad to hear you got it working - you are right though. Here's a quick link. http://www.ssh.com/support/documentation/online/ssh/adminguide/32/X11_Forwarding.html Considerring the client uses a special local display

Re: ssh X11 forwarding not working on FreeBSD 6.2 (SOLVED)

2007-07-26 Thread Terry Todd
The cause of this problem, $ xhost Xlib: connection to localhost:10.0 refused by server Xlib: PuTTY X11 proxy: wrong authentication protocol attempted xhost: unable to open display localhost:10.0 was that the hostname on the FreeBSD system was blank. Once I set the hostname it works fine.

Re: ssh X11 forwarding not working on FreeBSD 6.2

2007-07-25 Thread Michael S. Eubanks
On Tue, 2007-07-24 at 13:29 -0500, Terry Todd wrote: On Tue, Jul 24, 2007 at 10:54:22AM -0700, Michael S. Eubanks wrote: ... Question. How many X servers do you have running? Are you logged into a window manager when you are attempting to connect? Only one instance of Xming is

Re: ssh X11 forwarding not working on FreeBSD 6.2

2007-07-25 Thread Terry Todd
Michael, Thanks for the directions. Using your method does work. However your method bypasses X11 forwarding. 6. Log into the FreeBSD machine using PuTTY. Set the DISPLAY environment variable equal to the IP address and display of the XP machine. The command I used was: export

Re: ssh X11 forwarding not working on FreeBSD 6.2

2007-07-25 Thread Terry Todd
I made a mistake in my last post. SSH X11 forwarding sets the DISPLAY variable to something like: localhost:10.0 It should not be the address of the Windows box because that bypasses X11 forwarding. Terry Todd On Wed, Jul 25, 2007 at 09:01:35AM -0500, Terry Todd wrote: Michael, Thanks

Re: ssh X11 forwarding not working on FreeBSD 6.2

2007-07-25 Thread Michael S. Eubanks
On Wed, 2007-07-25 at 09:49 -0500, Terry Todd wrote: I made a mistake in my last post. SSH X11 forwarding sets the DISPLAY variable to something like: localhost:10.0 It should not be the address of the Windows box because that bypasses X11 forwarding. Terry Todd On Wed, Jul 25,

ssh X11 forwarding not working on FreeBSD 6.2

2007-07-24 Thread Terry Todd
I have installed Xming successfully on a Windows XP system. It works OK to a FC6 system and an older UNIXware system. However when trying to connect to a FreeBSD 6.2 system with PuTTY ssh it doesn't work. PuTTY has Enable X11 forwarding checked. Here's what I get: $ $ xhost Xlib:

Re: ssh X11 forwarding not working on FreeBSD 6.2

2007-07-24 Thread Michael S. Eubanks
On Tue, 2007-07-24 at 10:59 -0500, Terry Todd wrote: I have installed Xming successfully on a Windows XP system. It works OK to a FC6 system and an older UNIXware system. However when trying to connect to a FreeBSD 6.2 system with PuTTY ssh it doesn't work. PuTTY has Enable X11

Re: ssh X11 forwarding not working on FreeBSD 6.2

2007-07-24 Thread Terry Todd
On Tue, Jul 24, 2007 at 09:48:05AM -0700, Michael S. Eubanks wrote: ... Start by changing the following line from X11DisplayOffset 10 to X11DisplayOffset 1 ... OK, I tried that. No difference. Here's what heppened on the FreeBSD 6.2 system: $ $ echo $DISPLAY localhost:1.0 $ $ xhost

Re: ssh X11 forwarding not working on FreeBSD 6.2

2007-07-24 Thread Michael S. Eubanks
On Tue, 2007-07-24 at 12:23 -0500, Terry Todd wrote: On Tue, Jul 24, 2007 at 09:48:05AM -0700, Michael S. Eubanks wrote: ... Start by changing the following line from X11DisplayOffset 10 to X11DisplayOffset 1 ... OK, I tried that. No difference. Here's what heppened on

Re: ssh X11 forwarding not working on FreeBSD 6.2

2007-07-24 Thread Terry Todd
On Tue, Jul 24, 2007 at 10:54:22AM -0700, Michael S. Eubanks wrote: ... Question. How many X servers do you have running? Are you logged into a window manager when you are attempting to connect? Only one instance of Xming is running on the Windows XP system. I am using PuTTY to connect to

Re: ssh X11 forwarding not working on FreeBSD 6.2

2007-07-24 Thread Lowell Gilbert
I would guess that it's an xauth(1) problem. Make sure that XAuthLocation is set ,in sshd_config(5), to the right path for the xauth executable (probably /usr/local/bin/xauth, if you've done the update to X.Org 7.2. That's just a shot in the dark, though; the most certain way of finding the

Re: ssh X11 forwarding not working on FreeBSD 6.2

2007-07-24 Thread Terry Todd
Lowell, The default sshd_config file does not have XAuthLocation defined. I have not done any updates to X.org so the default location for xauth is /usr/X11R6/bin/xauth. So, I added the line: XAuthLocation /usr/X11R6/bin/xauth to /etc/ssh/sshd_config restarted sshd Tested it out and same

Re: ssh X11 forwarding not working on FreeBSD 6.2

2007-07-24 Thread Pollywog
On Tuesday 24 July 2007 15:59:22 Terry Todd wrote: I have installed Xming successfully on a Windows XP system. It works OK to a FC6 system and an older UNIXware system. However when trying to connect to a FreeBSD 6.2 system with PuTTY ssh it doesn't work. PuTTY has Enable X11 forwarding

Re: ssh X11 forwarding not working on FreeBSD 6.2

2007-07-24 Thread Pollywog
On Tuesday 24 July 2007 18:30:59 Lowell Gilbert wrote: I would guess that it's an xauth(1) problem. Make sure that XAuthLocation is set ,in sshd_config(5), to the right path for the xauth executable (probably /usr/local/bin/xauth, if you've done the update to X.Org 7.2. That's just a shot in

Re: ssh X11 forwarding not working on FreeBSD 6.2

2007-07-24 Thread Josh Paetzel
On Tuesday 24 July 2007, Pollywog wrote: On Tuesday 24 July 2007 15:59:22 Terry Todd wrote: I have installed Xming successfully on a Windows XP system. It works OK to a FC6 system and an older UNIXware system. However when trying to connect to a FreeBSD 6.2 system with PuTTY ssh it