I seem to get good results by modifying script /usr/bin/xpra as below. Cheers, Paul
--- /usr/bin/xpra.bak 2019-01-20 17:23:10.000000000 +1100 +++ /usr/bin/xpra 2019-12-26 11:17:42.455901905 +1100 @@ -1,5 +1,14 @@ #! /usr/bin/python2 +# PSz 26 Dec 2019 +# Avoid error like: +# Warning: failed to create script directory '/run/user/1001/xpra': +# [Errno 2] No such file or directory: '/run/user/1001/xpra' +# ($XDG_RUNTIME_DIR has not been created?) +# We do not have /run/user/UID directories. +import os +os.environ["XDG_RUNTIME_DIR"] = os.environ["HOME"] + "/.xpra" + import sys try: import xpra -- Paul Szabo p...@maths.usyd.edu.au http://www.maths.usyd.edu.au/u/psz/ School of Mathematics and Statistics University of Sydney Australia I support NTEU members taking a stand for workplace rights in the face of poorly-run change management. Visit www.nteu.org.au/sydney to learn more.