Re: Display unavailable after a few minutes
Re: Display unavailable after a few minutes
- Subject: Re: Display unavailable after a few minutes
- From: Merle Reinhart <email@hidden>
- Date: Wed, 15 Jun 2011 14:15:02 -0400
Arthur,
Does the problem go away if you connect to the remote host with ssh -Y ?
The reason I ask is this somewhat appears to be an untrusted verses trusted X11 SECURITY issue. With untrusted connections (which -X implies), there is apparently a timeout which kicks in after which no more connections are allowed (see the paragraph under ForwardX11Trusted in the ssh_config man page).
Merle
On Jun 15, 2011, at 8:55 AM, Arthur Vigan wrote:
> Hi,
>
> I have been having a strange problem with X11 for a while now. When I connect to a remote host with ssh -X, everything is fine for a few minutes, and suddenly I get this kind of messages whenever I want to open something with a GUI (e.g. emacs):
>
> Display localhost:19.0 unavailable
>
> or
>
> Unable to connect to X Windows display: localhost:19.0. Unable to open X Windows display.
>
> The only solution is to disconnect from the host and reconnect. This is really annoying. To investigate the problem I have created a new user on my local machine (under Mac OS X 10.6.7), and it appears that the problem doesn't occur with this new user. It makes me suspect it might be a permissions problem, but I am not sure which are the files involved, and I can't find any log from X11 which could help locate the problem. The thing is that X11 does not crash or complain of anything: if I open another connection, everything works fine... for a few minutes. Does someone have any idea where that could come from?
>
> Cheers,
>
> -- Arthur;
>
> --
> Arthur Vigan
> email@hidden
>
>
>
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> X11-users mailing list (email@hidden)
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden