X11Forwarding yes ssh -X vs. ssh -Y

Greg Veldman freebsd at gregv.net
Sat May 2 13:29:13 UTC 2020


On Sat, May 02, 2020 at 09:33:45AM +0200, Christoph Kukulies wrote:
> When logging into my FreeBSD12.1  system using 
> 
> ssh -Y user at mybox
> 
> and do echo $DISPLAY I get localhost:10.0 and can do X11Forwarding (which I enable in sshd_config)
> Doing
> 
> 
> ssh -X user at mybox
> 
> doesn???t work. DISPLAY variable is not being set.
> 
> Any clues? 

The -X option requires support of the X11 SECURITY extension
in your server.  You can check if that's enabled with:

$ xdpyinfo -queryExtensions

-- 
Greg Veldman
freebsd at gregv.net


More information about the freebsd-questions mailing list