x forwarding?

walter harms wharms at bfs.de
Wed Mar 14 08:36:21 PDT 2012



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 at lathe:~$ pwd
> /home/gene
> gene at lathe:~$ xauth list
> xauth:  creating new authority file /home/gene/.Xauthority
> gene at 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 ?

re,
 wh


> Any better ideas?
> 
> Thanks all.
> 
> Cheers, Gene



More information about the xorg mailing list