This solved the issue of dropping X connections. On Sat, Mar 21, 2020 at 4:30 PM James K. Lowden <[email protected]> wrote:
> On Sat, 21 Mar 2020 13:35:46 -0400 > Nicholas Papadonis via X11-users <[email protected]> wrote: > > > I'm noticing that every 10 - 15 minute the X session > > is lost, however ssh is still running. I try to invoke an X > > application and there is "no display". > > See ssh_config(5): > > ForwardX11Timeout > Specify a timeout for untrusted X11 forwarding using the format > described in the TIME FORMATS section of sshd_config(5). X11 > connections received by ssh(1) after this time will be refused. The > default is to disable untrusted X11 forwarding after twenty minutes has > elapsed. > > On the Mac client I use: > $ terse ~/.ssh/config > XAuthLocation /usr/X11/bin/xauth > ForwardAgent yes > ForwardX11 yes > ForwardX11Trusted yes > ForwardX11Timeout 500h > > On the virtual machine: > > $ terse /etc/ssh/sshd_config | grep -E 'TCP|X11' > X11Forwarding yes > X11DisplayOffset 10 > TCPKeepAlive no > > HTH. > > --jkl > >
_______________________________________________ Do not post admin requests to the list. They will be ignored. X11-users mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/x11-users/archive%40mail-archive.com This email sent to [email protected]
