Re: Display unavailable after a few minutes
Re: Display unavailable after a few minutes
- Subject: Re: Display unavailable after a few minutes
- From: Jeremy Huddleston <email@hidden>
- Date: Wed, 15 Jun 2011 09:23:29 -0700
What ssh are you using? Please run 'which ssh' ... If it is anything other than /usr/bin/ssh, please try using /usr/bin/ssh.
Are you able to start an X11 application immediately on the other end, and that ability goes away, or are you never able to launch an X11 application remotely?
On Jun 15, 2011, at 9:20 AM, Arthur Vigan wrote:
> Thank you, but I have already tried that, and according to the FAQ there should be no problem with my config, but clearly this is not the case:
>
> [17:16] ~ > echo $DISPLAY
> /tmp/launch-GptT4D/org.x:0
> [17:16] ~ > grep DISPLAY ~/.*rc ~/.login ~/.*profile ~/.MacOSX/environment.plist 2>/dev/null
> [17:16] ~ > grep -r DISPLAY /opt/local/etc /sw/etc /etc 2>/dev/null
> [17:16] ~ > ssh -Y **************
> arthur@**************'s password:
> Warning: No xauth data; using fake authentication data for X11 forwarding.
> [17:17] ~ > echo $DISPLAY
> localhost:23.0
> [17:17] ~ > grep X11 /etc/ssh/sshd_config ~/.ssh/*
> /etc/ssh/sshd_config:X11Forwarding yes
> /etc/ssh/sshd_config:X11DisplayOffset 10
>
> -- Arthur;
>
> --
> Arthur Vigan
> email@hidden
>
>
>
>
>
> On 15 Jun 2011, at 17:14, Jeremy Huddleston wrote:
>
>> Please see the FAQ for help debugging X11 forwarding over ssh:
>> http://xquartz.macosforge.org/trac/wiki/X11-UsersFAQ#sshXforwardingdebugging
>>
>> On Jun 15, 2011, at 5: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