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

Gnome 47 Persistent Remote Desktop session conflicts with SELinux #1844

Open
RPGFSjosh opened this issue Oct 28, 2024 · 3 comments
Open

Gnome 47 Persistent Remote Desktop session conflicts with SELinux #1844

RPGFSjosh opened this issue Oct 28, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@RPGFSjosh
Copy link

RPGFSjosh commented Oct 28, 2024

Describe the bug

After rebasing to bluefin-dx:41, attempting to access the persistent remote headless desktop session results in a black screen.

What did you expect to happen?

I expected to get a full remote session.

Output of rpm-ostree status

Deployments:
● ostree-image-signed:docker://ghcr.io/ublue-os/bluefin-dx:41
                   Digest: sha256:c78098caf0ceb463640afc8caead9b0a7b4862deabf131a95f8bd6f740eb63b1
                  Version: 41.20241028.0 (2024-10-28T04:44:51Z)
          LayeredPackages: thunar tumbler

  ostree-image-signed:docker://ghcr.io/ublue-os/bluefin-dx:latest
                   Digest: sha256:4072d44e95c70eadca4d754432baff0d58729c3f197676b64274944e59cdb1a6
                  Version: 40.20241011.0 (2024-10-12T22:01:46Z)
          LayeredPackages: thunar tumbler

Output of groups

No response

Extra information or context

This is an issue with SELinux. Changing SELinux to "permissive" solves this issue, but is obviously untenable.

A user on the Fedora discourse forums wrote an SELinux module that allows the session to work:
https://discussion.fedoraproject.org/t/gnome-remote-desktop-with-selinux-enforced/115832/8?replies_to_post_number=9

I have tested it and can confirm that it works like a dream. Would this be possible to add to the Bluefin/Bazzite-Gnome projects so that others don't encounter this issue?

@dosubot dosubot bot added the bug Something isn't working label Oct 28, 2024
@fiftydinar
Copy link
Collaborator

fiftydinar commented Nov 1, 2024

This might be useful to add to main images even.

But it would be also good to notify Fedora folks about this.
https://github.com/fedora-selinux/selinux-policy

@Malix-Labs
Copy link

It indeed is an issue for https://github.com/fedora-selinux/selinux-policy instead

@mweissdigchg
Copy link

I am experiencing the same issue on Bluefin-dx 40 gts. Only after setting setenforce 0 I can connect via RDP.
As I am actually testing some GNOME distros, I also installed Fedora Silverblue 41 yesterday and it worked out-of-the-box, so this seems to be Bluefin specific.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants