Re: X11 connection drops every n minutes, how to debug?
Re: X11 connection drops every n minutes, how to debug?
- Subject: Re: X11 connection drops every n minutes, how to debug?
- From: "James K. Lowden via X11-users" <email@hidden>
- Date: Sat, 21 Mar 2020 16:29:16 -0400
On Sat, 21 Mar 2020 13:35:46 -0400
Nicholas Papadonis via X11-users <email@hidden> 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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden