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']
The problem comes from XAUTHORITY
.
"fix" by removing xauthority
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.
r23180 removed the private xauth code.
This is not properly "fixed", but it works..
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/2306