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: Nicholas Papadonis via X11-users <email@hidden>
- Date: Tue, 31 Mar 2020 14:06:28 -0400
This solved the issue of dropping X connections.
On Sat, Mar 21, 2020 at 4:30 PM James K. Lowden <email@hidden>
wrote:
> 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