Skip to content

xpra failed to start on debian testing (trixie) #368

@shannara

Description

@shannara

Create own issue about xpra on debian

I work on new package for debian archive, sorry for delay i don't see bug open on debian, ubuntu :(
i fix issue with python > 3.9 (thanks unique-EJ), other fix for docker API (need v1.24 instead v1.13) and update note for git config set, infact need explicit define defaultBranch to master

test on debian 12 work as well, but first entrance is unstable, when i test on it, not work with issue on xpra.
For unknown reason when i try to debug inside xpra container, don't remember action i do, xpra client run after and xterm container run successfully 🤔, but can't reproduce after :(

user@debian-testing:~$ subuser run xterm
Starting xpra server...
^CTraceback (most recent call last):
File "/usr/bin/subuser", line 52, in
command(sys.argv[2:])
File "/usr/lib/python3/dist-packages/subuserlib/builtInCommands/run.py", line 90, in runCommand
runtime.run(argParser.subuserArgs)
File "/usr/lib/python3/dist-packages/subuserlib/classes/subuserSubmodules/run/runtime.py", line 337, in run
return reallyRun()
File "/usr/lib/python3/dist-packages/subuserlib/classes/subuserSubmodules/run/runtime.py", line 309, in reallyRun
self.subuser.x11Bridge.addClient()
File "/usr/lib/python3/dist-packages/subuserlib/classes/service.py", line 93, in addClient
serviceStatus = self.start(serviceStatus)
File "/usr/lib/python3/dist-packages/subuserlib/classes/subuserSubmodules/run/x11Bridge.py", line 245, in start
self.waitForContainerToLaunch("xpra is ready", serverProcess, suppressOutput)
File "/usr/lib/python3/dist-packages/subuserlib/classes/subuserSubmodules/run/x11Bridge.py", line 271, in waitForContainerToLaunch
time.sleep(0.1)

KeyboardInterrupt

On docker logs for container xpra :

Warning: failed to create script directory '/run/user/1000/xpra'
[Errno 2] No such file or directory: '/run/user/1000/xpra'
($XDG_RUNTIME_DIR has not been created?)
cannot access python uinput module:
No module named 'uinput'
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root

totaam suggest to read this issue Xpra-org/xpra#4383

I try to debug xpra-base, xpra image with subuser dev, found repository used is always default for xpra internal image.
I add step for create folder /run/user/1000 and use XDG_RUNTIME_DIR=/run/user/1000 directly on imageSource.py for debug, without success always stuck on "Starting xpra server...".
Error about /run/user/1000/xpra disappear but remain XSERVTransmkdir

Compare on debian 12, xpra don't complain about /run/user/1000 (folder not exist if inspect xpra server container)

Continue to debug and hope found how to fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions