Bug 94066 - "cannot open display: localhost:10.0" error through ssh after some time
Summary: "cannot open display: localhost:10.0" error through ssh after some time
Alias: None
Product: XQuartz
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 2.7.8 (xserver-1.16.4)
Hardware: x86-64 (AMD64) Mac OS X (All)
: medium normal
Assignee: Jeremy Huddleston Sequoia
QA Contact: Jeremy Huddleston Sequoia
Depends on:
Reported: 2016-02-09 18:13 UTC by Leo
Modified: 2016-02-09 20:23 UTC (History)
0 users

See Also:
i915 platform:
i915 features:

/Users/username/Library/Logs/X11 logs (1.62 KB, text/plain)
2016-02-09 18:13 UTC, Leo

Description Leo 2016-02-09 18:13:39 UTC
Created attachment 121627 [details]
/Users/username/Library/Logs/X11 logs

I ssh -X to a CentOS 6 machine to do remote work, but I noticed that after some time,
while the ssh connection is still working and I can use the remote shell, the X forwarding seems broken.
When I try to launch a graphical program, say gedit, I get:

Gtk-WARNING **: cannot open display: localhost:10.0

I checked the /Users/username/Library/Logs/X11 and I am including the current one (right now the ssh connection is open but I can't use graphical programs) but I can't see any error.
Comment 1 Jeremy Huddleston Sequoia 2016-02-09 20:22:56 UTC
That's a feature of ssh.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.