On Wednesday, March 14, 2012 11:41:22 AM walter harms did opine: > Am 14.03.2012 16:24, schrieb gene heskett: > > On Wednesday, March 14, 2012 11:11:14 AM Adam Jackson did opine: > >> On Wed, 2012-03-14 at 03:27 -0400, gene heskett wrote: > >>> ssh -Y first machine works, and uses Display:10:0, ssh -Y second > >>> machine doesn't, tries & fails to use Display 0:0. > >>> > >>> Where & what does it take to enable the 2nd one? (not normally at > >>> the same time) > >> > >> Either: > >> > >> a) The shell you launched ssh from for the second machine didn't have > >> $DISPLAY set, > > > > Same shell on this machine. login to shop works, to lathe doesn't. If > > its the login shell on the second machine, how do I set that? And > > why should it be different since the install cd was the exact same > > cd? > > > > I had to completely blacklist/disable ipv6 on the machine the XForward > > isn't working on. > > There is an issue with ipv6 an certain ssh configurations. I had this > problem you can see some strange errors in /var/log/ > > >> b) sshd_config for the second machine doesn't have "X11Forwarding > >> yes" in it. > > > > Contains, apparently by default: > > > > X11Forwarding yes > > X11DisplayOffset 10> > > > >> - ajax > > > > I was pointed at the xauth command to fix this, but that man page has > > to rank near the top for all time obtuseness, and when executed on > > the non- working machine, returns: > > > > gene@lathe:~$ pwd > > /home/gene > > gene@lathe:~$ xauth list > > xauth: creating new authority file /home/gene/.Xauthority > > gene@lathe:~$ cat .Xauthority > > cat: .Xauthority: No such file or directory > > > > for as many times as you want to hit the up-arrow & return. > > This is strange, when ssh starts it should create the files. > i assume you did the ssh -v ? > Which gets noisy, but the last 2 lines are: debug1: Requesting X11 forwarding with authentication spoofing. X11 forwarding request failed on channel 0
Thanks. And I'll have to get back to this later, I am putting a new engine in my pickup too. > re, > wh > > > Any better ideas? > > > > Thanks all. > > > > Cheers, Gene Cheers, Gene -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) My web page: <http://coyoteden.dyndns-free.com:85/gene> Anything is possible on paper. -- Ron McAfee _______________________________________________ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com