Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fedora 24 beta install dependency issue #1303

Closed
totaam opened this issue Sep 10, 2016 · 6 comments
Closed

fedora 24 beta install dependency issue #1303

totaam opened this issue Sep 10, 2016 · 6 comments

Comments

@totaam
Copy link
Collaborator

totaam commented Sep 10, 2016

Issue migrated from trac ticket # 1303

component: server | priority: major | resolution: fixed

2016-09-10 02:46:28: afarr created the issue


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.

@totaam
Copy link
Collaborator Author

totaam commented Sep 10, 2016

2016-09-10 06:49:33: antoine changed owner from antoine to afarr

@totaam
Copy link
Collaborator Author

totaam commented Sep 10, 2016

2016-09-10 06:49:33: antoine commented


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).

@totaam
Copy link
Collaborator Author

totaam commented Sep 13, 2016

2016-09-13 02:41:34: afarr changed status from new to closed

@totaam
Copy link
Collaborator Author

totaam commented Sep 13, 2016

2016-09-13 02:41:34: afarr set resolution to fixed

@totaam
Copy link
Collaborator Author

totaam commented Sep 13, 2016

2016-09-13 02:41:34: afarr commented


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.

@totaam totaam closed this as completed Sep 13, 2016
@totaam
Copy link
Collaborator Author

totaam commented Sep 13, 2016

2016-09-13 04:36:29: antoine commented


but only when connecting to the server vm as root and then using su - [not-root-user]
[[BR]]
for systemd-run issues, see #1129 - I don't think this has anything to do with lsb.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant