Xpra: Ticket #2306: start-desktop test failure

As part of rpmbuild:

running unit.server.mixins.startdesktop_option_test
2019-05-20 22:54:42,864 test error for 'start-desktop' subcommand with options=OrderedDict([('windows', True), ('notifications', True), ('webcam', True), ('clipboard', True), ('speaker', True), ('microphone', True), ('av-sync', True), ('printing', True), ('file-transfer', True), ('readonly', True), ('remote-logging', True), ('mmap', True), ('dbus-proxy', True)])
Fxpra initialization error:
 cannot find live server for display :202
======================================================================
FAIL: test_start_all (__main__.StartDesktopOptionTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/antoine/rpmbuild/BUILD/xpra-3.0-python2/unittests/unit/server/mixins/startdesktop_option_test.py", line 16, in test_start_all
    self._test_all("start-desktop")
  File "/home/antoine/rpmbuild/BUILD/xpra-3.0-python2/unittests/unit/server/mixins/server_mixins_option_test_util.py", line 188, in _test_all
    self._test(subcommand, options=options)
  File "/home/antoine/rpmbuild/BUILD/xpra-3.0-python2/unittests/unit/server/mixins/server_mixins_option_test_util.py", line 139, in _test
    assert r is None, "rfb client terminated early and returned %i for server with args=%s" % (r, args)
AssertionError: rfb client terminated early and returned 1 for server with args=['--windows=True', '--notifications=True', '--webcam=True', '--clipboard=True', '--speaker=True', '--microphone=True', '--av-sync=True', '--printing=True', '--file-transfer=True', '--readonly=True', '--remote-logging=True', '--mmap=True', '--dbus-proxy=True', '--bind-tcp=0.0.0.0:44347']

Running it separately:

xpra initialization error:
 cannot find live server for display :202
======================================================================
FAIL: test_start_all (__main__.StartDesktopOptionTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./unit/server/mixins/startdesktop_option_test.py", line 16, in test_start_all
    self._test_all("start-desktop")
  File "/home/antoine/projects/Xpra/trunk/src/unittests/unit/server/mixins/server_mixins_option_test_util.py", line 188, in _test_all
    self._test(subcommand, options=options)
  File "/home/antoine/projects/Xpra/trunk/src/unittests/unit/server/mixins/server_mixins_option_test_util.py", line 139, in _test
    assert r is None, "rfb client terminated early and returned %i for server with args=%s" % (r, args)
AssertionError: rfb client terminated early and returned 1 for server with args=['--windows=True', '--notifications=True', '--webcam=True', '--clipboard=True', '--speaker=True', '--microphone=True', '--av-sync=True', '--printing=True', '--file-transfer=True', '--readonly=True', '--remote-logging=True', '--mmap=True', '--dbus-proxy=True', '--bind-tcp=0.0.0.0:35749']


Wed, 22 May 2019 04:35:33 GMT - Antoine Martin: status changed

The problem comes from XAUTHORITY.


Wed, 22 May 2019 04:41:52 GMT - Antoine Martin: attachment set

"fix" by removing xauthority


Wed, 22 May 2019 11:12:50 GMT - Antoine Martin:

Temporary fix merged in r22762.

I just don't understand why using a private XAUTHORITY started to fail recently. Running the same commands from the command line succeeds.


Mon, 22 Jul 2019 11:53:50 GMT - Antoine Martin: status changed; resolution set

r23180 removed the private xauth code.

This is not properly "fixed", but it works..


Sat, 23 Jan 2021 05:47:46 GMT - migration script:

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