Description of problem: Fedora currently patches [^1] several of xpra's paths to point to /var/run/user/$UID/xpra. This is inconvenient, because that directory might not exist (e.g. in a minimal container, where xpra is not started from a shell) or the user might have different preferences. XDG_RUNTIME_DIR exists [^2], on my system points to that exact directory (but is configurable) and seems to exactly match this use-case: ``` $XDG_RUNTIME_DIR defines the base directory relative to which user-specific non-essential runtime files and other file objects (such as sockets, named pipes, ...) should be stored. The directory MUST be owned by the user, and he MUST be the only one having read and write access to it. Its Unix access mode MUST be 0700. ``` I suggest to replace the string "/var/run/user/$UID" with "$XDG_RUNTIME_DIR" to allow the user more control over these paths. [^1]: https://pkgs.fedoraproject.org/cgit/rpms/xpra.git/tree/xpra-0.16.0-move-to-var-run.patch [^2]: https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html Version-Release number of selected component (if applicable): 0.16.1-2.fc24
See-Also: http://xpra.org/trac/ticket/1129 (upstream bug)
OK, it seems this needs some thinking and discussion - for now on the upstream ticket. When we converge to the right solution, I'll update the Fedora package accordingly.
OK, have just pushed a build (0.16.2-2) which should use XDG_RUNTIME_DIR for sockets and logs. This also reverts the change to the run script location - we're back to sticking it under ~/.xpra for now, so as not to break other clients (see upstream ticket). http://koji.fedoraproject.org/koji/taskinfo?taskID=13046673
xpra-0.16.2-2.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-241d30d0c5
Oh dear, 0.16.2-2 is horribly broken.
Pushed a build dropping patch to use XDG_RUNTIME_DIR for now, until I have time to work on this, so at least we have a working xpra in rawhide. http://koji.fedoraproject.org/koji/taskinfo?taskID=13048811
And now a package that actually has the icon files in the right place: http://koji.fedoraproject.org/koji/taskinfo?taskID=13049047
This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle. Changing version to '24'. More information and reason for this action is here: https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora24#Rawhide_Rebase
One blocker for this is that using su -l to change to a different user doesn't create or set XDG_RUNTIME_DIR, and that's a common use case (i.e. switching to a different user to start an xpra server).
xpra-1.0-2.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-186fb568a7
xpra-1.0-2.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-a06f2e6e03
xpra-1.0-2.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-186fb568a7
xpra-1.0-2.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-a06f2e6e03
xpra-1.0-2.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.
xpra-1.0-2.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.