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

x2goserver doesn't recognize void as a supported operating system #54083

Open
SirSputnikWiki opened this issue Jan 23, 2025 · 0 comments
Open
Labels
bug Something isn't working needs-testing Testing a PR or reproducing an issue needed

Comments

@SirSputnikWiki
Copy link

Is this a new report?

Yes

System Info

Void 6.1.114_2 x86_64 GenuineIntel/VM notuptodate F

Package(s) Affected

x2goserver-4.1.0.6_1

Does a report exist for this bug with the project's home (upstream) and/or another distro?

No response

Expected behaviour

Starting an xsession that can be accessed remotely

Actual behaviour

At lines 143 and 170-179 the /etc/x2go/Xsession script checks what operating system it's running on, and errors out if it's not one it recognizes. The check if fairly simple, and the server seems to run just fine if you satisfy the second condition by, for example, creating an empty file at /etc/gentoo-release.

For comparison, the version of the package distributed by Alpine Linux (also not supported out of the box) patches in a check for /etc/alpine-release. Void should probably do something similar, otherwise this package doesn't work without pretending to be on a different distro.

https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/community/x2goserver/xsession-alpine-support.patch

Steps to reproduce

  1. Install x2goserver and a supported desktop environment.
  2. Attempt to connect.
  3. Observe the error message say 'Unknown operating system, XSession startup not implemented!'
@SirSputnikWiki SirSputnikWiki added bug Something isn't working needs-testing Testing a PR or reproducing an issue needed labels Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-testing Testing a PR or reproducing an issue needed
Projects
None yet
Development

No branches or pull requests

1 participant