After installing the winswitch/xpra repos on a new fedora 24 and installing - getting an 'lsb_release' error.
[patron@Fedora24-Server-374 ~]$ xpra --version error running (['lsb_release', '-cs'],),{'stderr': -1, 'stdout': -1}: [Errno 2] No such file or directory Warning: failed to detect OS release using lsb_release -cs: xpra v1.0
Some help from smo pointed me to the need to install redhat-lsb-core
... after which the errors went away and fedora 24 server became a much happier camper.
Probably needs to be added as a dependency.
AFAIK, this is just a harmless warning, now hidden in r13650. lsb packages are not strictly required, they just make it easier to guess which linux distribution we're running on so we can activate workaround (ie: no Xdummy with Ubuntu).
Hmm... testing by trying to install 1.0 r13671 on a fresh fedora 24 vm, I'm no longer seeing the above warning, but without installing the redhat-lsb-core
library I keep failing to get past a bus connection error when I try to start a server... but only when connecting to the server vm as root and then using su - [not-root-user]
.
With a user called maint, if I log in with root and then run su - maint
, followed by an attempt to start the server, I get the following.
[maint@Fedora24-Server-378 ~]$ xpra --no-daemon --bind-tcp=0.0.0.0:1234 --start-child=xterm --mdns=no --start-new-commands=yes start :13 -d server using systemd-run to wrap 'start' server command 'systemd-run' '--scope' '--user' '/usr/bin/xpra' '--bind-tcp=0.0.0.0:1234' '--start-child=xterm' '--mdns=no' '--start-new-commands=yes' 'start' ':13' '-d' 'server' '--daemon=no' Failed to create bus connection: No such file or directory
For some reason though, if I just go ahead and connect with the maint user, then the server launches just fine ... and the redhat-lsb-core
packages do indeed seem to be not strictly required.
And, with that probably more verbose than necessary comment, I'll close this.
but only when connecting to the server vm as root and then using su - [not-root-user]
for systemd-run issues, see #1129 - I don't think this has anything to do with lsb.
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1303