If I try to connect too soon, ie. when DNS is not working (resolv.conf
not done, etc.), I get this error:
$ xpra attach ssh:host:65 ssh: Could not resolve hostname host: Name or service not known using dbusnotify: <class 'dbus.proxies.Interface'>(org.freedesktop.Notifications) Exception in thread write_loop: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner self.run() File "/usr/lib/python2.7/threading.py", line 505, in run self.__target(*self.__args, **self.__kwargs) File "/usr/lib/xpra/xpra/protocol.py", line 171, in _write_thread_loop written = untilConcludes(self._conn.write, buf) File "/usr/lib/xpra/xpra/protocol.py", line 69, in untilConcludes return f(*a, **kw) File "/usr/lib/xpra/xpra/protocol.py", line 38, in write return os.write(self._writeable.fileno(), buf) ValueError: I/O operation on closed file connection lost: empty marker in read queue Connection lost
Xpra 0.0.7.34, svn revision 453 with 0 local changes
should be able to detect the error code from ssh, hopefully without breaking putty etc
done in r459, here is the output now shown:
ssh: Could not resolve hostname blah.dsdsd: Name or service not known cannot read using ['ssh', '-T', 'blah.dsdsd']: the SSH process has terminated! cannot write using ['ssh', '-T', 'blah.dsdsd']: the SSH process has terminated!
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/73