Skip to content

Instantly share code, notes, and snippets.

@jkeam
Created October 12, 2025 05:16
Show Gist options
  • Save jkeam/cd0a9141f75b4b5969fa591e5fda9c3f to your computer and use it in GitHub Desktop.
Save jkeam/cd0a9141f75b4b5969fa591e5fda9c3f to your computer and use it in GitHub Desktop.
Gnome Remote Login on Fedora
module grd 1.0;
require {
type system_dbusd_t;
type unconfined_service_t;
type xdm_t;
class tcp_socket { getattr getopt read setopt shutdown write };
}
allow system_dbusd_t unconfined_service_t:tcp_socket { read write };
allow xdm_t unconfined_service_t:tcp_socket { getattr getopt read setopt shutdown write };
@jkeam
Copy link
Author

jkeam commented Oct 12, 2025

checkmodule -M -m -o ./grd.mod ./grd.te
semodule_package -o ./grd.pp -m ./grd.mod
sudo semodule -i ./grd.pp

@jkeam
Copy link
Author

jkeam commented Oct 12, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment