Xpra: Ticket #1089: OSX 0.17.0 client periodically "failing to receive anything" from server when trying to connect.

OSX 0.17.0 clients (r11640, r11653, perhaps others) are periodically, though intermittently, failing to connect on initial attempts, with the following output client side:

Schadenfreude:MacOS Schadenfreude$ ./xpra attach --opengl=on
2016-01-12 13:29:23,321 Xpra gtk2 client version 0.17.0-r11653
2016-01-12 13:29:23,322  running on Mac OSX
2016-01-12 13:29:23,611 GStreamer version 1.4 for Python 2.7
2016-01-12 13:29:23,935 OpenGL_accelerate module loaded
2016-01-12 13:29:23,948 OpenGL enabled with Intel Iris OpenGL Engine
2016-01-12 13:29:23,970  using default keyboard settings
2016-01-12 13:29:24,251  desktop size is 2560x2490 with 1 screen:
2016-01-12 13:29:24,251   schadenfreude.local (903x878 mm - DPI: 72x72)
2016-01-12 13:29:24,252     monitor 1 1680x1050 at 880x1440 (592x370 mm - DPI: 72x72)
2016-01-12 13:29:24,252     monitor 2 2560x1440 (903x508 mm - DPI: 72x72)
2016-01-12 13:29:24,278 failed to receive anything, not an xpra server?
2016-01-12 13:29:24,278   could also be the wrong username, password or port
2016-01-12 13:29:24,278 Connection lost

I haven't yet been able to reliably reproduce, but it is happening mildly regularly (seems to be especially when a new client or server is tried... or re-tried, after a while?). I'll try to repro with -d auth,client, but if there's a better flag to try to use, I'd be happy to try that instead.

I do notice that the client does seem to be outputting desktop and display size information, suggesting that it has at least made an initial connection... but I'm not sure what is happening after that. (Could it be related to #1029 or #876?)

In any case, trying to connect a second time always works, so this is just a nuisance, really... unless the connection is automated.



Tue, 12 Jan 2016 22:24:30 GMT - alas:

Sure enough, after leaving OSX client disconnected "for a while", remembering the flags when re-connecting actually captured a lot of tracebacks (including all output from connection until the error message as one block, then from the error message on in a second block... hoping that makes it easier to sort through).

Schadenfreude:MacOS Schadenfreude$ ./xpra attach --desktop-scaling=1.80,1.20 --opengl=on -d auth,client
2016-01-12 14:16:20,844 XpraClientBase.defaults_init() os.environ:
2016-01-12 14:16:20,845  CHARSETALIASDIR=/Users/Schadenfreude/Desktop/xpra-catalog/xpra-ant-17-11653/Xpra.app/Contents/Resources/lib
2016-01-12 14:16:20,845  PYTHON=/Users/Schadenfreude/Desktop/xpra-catalog/xpra-ant-17-11653/Xpra.app/Contents/Resources/bin/xpra
2016-01-12 14:16:20,845  GTK_DATA_PREFIX=/Users/Schadenfreude/Desktop/xpra-catalog/xpra-ant-17-11653/Xpra.app/Contents/Resources
2016-01-12 14:16:20,846  TERM_PROGRAM_VERSION=326
2016-01-12 14:16:20,846  GTK_EXE_PREFIX=/Users/Schadenfreude/Desktop/xpra-catalog/xpra-ant-17-11653/Xpra.app/Contents/Resources
2016-01-12 14:16:20,846  LOGNAME=Schadenfreude
2016-01-12 14:16:20,846  USER=Schadenfreude
2016-01-12 14:16:20,846  HOME=/Users/Schadenfreude
2016-01-12 14:16:20,846  PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/sbin
2016-01-12 14:16:20,846  TERM_PROGRAM=Apple_Terminal
2016-01-12 14:16:20,846  LANG=C
2016-01-12 14:16:20,846  TERM=xterm-256color
2016-01-12 14:16:20,846  Apple_PubSub_Socket_Render=/tmp/launch-Bl4Y8V/Render
2016-01-12 14:16:20,846  SHLVL=1
2016-01-12 14:16:20,846  SECURITYSESSIONID=186b5
2016-01-12 14:16:20,846  PANGO_SYSCONFDIR=/Users/Schadenfreude/Desktop/xpra-catalog/xpra-ant-17-11653/Xpra.app/Contents/Resources/etc
2016-01-12 14:16:20,847  GTK_PATH=/Users/Schadenfreude/Desktop/xpra-catalog/xpra-ant-17-11653/Xpra.app/Contents/Resources
2016-01-12 14:16:20,847  TERM_SESSION_ID=F6F3B439-EBAB-4541-BB84-BB55D9CC928D
2016-01-12 14:16:20,847  PYTHONPATH=/Users/Schadenfreude/Desktop/xpra-catalog/xpra-ant-17-11653/Xpra.app/Contents/Resources/lib/pygtk/2.0:/Users/Schadenfreude/Desktop/xpra-catalog/xpra-ant-17-11653/Xpra.app/Contents/Resources/lib/python/:/Users/Schadenfreude/Desktop/xpra-catalog/xpra-ant-17-11653/Xpra.app/Contents/Resources/lib/python/lib-dynload/:/Users/Schadenfreude/Desktop/xpra-catalog/xpra-ant-17-11653/Xpra.app/Contents/Resources/lib:
2016-01-12 14:16:20,847  SSH_AUTH_SOCK=/tmp/launch-gqS2pA/Listeners
2016-01-12 14:16:20,847  PANGO_RC_FILE=/Users/Schadenfreude/Desktop/xpra-catalog/xpra-ant-17-11653/Xpra.app/Contents/Resources/etc/pango/pangorc
2016-01-12 14:16:20,847  DYLD_LIBRARY_PATH=/Users/Schadenfreude/Desktop/xpra-catalog/xpra-ant-17-11653/Xpra.app/Contents/Resources/lib
2016-01-12 14:16:20,847  SHELL=/bin/bash
2016-01-12 14:16:20,847  GTK2_RC_FILES=/Users/Schadenfreude/Desktop/xpra-catalog/xpra-ant-17-11653/Xpra.app/Contents/Resources/etc/gtk-2.0/gtkrc
2016-01-12 14:16:20,847  TMPDIR=/var/folders/vg/81kvywt94r57d2ldnw7142pw0000gn/T/
2016-01-12 14:16:20,847  PANGO_LIBDIR=/Users/Schadenfreude/Desktop/xpra-catalog/xpra-ant-17-11653/Xpra.app/Contents/Resources/lib
2016-01-12 14:16:20,847  XDG_CONFIG_DIRS=/Users/Schadenfreude/Desktop/xpra-catalog/xpra-ant-17-11653/Xpra.app/Contents/Resources/etc/xdg
2016-01-12 14:16:20,847  GDK_PIXBUF_MODULE_FILE=/Users/Schadenfreude/Desktop/xpra-catalog/xpra-ant-17-11653/Xpra.app/Contents/Resources/etc/gtk-2.0/gdk-pixbuf.loaders
2016-01-12 14:16:20,847  PYTHONHOME=/Users/Schadenfreude/Desktop/xpra-catalog/xpra-ant-17-11653/Xpra.app/Contents/Resources
2016-01-12 14:16:20,847  GTK_IM_MODULE_FILE=/Users/Schadenfreude/Desktop/xpra-catalog/xpra-ant-17-11653/Xpra.app/Contents/Resources/etc/gtk-2.0/gtk.immodules
2016-01-12 14:16:20,847  __CF_USER_TEXT_ENCODING=0x1F5:0:0
2016-01-12 14:16:20,847  XDG_DATA_DIRS=/Users/Schadenfreude/Desktop/xpra-catalog/xpra-ant-17-11653/Xpra.app/Contents/Resources/share
2016-01-12 14:16:20,847  PWD=/Users/Schadenfreude/Desktop/xpra-catalog/xpra-ant-17-11653/Xpra.app/Contents/MacOS
2016-01-12 14:16:20,847  GST_BUNDLE_CONTENTS=/Users/Schadenfreude/Desktop/xpra-catalog/xpra-ant-17-11653/Xpra.app/Contents
2016-01-12 14:16:20,847  __CHECKFIX1436934=1
2016-01-12 14:16:20,848 set_packet_handlers({}, {'hello': <bound method XpraClient._process_hello of gtk2.client>})
2016-01-12 14:16:20,848 set_packet_handlers({}, {'disconnect': <bound method XpraClient._process_disconnect of gtk2.client>, 'challenge': <bound method XpraClient._process_challenge of gtk2.client>, 'invalid': <bound method XpraClient._process_invalid of gtk2.client>, 'set_deflate': <bound method XpraClient._process_set_deflate of gtk2.client>, 'connection-lost': <bound method XpraClient._process_connection_lost of gtk2.client>, 'startup-complete': <bound method XpraClient._process_startup_complete of gtk2.client>, 'gibberish': <bound method XpraClient._process_gibberish of gtk2.client>})
2016-01-12 14:16:20,848 Xpra gtk2 client version 0.17.0-r11653
2016-01-12 14:16:20,848  running on Mac OSX
2016-01-12 14:16:21,140 GStreamer version 1.4 for Python 2.7
2016-01-12 14:16:21,140 speaker: codecs=['vorbis', 'vorbis+ogg', 'flac+gdp', 'mp3', 'wav', 'wavpack', 'speex+gdp', 'speex'], allowed=True, enabled=vorbis, vorbis+ogg, flac+gdp, mp3, wav, wavpack, speex+gdp, speex
2016-01-12 14:16:21,140 microphone: codecs=['vorbis', 'vorbis+ogg', 'flac+gdp', 'mp3', 'wav', 'wavpack', 'speex+gdp', 'speex'], allowed=True, enabled=vorbis, vorbis+ogg, flac+gdp, mp3, wav, wavpack, speex+gdp, speex
2016-01-12 14:16:21,141 av-sync=True
2016-01-12 14:16:21,256 init(..) ClientWindowClass=<class 'xpra.client.gtk2.border_client_window.BorderClientWindow'>
2016-01-12 14:16:21,454 OpenGL_accelerate module loaded
2016-01-12 14:16:21,472 OpenGL enabled with Intel Iris OpenGL Engine
2016-01-12 14:16:21,476 make_tray_menu_helper() tray menu helper classes: [<function getOSXMenuHelper at 0x680e8f0>, <class 'xpra.client.gtk2.tray_menu.GTK2TrayMenu'>]
2016-01-12 14:16:21,477 make_instance[[<function getOSXMenuHelper at 0x680e8f0>, <class 'xpra.client.gtk2.tray_menu.GTK2TrayMenu'>], gtk2.client]
2016-01-12 14:16:21,477 make_instance(..) <function getOSXMenuHelper at 0x680e8f0>()=<xpra.platform.darwin.osx_menu.OSXMenuHelper object at 0x6809530>
2016-01-12 14:16:21,477 get_tray_title()=Xpra
2016-01-12 14:16:21,478 make_tray(<gtk.MenuBar object at 0x680c3a0 (GtkMenuBar at 0x1312148)>, 'Xpra', '', <function xpra_tray_geometry at 0xc1f33b0>, <function xpra_tray_click at 0xc1eadf0>, <function xpra_tray_mouseover at 0xc1f3330>, <function xpra_tray_exit at 0xc1f3370>) tray classes=[<class 'xpra.platform.darwin.osx_tray.OSXTray'>, <class 'xpra.client.gtk_base.statusicon_tray.GTKStatusIconTray'>]
2016-01-12 14:16:21,478 make_instance[[<class 'xpra.platform.darwin.osx_tray.OSXTray'>, <class 'xpra.client.gtk_base.statusicon_tray.GTKStatusIconTray'>], gtk2.client, <gtk.MenuBar object at 0x680c3a0 (GtkMenuBar at 0x1312148)>, 'Xpra', '', <function xpra_tray_geometry at 0xc1f33b0>, <function xpra_tray_click at 0xc1eadf0>, <function xpra_tray_mouseover at 0xc1f3330>, <function xpra_tray_exit at 0xc1f3370>]
2016-01-12 14:16:21,488 make_instance(..) <class 'xpra.platform.darwin.osx_tray.OSXTray'>()=<xpra.platform.darwin.osx_tray.OSXTray object at 0x7e420b0>
2016-01-12 14:16:21,488 setup_xpra_tray()=<xpra.platform.darwin.osx_tray.OSXTray object at 0x7e420b0>
2016-01-12 14:16:21,489 make_notifier() notifier classes: [<class 'xpra.client.gtk2.gtk2_notifier.GTK2_Notifier'>]
2016-01-12 14:16:21,489 make_instance[[<class 'xpra.client.gtk2.gtk2_notifier.GTK2_Notifier'>]]
2016-01-12 14:16:21,489 make_instance(..) <class 'xpra.client.gtk2.gtk2_notifier.GTK2_Notifier'>()=<xpra.client.gtk2.gtk2_notifier.GTK2_Notifier object at 0x7e42ed0>
2016-01-12 14:16:21,489 using notifier=<xpra.client.gtk2.gtk2_notifier.GTK2_Notifier object at 0x7e42ed0>
2016-01-12 14:16:21,489 border color derived from ['tcp:10.0.32.134:1203']: #89ff9e
2016-01-12 14:16:21,490 border size is 0, disabling it
2016-01-12 14:16:21,492 run() HAS_X11_BINDINGS=False
2016-01-12 14:16:21,493  using default keyboard settings
2016-01-12 14:16:21,494 get_screen_sizes(1.000000, 1.000000) found 1 screens
2016-01-12 14:16:21,494  screen 0 has 2 monitors
2016-01-12 14:16:21,494  workareas: []
2016-01-12 14:16:21,494  number of monitors does not match number of workareas!
2016-01-12 14:16:21,494  monitor 0: ['', 880, 1440, 1680, 1050, 592, 370]
2016-01-12 14:16:21,494  monitor 1: ['', 0, 0, 2560, 1440, 903, 508]
2016-01-12 14:16:21,494  workarea=None
2016-01-12 14:16:21,812  screen 0: ('schadenfreude.local', 2560, 2490, 903, 878, [('', 880, 1440, 1680, 1050, 592, 370), ('', 0, 0, 2560, 1440, 903, 508)], 0, 0, 2560, 2490)
2016-01-12 14:16:21,812  desktop size is 2560x2490 with 1 screen:
2016-01-12 14:16:21,812   schadenfreude.local (903x878 mm - DPI: 72x72)
2016-01-12 14:16:21,812     monitor 1 1680x1050 at 880x1440 (592x370 mm - DPI: 72x72)
2016-01-12 14:16:21,813     monitor 2 2560x1440 (903x508 mm - DPI: 72x72)
2016-01-12 14:16:21,813  upscaled by 180% x 120%, virtual screen size: 1422x2075
2016-01-12 14:16:21,813 get_screen_sizes(1.800000, 1.200000) found 1 screens
2016-01-12 14:16:21,813  screen 0 has 2 monitors
2016-01-12 14:16:21,813  workareas: []
2016-01-12 14:16:21,813  number of monitors does not match number of workareas!
2016-01-12 14:16:21,813  monitor 0: ['', 489, 1200, 933, 875, 592, 370]
2016-01-12 14:16:21,813  monitor 1: ['', 0, 0, 1422, 1200, 903, 508]
2016-01-12 14:16:21,813  workarea=None
2016-01-12 14:16:21,813  screen 0: ('schadenfreude.local', 1422, 2075, 903, 878, [('', 489, 1200, 933, 875, 592, 370), ('', 0, 0, 1422, 1200, 903, 508)], 0, 0, 1422, 2075)
2016-01-12 14:16:21,814   schadenfreude.local (903x878 mm - DPI: 39x60)
2016-01-12 14:16:21,814     monitor 1 933x875 at 489x1200 (592x370 mm - DPI: 40x60)
2016-01-12 14:16:21,814     monitor 2 1422x1200 (903x508 mm - DPI: 39x60)
2016-01-12 14:16:21,814 dpi: 0, xdpi=0, ydpi=0
2016-01-12 14:16:21,814 keyboard capabilities: [('keyboard_sync', False)]
2016-01-12 14:16:21,815 video_decodings=['h264', 'h265', 'vp9', 'vp8']
2016-01-12 14:16:21,815 do_get_core_encodings()=['h264', 'vp9', 'vp8', 'png', 'png/P', 'png/L', 'webp', 'rgb24', 'jpeg', 'h265']
2016-01-12 14:16:21,815 control_commands=['show_session_info', 'show_bug_report', 'debug', 'enable_zlib', 'enable_lz4', 'enable_lzo', 'enable_bencode', 'enable_rencode']
2016-01-12 14:16:21,815 supported full csc_modes={'h264': ['ARGB', 'BGRA', 'BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'], 'h265': ['BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'], 'vp9': ['YUV420P', 'YUV444P'], 'vp8': ['YUV420P']}
2016-01-12 14:16:21,816 x264 encoding options: [('x264.I420.profile', 'high10'), ('x264.YUV420P.profile', 'high10')]
2016-01-12 14:16:21,816 encoding capabilities: {'min-speed': 0, 'full_csc_modes': {'h264': ['ARGB', 'BGRA', 'BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'], 'h265': ['BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'], 'vp9': ['YUV420P', 'YUV444P'], 'vp8': ['YUV420P']}, 'PIL.version': '3.1.0', 'x264.I420.profile': 'high10', 'rgb_formats': ['RGB', 'RGBX', 'RGBA'], 'cython.version': (1, '0', '23', '4'), 'x264.YUV420P.profile': 'high10', 'h264.I420.profile': 'high10', 'buffer_api.version': 1, 'min-quality': 30, 'dec_pillow.version': '3.1.0', 'dec_webp.version': (0, 5, 0), 'numpy.version': '1.10.4', 'initial_quality': 30, 'h264.YUV420P.profile': 'high10', 'vpx.version': u'v1.3.0', 'speed': 0, 'swscale.version': (3, 1, 101), 'avcodec2.version': (56, 60, 100)}
2016-01-12 14:16:21,816 sound capabilities: {'gst.version': ['1', '4', '5', '0'], 'muxers': ['gdp', 'ogg'], 'decoders': ['vorbis', 'vorbis+ogg', 'flac+gdp', 'mp3', 'wav', 'wavpack', 'speex+gdp', 'speex'], 'pygst.version': ['3', '14', '0'], 'sources': ['osxaudiosrc', 'oss4src', 'osxaudiosrc', 'audiotestsrc'], 'encoders': ['vorbis', 'vorbis+ogg', 'flac+gdp', 'mp3', 'wav', 'wavpack', 'speex+gdp', 'speex'], 'send': True, 'demuxers': ['gdp', 'ogg'], 'plugins': ['aacparse', 'ac3parse', 'amrparse', 'appsink', 'appsrc', 'audioamplify', 'audiochannelmix', 'audiochebband', 'audiocheblimit', 'audioconvert', 'audiodynamic', 'audioecho', 'audiofirfilter', 'audioiirfilter', 'audioinvert', 'audiokaraoke', 'audiomixer', 'audiopanorama', 'audiorate', 'audioresample', 'audiotestsrc', 'audiowsincband', 'audiowsinclimit', 'bin', 'capsfilter', 'dcaparse', 'downloadbuffer', 'faac', 'faad', 'fakesink', 'fakesrc', 'fdsink', 'fdsrc', 'filesink', 'filesrc', 'flacdec', 'flacenc', 'flacparse', 'flactag', 'funnel', 'gdpdepay', 'gdppay', 'identity', 'input-selector', 'lamemp3enc', 'mad', 'mpegaudioparse', 'multiqueue', 'oggaviparse', 'oggdemux', 'oggmux', 'oggparse', 'ogmaudioparse', 'ogmtextparse', 'ogmvideoparse', 'oss4sink', 'oss4src', 'osxaudiosink', 'osxaudiosrc', 'output-selector', 'pipeline', 'queue', 'queue2', 'sbcparse', 'scaletempo', 'spacescope', 'spectrascope', 'speexdec', 'speexenc', 'synaescope', 'tee', 'typefind', 'valve', 'volume', 'vorbisdec', 'vorbisenc', 'vorbisparse', 'vorbistag', 'wavenc', 'wavescope', 'wavpackdec', 'wavpackenc', 'wavpackparse', 'wavparse'], 'receive': True, 'python.version': ['2', '7', '10']}
2016-01-12 14:16:21,816 batch props=[]
2016-01-12 14:16:21,816 default icon theme: <gtk.IconTheme object at 0x7e54e40 (GtkIconTheme at 0x1358a08)>
2016-01-12 14:16:21,817 icon search path: ('/Users/Schadenfreude/.icons', '/Users/Schadenfreude/.local/share/icons', '/Users/Schadenfreude/Desktop/xpra-catalog/xpra-ant-17-11653/Xpra.app/Contents/Resources/share/icons', '/Users/Schadenfreude/Desktop/xpra-catalog/xpra-ant-17-11653/Xpra.app/Contents/Resources/share/pixmaps')
2016-01-12 14:16:21,821 contexts: ()
2016-01-12 14:16:21,821 icons: []
2016-01-12 14:16:21,822 metadata.supported: ['title', 'icon-title', 'pid', 'iconic', 'size-hints', 'class-instance', 'client-machine', 'transient-for', 'window-type', 'fullscreen', 'maximized', 'decorations', 'skip-taskbar', 'skip-pager', 'has-alpha', 'override-redirect', 'tray', 'modal', 'role', 'opacity', 'xid', 'group-leader', 'command', 'workspace', 'above', 'below', 'sticky', 'shaded', 'bypass-compositor', 'strut', 'fullscreen-monitors', 'menu']
2016-01-12 14:16:21,828 get_window_frame_sizes()={'frame': (0, 0, 22, 0), 'offset': (0, 22)}
2016-01-12 14:16:21,828 send_hello() packet={'named_cursors': True, 'desktops': 1, 'pango.version': '1.36.8', 'lz4': True, 'encoding.dec_webp.version': (0, 5, 0), 'glib.version': (2, 44, 1), 'double_click.distance': (-1, -1), 'encoding.vpx.version': u'v1.3.0', 'encoding.avcodec2.version': (56, 60, 100), 'double_click.time': 480, 'python-cryptography.version': '1.2.1', 'sound.receive': True, 'digest': ('hmac', 'xor'), 'aliases': {'lost-window': 1, 'bell': 5, 'new-override-redirect': 6, 'ping_echo': 9, 'new-window': 11, 'connection-lost': 20, 'startup-complete': 21, 'disconnect': 14, 'ping': 7, 'invalid': 17, 'set_deflate': 18, 'pointer-grab': 19, 'draw': 3, 'notify_close': 4, 'window-metadata': 13, 'configure-override-redirect': 2, 'pointer-ungrab': 15, 'challenge': 16, 'cursor': 8, 'notify_show': 10, 'gibberish': 22, 'hello': 12}, 'platform.platform': 'Darwin-13.4.0-x86_64-i386-32bit', 'clipboard.want_targets': True, 'uuid': '0d6e0381698caeab50a41782fd9926b89542c346', 'encodings.core': ['h264', 'vp9', 'vp8', 'png', 'png/P', 'png/L', 'webp', 'rgb24', 'jpeg', 'h265', 'rgb32', 'rgb'], 'mmap': True, 'yaml': False, 'sound.server_driven': True, 'clipboard': True, 'encoding.flush': True, 'keyboard_sync': False, 'sound.send': True, 'screen_sizes': [('schadenfreude.local', 1422, 2075, 903, 878, [('', 489, 1200, 933, 875, 592, 370), ('', 0, 0, 1422, 1200, 903, 508)], 0, 0, 1422, 2075)], 'desktop_size.unscaled': (2560, 2490), 'screen-scaling': True, 'xkbmap_variant': '', 'encoding.h264.YUV420P.profile': 'high10', 'encoding.transparency': True, 'sound.python.version': ['2', '7', '10'], 'xkbmap_layout': '', 'cursor.size': 0, 'pointer.grabs': True, 'lzo': True, 'desktop.names': [], 'window.frame_sizes': {'frame': (0, 0, 22, 0), 'offset': (0, 22)}, 'encoding.h264.I420.profile': 'high10', 'sound.muxers': ['gdp', 'ogg'], 'window.raise': True, 'name': 'AlexFarr', 'encoding.client_options': True, 'wants_events': True, 'cairo.version': '1.10.0', 'client_type': 'Python/Gtk2', 'dpi.x': 0, 'dpi.y': 0, 'build.by': 'OSX', 'machine_id': 'None', 'zlib.version': '1.0', 'python.version': (2, 7, 10), 'build.lib.gtk': '3.14.5', 'python-lzo.version': '1.08', 'screen-scaling.values': (1800, 1200), 'build.compiler': 'i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5493)', 'encoding.icons.greedy': True, 'mouse.initial-position': (596, 1652), 'randr_notify': True, 'encoding.supports_delta': ['png', 'rgb24', 'rgb32'], 'python-cryptography': True, 'compressors': ['zlib', 'lz4', 'lzo'], 'encoding.icons.size': (64, 64), 'vrefresh': -1, 'encoding.generic': True, 'version': '0.17.0', 'encoding.rgb_zlib': True, 'lz4.version': 'r130', 'encoding.rgb_lzo': True, 'build.lib.x264': '0.146.x', 'clipboard.notifications': True, 'av-sync.delay.default': 0, 'build.lib.pygobject': '2.28.6', 'encoding.x264.I420.profile': 'high10', 'notify-startup-complete': True, 'xkbmap_mod_pointermissing': ['lock', 'control'], 'argv': ['/Users/Schadenfreude/Desktop/xpra-catalog/xpra-ant-17-11653/Xpra.app/Contents/MacOS/xpra'], 'encoding.webp_leaks': False, 'screen_sizes.unscaled': [('schadenfreude.local', 2560, 2490, 903, 878, [('', 880, 1440, 1680, 1050, 592, 370), ('', 0, 0, 2560, 1440, 903, 508)], 0, 0, 2560, 2490)], 'server-window-resize': True, 'encoding.dec_pillow.version': '3.1.0', 'pygtk.version': (2, 24, 0), 'xkbmap_x11_keycodes': {}, 'theme.default.icons': [], 'xkbmap_mod_managed': [], 'sound.ogg-latency-fix': True, 'platform.architecture': ('32bit', ''), 'gdk.version': '2.24.0', 'dpi': 0, 'bencode.version': ('Cython', 0, 12), 'platform.processor': 'i386', 'encoding.initial_quality': 30, 'control_commands': ['show_session_info', 'show_bug_report', 'debug', 'enable_zlib', 'enable_lz4', 'enable_lzo', 'enable_bencode', 'enable_rencode'], 'encoding.min-speed': 0, 'build.lib.vpx': '1.3.0', 'build.version': '0.17.0', 'av-sync': True, 'encoding.video_scaling': True, 'window.resize-counter': True, 'bell': True, 'encoding.cython.version': (1, '0', '23', '4'), 'platform.release': '13.4.0', 'build.cpu': 'i386', 'sound.demuxers': ['gdp', 'ogg'], 'build.time': '04:06', 'xkbmap_print': '', 'open-files': False, 'file-transfer': True, 'build.bit': '32bit', 'backend': 'python-cryptography', 'encoding.speed': 0, 'platform': 'darwin', 'xkbmap_mod_meanings': {}, 'encoding.PIL.version': '3.1.0', 'encoding.rgb_formats': ['RGB', 'RGBX', 'RGBA'], 'build.lib.pygtk': '2.24.0', 'xkbmap_query_struct': {}, 'sound.pygst.version': ['3', '14', '0'], 'metadata.supported': ['title', 'icon-title', 'pid', 'iconic', 'size-hints', 'class-instance', 'client-machine', 'transient-for', 'window-type', 'fullscreen', 'maximized', 'decorations', 'skip-taskbar', 'skip-pager', 'has-alpha', 'override-redirect', 'tray', 'modal', 'role', 'opacity', 'xid', 'group-leader', 'command', 'workspace', 'above', 'below', 'sticky', 'shaded', 'bypass-compositor', 'strut', 'fullscreen-monitors', 'menu'], 'encodings.rgb_formats': ['RGB', 'RGBX', 'RGBA'], 'username': 'Schadenfreude', 'auto_refresh_delay': 150, 'window.configure.pointer': True, 'notifications': True, 'xkbmap_query': '', 'encoding.rgb24zlib': True, 'platform.machine': 'x86_64', 'encoding.x264.YUV420P.profile': 'high10', 'file-size-limit': 10, 'rencode': True, 'gtk.version': (2, 24, 27), 'modifiers': [], 'encoding.scaling.control': 1, 'platform.name': 'Mac OSX', 'zlib': True, 'build.revision': 11653, 'windows': True, 'printing': True, 'mouse.echo': False, 'window.initiate-moveresize': False, 'screen-scaling.enabled': True, 'encoding.numpy.version': '1.10.4', 'build.lib.pycairo': '1.10.0', 'server-window-move-resize': True, 'desktop_size': (1422, 2075), 'encodings': ['h264', 'vp9', 'vp8', 'png', 'png/P', 'png/L', 'webp', 'rgb', 'jpeg', 'h265'], 'share': False, 'encoding.video_reinit': True, 'cursors': True, 'encoding.buffer_api.version': 1, 'sound.decoders': ['vorbis', 'vorbis+ogg', 'flac+gdp', 'mp3', 'wav', 'wavpack', 'speex+gdp', 'speex'], 'rencode.version': ('Cython', 1, 0, 3), 'padding.options': ['PKCS#7', 'legacy'], 'generic-rgb-encodings': True, 'xkbmap_keycodes': [(97, 'a', 0, 0, 0), (65, 'A', 0, 0, 1), (229, 'aring', 0, 1, 0), (197, 'Aring', 0, 1, 1), (115, 's', 1, 0, 0), (83, 'S', 1, 0, 1), (223, 'ssharp', 1, 1, 0), (205, 'Iacute', 1, 1, 1), (100, 'd', 2, 0, 0), (68, 'D', 2, 0, 1), (2287, 'partialderivative', 2, 1, 0), (206, 'Icircumflex', 2, 1, 1), (102, 'f', 3, 0, 0), (70, 'F', 3, 0, 1), (2294, 'function', 3, 1, 0), (207, 'Idiaeresis', 3, 1, 1), (104, 'h', 4, 0, 0), (72, 'H', 4, 0, 1), (511, 'abovedot', 4, 1, 0), (211, 'Oacute', 4, 1, 1), (103, 'g', 5, 0, 0), (71, 'G', 5, 0, 1), (169, 'copyright', 5, 1, 0), (445, 'doubleacute', 5, 1, 1), (122, 'z', 6, 0, 0), (90, 'Z', 6, 0, 1), (2009, 'Greek_OMEGA', 6, 1, 0), (184, 'cedilla', 6, 1, 1), (120, 'x', 7, 0, 0), (88, 'X', 7, 0, 1), (16785992, 'U+2248', 7, 1, 0), (434, 'ogonek', 7, 1, 1), (99, 'c', 8, 0, 0), (67, 'C', 8, 0, 1), (231, 'ccedilla', 8, 1, 0), (199, 'Ccedilla', 8, 1, 1), (118, 'v', 9, 0, 0), (86, 'V', 9, 0, 1), (2262, 'radical', 9, 1, 0), (16786890, 'U+25CA', 9, 1, 1), (167, 'section', 10, 0, 0), (177, 'plusminus', 10, 0, 1), (98, 'b', 11, 0, 0), (66, 'B', 11, 0, 1), (2239, 'integral', 11, 1, 0), (697, 'idotless', 11, 1, 1), (113, 'q', 12, 0, 0), (81, 'Q', 12, 0, 1), (5053, 'oe', 12, 1, 0), (5052, 'OE', 12, 1, 1), (119, 'w', 13, 0, 0), (87, 'W', 13, 0, 1), (16785937, 'U+2211', 13, 1, 0), (2814, 'doublelowquotemark', 13, 1, 1), (101, 'e', 14, 0, 0), (69, 'E', 14, 0, 1), (65105, 'dead_acute', 14, 1, 0), (180, 'acute', 14, 1, 1), (114, 'r', 15, 0, 0), (82, 'R', 15, 0, 1), (174, 'registered', 15, 1, 0), (16785456, 'U+2030', 15, 1, 1), (121, 'y', 16, 0, 0), (89, 'Y', 16, 0, 1), (165, 'yen', 16, 1, 0), (193, 'Aacute', 16, 1, 1), (116, 't', 17, 0, 0), (84, 'T', 17, 0, 1), (2801, 'dagger', 17, 1, 0), (439, 'caron', 17, 1, 1), (49, '1', 18, 0, 0), (33, 'exclam', 18, 0, 1), (161, 'exclamdown', 18, 1, 0), (16785476, 'U+2044', 18, 1, 1), (50, '2', 19, 0, 0), (64, 'at', 19, 0, 1), (2761, 'trademark', 19, 1, 0), (8364, 'EuroSign', 19, 1, 1), (51, '3', 20, 0, 0), (35, 'numbersign', 20, 0, 1), (163, 'sterling', 20, 1, 0), (16785465, 'U+2039', 20, 1, 1), (52, '4', 21, 0, 0), (36, 'dollar', 21, 0, 1), (162, 'cent', 21, 1, 0), (16785466, 'U+203A', 21, 1, 1), (54, '6', 22, 0, 0), (94, 'asciicircum', 22, 0, 1), (167, 'section', 22, 1, 0), (16841474, 'U+FB02', 22, 1, 1), (53, '5', 23, 0, 0), (37, 'percent', 23, 0, 1), (2242, 'infinity', 23, 1, 0), (16841473, 'U+FB01', 23, 1, 1), (61, 'equal', 24, 0, 0), (43, 'plus', 24, 0, 1), (2237, 'notequal', 24, 1, 0), (177, 'plusminus', 24, 1, 1), (57, '9', 25, 0, 0), (40, 'parenleft', 25, 0, 1), (170, 'ordfeminine', 25, 1, 0), (183, 'periodcentered', 25, 1, 1), (55, '7', 26, 0, 0), (38, 'ampersand', 26, 0, 1), (182, 'paragraph', 26, 1, 0), (2802, 'doubledagger', 26, 1, 1), (45, 'minus', 27, 0, 0), (95, 'underscore', 27, 0, 1), (2730, 'endash', 27, 1, 0), (2729, 'emdash', 27, 1, 1), (56, '8', 28, 0, 0), (42, 'asterisk', 28, 0, 1), (2790, 'enfilledcircbullet', 28, 1, 0), (176, 'degree', 28, 1, 1), (48, '0', 29, 0, 0), (41, 'parenright', 29, 0, 1), (186, 'masculine', 29, 1, 0), (2813, 'singlelowquotemark', 29, 1, 1), (93, 'bracketright', 30, 0, 0), (125, 'braceright', 30, 0, 1), (2768, 'leftsinglequotemark', 30, 1, 0), (2769, 'rightsinglequotemark', 30, 1, 1), (111, 'o', 31, 0, 0), (79, 'O', 31, 0, 1), (248, 'oslash', 31, 1, 0), (216, 'Ooblique', 31, 1, 1), (117, 'u', 32, 0, 0), (85, 'U', 32, 0, 1), (65111, 'dead_diaeresis', 32, 1, 0), (168, 'diaeresis', 32, 1, 1), (91, 'bracketleft', 33, 0, 0), (123, 'braceleft', 33, 0, 1), (2770, 'leftdoublequotemark', 33, 1, 0), (2771, 'rightdoublequotemark', 33, 1, 1), (105, 'i', 34, 0, 0), (73, 'I', 34, 0, 1), (65106, 'dead_circumflex', 34, 1, 0), (16777926, 'U+02C6', 34, 1, 1), (112, 'p', 35, 0, 0), (80, 'P', 35, 0, 1), (2032, 'Greek_pi', 35, 1, 0), (16785935, 'U+220F', 35, 1, 1), (65293, 'Return', 36, 0, 0), (108, 'l', 37, 0, 0), (76, 'L', 37, 0, 1), (172, 'notsign', 37, 1, 0), (210, 'Ograve', 37, 1, 1), (106, 'j', 38, 0, 0), (74, 'J', 38, 0, 1), (16785926, 'U+2206', 38, 1, 0), (212, 'Ocircumflex', 38, 1, 1), (39, 'apostrophe', 39, 0, 0), (34, 'quotedbl', 39, 0, 1), (230, 'ae', 39, 1, 0), (198, 'AE', 39, 1, 1), (107, 'k', 40, 0, 0), (75, 'K', 40, 0, 1), (16777946, 'U+02DA', 40, 1, 0), (16840959, 'U+F8FF', 40, 1, 1), (59, 'semicolon', 41, 0, 0), (58, 'colon', 41, 0, 1), (2734, 'ellipsis', 41, 1, 0), (218, 'Uacute', 41, 1, 1), (92, 'backslash', 42, 0, 0), (124, 'bar', 42, 0, 1), (171, 'guillemotleft', 42, 1, 0), (187, 'guillemotright', 42, 1, 1), (44, 'comma', 43, 0, 0), (60, 'less', 43, 0, 1), (2236, 'lessthanequal', 43, 1, 0), (175, 'macron', 43, 1, 1), (47, 'slash', 44, 0, 0), (63, 'question', 44, 0, 1), (247, 'division', 44, 1, 0), (191, 'questiondown', 44, 1, 1), (110, 'n', 45, 0, 0), (78, 'N', 45, 0, 1), (65107, 'dead_tilde', 45, 1, 0), (16777948, 'U+02DC', 45, 1, 1), (109, 'm', 46, 0, 0), (77, 'M', 46, 0, 1), (181, 'mu', 46, 1, 0), (194, 'Acircumflex', 46, 1, 1), (46, 'period', 47, 0, 0), (62, 'greater', 47, 0, 1), (2238, 'greaterthanequal', 47, 1, 0), (418, 'breve', 47, 1, 1), (65289, 'Tab', 48, 0, 0), (65056, 'ISO_Left_Tab', 48, 0, 1), (65289, 'Tab', 48, 1, 0), (32, 'space', 49, 0, 0), (160, 'nobreakspace', 49, 1, 0), (96, 'grave', 50, 0, 0), (126, 'asciitilde', 50, 0, 1), (65104, 'dead_grave', 50, 1, 0), (96, 'grave', 50, 1, 1), (65288, 'BackSpace', 51, 0, 0), (65293, 'Return', 52, 0, 0), (65307, 'Escape', 53, 0, 0), (65512, 'Meta_R', 54, 0, 0), (65511, 'Meta_L', 55, 0, 0), (65505, 'Shift_L', 56, 0, 0), (65509, 'Caps_Lock', 57, 0, 0), (65513, 'Alt_L', 58, 0, 0), (65507, 'Control_L', 59, 0, 0), (65506, 'Shift_R', 60, 0, 0), (65514, 'Alt_R', 61, 0, 0), (65508, 'Control_R', 62, 0, 0), (65454, 'KP_Decimal', 65, 0, 0), (65363, 'Right', 66, 0, 0), (42, 'asterisk', 66, 0, 1), (65450, 'KP_Multiply', 67, 0, 0), (65451, 'KP_Add', 69, 0, 0), (65361, 'Left', 70, 0, 0), (43, 'plus', 70, 0, 1), (65307, 'Escape', 71, 0, 0), (65364, 'Down', 72, 0, 0), (61, 'equal', 72, 0, 1), (65455, 'KP_Divide', 75, 0, 0), (65421, 'KP_Enter', 76, 0, 0), (65362, 'Up', 77, 0, 0), (47, 'slash', 77, 0, 1), (65453, 'KP_Subtract', 78, 0, 0), (65469, 'KP_Equal', 81, 0, 0), (65456, 'KP_0', 82, 0, 0), (65457, 'KP_1', 83, 0, 0), (65458, 'KP_2', 84, 0, 0), (65459, 'KP_3', 85, 0, 0), (65460, 'KP_4', 86, 0, 0), (65461, 'KP_5', 87, 0, 0), (65462, 'KP_6', 88, 0, 0), (65463, 'KP_7', 89, 0, 0), (65464, 'KP_8', 91, 0, 0), (65465, 'KP_9', 92, 0, 0), (65474, 'F5', 96, 0, 0), (65475, 'F6', 97, 0, 0), (65476, 'F7', 98, 0, 0), (65472, 'F3', 99, 0, 0), (65477, 'F8', 100, 0, 0), (65478, 'F9', 101, 0, 0), (16777232, 'U+0010', 102, 0, 0), (65480, 'F11', 103, 0, 0), (16777232, 'U+0010', 104, 0, 0), (65482, 'F13', 105, 0, 0), (65485, 'F16', 106, 0, 0), (65483, 'F14', 107, 0, 0), (16777232, 'U+0010', 108, 0, 0), (65479, 'F10', 109, 0, 0), (16777232, 'U+0010', 110, 0, 0), (65481, 'F12', 111, 0, 0), (16777232, 'U+0010', 112, 0, 0), (65484, 'F15', 113, 0, 0), (16777221, 'U+0005', 114, 0, 0), (65360, 'Home', 115, 0, 0), (65365, 'Page_Up', 116, 0, 0), (65535, 'Delete', 117, 0, 0), (65473, 'F4', 118, 0, 0), (65367, 'End', 119, 0, 0), (65471, 'F2', 120, 0, 0), (65366, 'Page_Down', 121, 0, 0), (65470, 'F1', 122, 0, 0), (65361, 'Left', 123, 0, 0), (65363, 'Right', 124, 0, 0), (65364, 'Down', 125, 0, 0), (65362, 'Up', 126, 0, 0), (1, '0x1', 128, 0, 0), (1401472, '0x156280', 128, 0, 1), (626, '0x272', 128, 1, 0), (-1, '0xffffffff', 128, 1, 1)], 'encoding.icons.max_size': (128, 128), 'encoders': ['bencode', 'rencode'], 'window.states': ['fullscreen', 'maximized', 'sticky', 'above', 'below', 'shaded', 'iconified', 'skip-taskbar', 'skip-pager'], 'raw_window_icons': True, 'clipboard.set_enabled': True, 'build.python': '2.7.10', 'system_tray': True, 'hostname': 'Schadenfreude.local', 'namespace': True, 'build.cython': '0.23.4', 'encoding.full_csc_modes': {'h264': ['ARGB', 'BGRA', 'BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'], 'h265': ['BGRX', 'GBRP', 'RGB', 'XRGB', 'YUV420P', 'YUV422P', 'YUV444P'], 'vp9': ['YUV420P', 'YUV444P'], 'vp8': ['YUV420P']}, 'python-lz4.version': '0.8.0', 'encoding.rgb_lz4': True, 'sound.encoders': ['vorbis', 'vorbis+ogg', 'flac+gdp', 'mp3', 'wav', 'wavpack', 'speex+gdp', 'speex'], 'encoding.delta_buckets': 5, 'bencode': True, 'antialias': {}, 'gobject.version': (2, 28, 6), 'show-desktop': True, 'clipboard.greedy': True, 'build.date': '2016-01-12', 'lzo.version': '2.09', 'sound.plugins': ['aacparse', 'ac3parse', 'amrparse', 'appsink', 'appsrc', 'audioamplify', 'audiochannelmix', 'audiochebband', 'audiocheblimit', 'audioconvert', 'audiodynamic', 'audioecho', 'audiofirfilter', 'audioiirfilter', 'audioinvert', 'audiokaraoke', 'audiomixer', 'audiopanorama', 'audiorate', 'audioresample', 'audiotestsrc', 'audiowsincband', 'audiowsinclimit', 'bin', 'capsfilter', 'dcaparse', 'downloadbuffer', 'faac', 'faad', 'fakesink', 'fakesrc', 'fdsink', 'fdsrc', 'filesink', 'filesrc', 'flacdec', 'flacenc', 'flacparse', 'flactag', 'funnel', 'gdpdepay', 'gdppay', 'identity', 'input-selector', 'lamemp3enc', 'mad', 'mpegaudioparse', 'multiqueue', 'oggaviparse', 'oggdemux', 'oggmux', 'oggparse', 'ogmaudioparse', 'ogmtextparse', 'ogmvideoparse', 'oss4sink', 'oss4src', 'osxaudiosink', 'osxaudiosrc', 'output-selector', 'pipeline', 'queue', 'queue2', 'sbcparse', 'scaletempo', 'spacescope', 'spectrascope', 'speexdec', 'speexenc', 'synaescope', 'tee', 'typefind', 'valve', 'volume', 'vorbisdec', 'vorbisenc', 'vorbisparse', 'vorbistag', 'wavenc', 'wavescope', 'wavpackdec', 'wavpackenc', 'wavpackparse', 'wavparse'], 'sound.sources': ['osxaudiosrc', 'oss4src', 'osxaudiosrc', 'audiotestsrc'], 'encoding.min-quality': 30, 'pyglib.version': (2, 28, 6), 'compression_level': 1, 'build.local_modifications': 0, 'clipboard.selections': ['CLIPBOARD'], 'sound.gst.version': ['1', '4', '5', '0'], 'encoding.swscale.version': (3, 1, 101), 'encoding.csc_atoms': True}
2016-01-12 14:16:21,842 check_server_echo(0) last=True, server_ok=True
2016-01-12 14:16:21,842 failed to receive anything, not an xpra server?
2016-01-12 14:16:21,842   could also be the wrong username, password or port
2016-01-12 14:16:21,842 Connection lost
2016-01-12 14:16:21,842 GTKXpraClient.quit(1) current exit_code=None
2016-01-12 14:16:21,842 UIXpraClient.cleanup()
2016-01-12 14:16:21,842 XpraClientBase.cleanup() protocol=Protocol(None)
2016-01-12 14:16:21,842 calling <bound method Protocol.close of Protocol(None)>
2016-01-12 14:16:21,842 after cleanup, found 2 frames:
2016-01-12 14:16:21,842 0: -1335775232 - <frame object at 0x7e534b0>:
2016-01-12 14:16:21,843   File "threading.pyc", line 783, in __bootstrap
2016-01-12 14:16:21,844   File "threading.pyc", line 810, in __bootstrap_inner
2016-01-12 14:16:21,844   File "threading.pyc", line 763, in run
2016-01-12 14:16:21,844   File "/Users/Schadenfreude/Desktop/xpra-catalog/xpra-ant-17-11653/Xpra.app/Contents/Resources/lib/python/xpra/client/ui_client_base.py", line 2450, in _draw_thread_loop
2016-01-12 14:16:21,844     packet = self._draw_queue.get()
2016-01-12 14:16:21,844   File "Queue.pyc", line 168, in get
2016-01-12 14:16:21,844   File "threading.pyc", line 340, in wait
2016-01-12 14:16:21,844     d??Zejd??Zd?Zd?Z d?Z!d?Z"RS(sqA class that represents a thread of control.
2016-01-12 14:16:21,844 1: -1588244056 - <frame object at 0x7e671b8>:
2016-01-12 14:16:21,845   File "<string>", line 1, in <module>
2016-01-12 14:16:21,845   File "/Users/Schadenfreude/Desktop/xpra-catalog/xpra-ant-17-11653/Xpra.app/Contents/Resources/lib/python/xpra/scripts/main.py", line 124, in main
2016-01-12 14:16:21,845     return run_mode(script_file, err, options, args, mode, defaults)
2016-01-12 14:16:21,845   File "/Users/Schadenfreude/Desktop/xpra-catalog/xpra-ant-17-11653/Xpra.app/Contents/Resources/lib/python/xpra/scripts/main.py", line 936, in run_mode
2016-01-12 14:16:21,845     return run_client(error_cb, options, args, mode)
2016-01-12 14:16:21,845   File "/Users/Schadenfreude/Desktop/xpra-catalog/xpra-ant-17-11653/Xpra.app/Contents/Resources/lib/python/xpra/scripts/main.py", line 1399, in run_client
2016-01-12 14:16:21,845     return do_run_client(app)
2016-01-12 14:16:21,846   File "/Users/Schadenfreude/Desktop/xpra-catalog/xpra-ant-17-11653/Xpra.app/Contents/Resources/lib/python/xpra/scripts/main.py", line 1412, in do_run_client
2016-01-12 14:16:21,846     return app.run()
2016-01-12 14:16:21,846   File "/Users/Schadenfreude/Desktop/xpra-catalog/xpra-ant-17-11653/Xpra.app/Contents/Resources/lib/python/xpra/client/gtk_base/gtk_client_base.py", line 100, in run
2016-01-12 14:16:21,846     self.gtk_main()
2016-01-12 14:16:21,846   File "/Users/Schadenfreude/Desktop/xpra-catalog/xpra-ant-17-11653/Xpra.app/Contents/Resources/lib/python/xpra/client/gtk2/client.py", line 109, in gtk_main
2016-01-12 14:16:21,846     gtk_main()
2016-01-12 14:16:21,846   File "/Users/Schadenfreude/Desktop/xpra-catalog/xpra-ant-17-11653/Xpra.app/Contents/Resources/lib/python/xpra/gtk_common/gtk_util.py", line 365, in gtk_main
2016-01-12 14:16:21,846     gtk.main()
2016-01-12 14:16:21,846   File "/Users/Schadenfreude/Desktop/xpra-catalog/xpra-ant-17-11653/Xpra.app/Contents/Resources/lib/python/xpra/client/client_base.py", line 495, in _process_connection_lost
2016-01-12 14:16:21,846     self.warn_and_quit(EXIT_CONNECTION_LOST, "Connection lost")
2016-01-12 14:16:21,846   File "/Users/Schadenfreude/Desktop/xpra-catalog/xpra-ant-17-11653/Xpra.app/Contents/Resources/lib/python/xpra/client/client_base.py", line 457, in warn_and_quit
2016-01-12 14:16:21,846     self.quit(exit_code)
2016-01-12 14:16:21,846   File "/Users/Schadenfreude/Desktop/xpra-catalog/xpra-ant-17-11653/Xpra.app/Contents/Resources/lib/python/xpra/client/gtk_base/gtk_client_base.py", line 119, in quit
2016-01-12 14:16:21,846     self.cleanup()
2016-01-12 14:16:21,846   File "/Users/Schadenfreude/Desktop/xpra-catalog/xpra-ant-17-11653/Xpra.app/Contents/Resources/lib/python/xpra/client/gtk2/client.py", line 116, in cleanup
2016-01-12 14:16:21,846     GTKXpraClient.cleanup(self)
2016-01-12 14:16:21,846   File "/Users/Schadenfreude/Desktop/xpra-catalog/xpra-ant-17-11653/Xpra.app/Contents/Resources/lib/python/xpra/client/gtk_base/gtk_client_base.py", line 139, in cleanup
2016-01-12 14:16:21,846     UIXpraClient.cleanup(self)
2016-01-12 14:16:21,846   File "/Users/Schadenfreude/Desktop/xpra-catalog/xpra-ant-17-11653/Xpra.app/Contents/Resources/lib/python/xpra/client/ui_client_base.py", line 492, in cleanup
2016-01-12 14:16:21,846     XpraClientBase.cleanup(self)
2016-01-12 14:16:21,846   File "/Users/Schadenfreude/Desktop/xpra-catalog/xpra-ant-17-11653/Xpra.app/Contents/Resources/lib/python/xpra/client/client_base.py", line 433, in cleanup
2016-01-12 14:16:21,847     for x in traceback.format_stack(frame):
2016-01-12 14:16:21,847 UIXpraClient.cleanup() calling <class 'xpra.client.gtk_base.gtk_keyboard_helper.GTKKeyboardHelper'>.cleanup()
2016-01-12 14:16:21,847 draw thread ended
2016-01-12 14:16:21,847 UIXpraClient.cleanup() calling <class 'xpra.platform.darwin.osx_tray.OSXTray'>.cleanup()
2016-01-12 14:16:21,847 UIXpraClient.cleanup() calling <class 'xpra.client.gtk2.gtk2_notifier.GTK2_Notifier'>.cleanup()
2016-01-12 14:16:21,847 UIXpraClient.cleanup() calling <class 'xpra.platform.darwin.osx_menu.OSXMenuHelper'>.cleanup()
2016-01-12 14:16:21,848 UIXpraClient.cleanup() calling <class 'xpra.platform.darwin.gui.ClientExtras'>.cleanup()
2016-01-12 14:16:21,848 UIXpraClient.cleanup() calling <class 'xpra.codecs.video_helper.VideoHelper'>.cleanup()
2016-01-12 14:16:21,848 XpraClient.clean_mmap() mmap_filename=None
2016-01-12 14:16:21,848 UIXpraClient.cleanup() done
2016-01-12 14:16:21,848 GTKXpraClient.quit(1) cleanup done, main_level=1
2016-01-12 14:16:21,848 GTKXpraClient.quit(1) main loop at level 1, calling gtk quit via timeout
2016-01-12 14:16:22,350 GTKXpraClient.exit() calling <function gtk_main_quit_really at 0x6874d30>
2016-01-12 14:16:22,350 GTKXpraClient.run_main_loop() main loop ended, returning exit_code=1
2016-01-12 14:16:22,350 UIXpraClient.cleanup()
2016-01-12 14:16:22,350 XpraClientBase.cleanup() protocol=None
2016-01-12 14:16:22,351 after cleanup, found 1 frames:
2016-01-12 14:16:22,351 0: -1588244056 - <frame object at 0x7e674c8>:
2016-01-12 14:16:22,351   File "<string>", line 1, in <module>
2016-01-12 14:16:22,351   File "/Users/Schadenfreude/Desktop/xpra-catalog/xpra-ant-17-11653/Xpra.app/Contents/Resources/lib/python/xpra/scripts/main.py", line 124, in main
2016-01-12 14:16:22,351     return run_mode(script_file, err, options, args, mode, defaults)
2016-01-12 14:16:22,352   File "/Users/Schadenfreude/Desktop/xpra-catalog/xpra-ant-17-11653/Xpra.app/Contents/Resources/lib/python/xpra/scripts/main.py", line 936, in run_mode
2016-01-12 14:16:22,352     return run_client(error_cb, options, args, mode)
2016-01-12 14:16:22,352   File "/Users/Schadenfreude/Desktop/xpra-catalog/xpra-ant-17-11653/Xpra.app/Contents/Resources/lib/python/xpra/scripts/main.py", line 1399, in run_client
2016-01-12 14:16:22,352     return do_run_client(app)
2016-01-12 14:16:22,352   File "/Users/Schadenfreude/Desktop/xpra-catalog/xpra-ant-17-11653/Xpra.app/Contents/Resources/lib/python/xpra/scripts/main.py", line 1416, in do_run_client
2016-01-12 14:16:22,352     app.cleanup()
2016-01-12 14:16:22,352   File "/Users/Schadenfreude/Desktop/xpra-catalog/xpra-ant-17-11653/Xpra.app/Contents/Resources/lib/python/xpra/client/gtk2/client.py", line 116, in cleanup
2016-01-12 14:16:22,353     GTKXpraClient.cleanup(self)
2016-01-12 14:16:22,353   File "/Users/Schadenfreude/Desktop/xpra-catalog/xpra-ant-17-11653/Xpra.app/Contents/Resources/lib/python/xpra/client/gtk_base/gtk_client_base.py", line 139, in cleanup
2016-01-12 14:16:22,353     UIXpraClient.cleanup(self)
2016-01-12 14:16:22,353   File "/Users/Schadenfreude/Desktop/xpra-catalog/xpra-ant-17-11653/Xpra.app/Contents/Resources/lib/python/xpra/client/ui_client_base.py", line 492, in cleanup
2016-01-12 14:16:22,353     XpraClientBase.cleanup(self)
2016-01-12 14:16:22,353   File "/Users/Schadenfreude/Desktop/xpra-catalog/xpra-ant-17-11653/Xpra.app/Contents/Resources/lib/python/xpra/client/client_base.py", line 433, in cleanup
2016-01-12 14:16:22,353     for x in traceback.format_stack(frame):
2016-01-12 14:16:22,354 UIXpraClient.cleanup() calling <class 'xpra.client.gtk_base.gtk_keyboard_helper.GTKKeyboardHelper'>.cleanup()
2016-01-12 14:16:22,354 UIXpraClient.cleanup() calling <class 'xpra.platform.darwin.osx_tray.OSXTray'>.cleanup()
2016-01-12 14:16:22,354 UIXpraClient.cleanup() calling <class 'xpra.client.gtk2.gtk2_notifier.GTK2_Notifier'>.cleanup()
2016-01-12 14:16:22,354 UIXpraClient.cleanup() calling <class 'xpra.platform.darwin.osx_menu.OSXMenuHelper'>.cleanup()
2016-01-12 14:16:22,354 UIXpraClient.cleanup() calling <class 'xpra.platform.darwin.gui.ClientExtras'>.cleanup()
2016-01-12 14:16:22,354 UIXpraClient.cleanup() calling <class 'xpra.codecs.video_helper.VideoHelper'>.cleanup()
2016-01-12 14:16:22,354 XpraClient.clean_mmap() mmap_filename=None
2016-01-12 14:16:22,354 UIXpraClient.cleanup() done

Wed, 13 Jan 2016 05:46:17 GMT - Antoine Martin: owner changed

There is absolutely nothing suspicious there. Are you sure this is a regression? Has anything changed in your server-side setup?

The failed to receive anything, not an xpra server? message is only printed when we get disconnected by the server (or by a firewall or something else sitting in between the client and the server) and we have never received a single packet back before that.


Fri, 15 Apr 2016 14:46:02 GMT - Antoine Martin: priority changed

Raising for the imminent 0.17 release.


Fri, 22 Apr 2016 01:47:14 GMT - alas:

I was just re-testing this... thought I hadn't seen it for a while, but no such luck.

It seems to be happen consistently with freshly "installed" 0.17.0 clients.

I might note that, rather than "properly" installing the osx .dmgs, I have a folder on the desktop with a subfolder for each revision I mean to use... which I wouldn't think would make a difference (since it didn't with any previous to 0.17.x), but I mention it in case it seems like something you think might be at issue.

To repro.

On the first attempt, you should see:

2016-04-21 17:36:19,582 failed to receive anything, not an xpra server?
2016-04-21 17:36:19,582   could also be the wrong username, password or port
2016-04-21 17:36:19,582 Connection lost

Testing to see if it is a regression I tried a 0.16.2 r11888 osx client (freshly installed) against a 0.16.4 r11617 (unknown changes) fedora 23 server... and it actually occurred there (maybe not a regression, just something I didn't notice with 0.16.x?).

I'll try doing some further network testing and see if maybe that's where the problem is.


Fri, 22 Apr 2016 02:51:46 GMT - Antoine Martin:


Mon, 25 Apr 2016 22:15:15 GMT - alas:


Mon, 25 Apr 2016 22:16:13 GMT - alas: attachment set

tcpdump from server end during initial failed client connection attempt


Tue, 26 Apr 2016 03:30:06 GMT - Antoine Martin:

Your tcpdump shows a TCP ACKed unseen segment, which implies that this is NOT the first connection to the server and that some of the capture is missing or that the networking is seriously messed up. See TCP ACked Unseen Segment.

You should be able to see the state of the connections from the server with netstat -tan - may need to be scripted as this all happens quite quickly.

PS: created #1188 to help with wireshark.


Wed, 27 Apr 2016 00:49:45 GMT - alas:

Still investigating exactly what's going on, but I was able to narrow the issue a little bit.

The osx client that I'm using had both wired & wireless active. Disabling wired (unplugging the wire) I found that I have no issues with wireless connection. I get an "[error number 61] connection refused" when I try to connect with the wired connection (which, oddly, is on the same network as the vm I'm using as a server, while the wireless is actually on another network).

I tried the wired against a hardware fedora 23 server (on the same network as the wired connection and the vm), and it worked fine.

I think you're right and we are probably just have a bit or weirdness happening with our network. It would make sense to reduce the priority of this ticket, and I'll add info and close it once I can manage to puzzle out what's going on.


Wed, 27 Apr 2016 01:33:52 GMT - alas: status changed; resolution set

Edit: apparently a network issue due to having two routes to the server, one via wifi and the other via lan.


Sat, 23 Jan 2021 05:14:40 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1089