SELinux on Linux
Copy as MarkdownOn distributions that turn SELinux on, such as Fedora, RHEL, Rocky Linux and AlmaLinux, NeoDesk's Home says: SELinux is turned on on this computer. It may keep others from connecting with NeoDesk Desktop. The card only says that SELinux is on; its close button hides it for good. If people can't connect, or they see no picture, check whether SELinux stopped NeoDesk.
List what SELinux refused NeoDesk recently:
sudo ausearch -m avc -ts recent -c neodeskNo entries: SELinux isn't the cause. To be sure, switch it to permissive mode for one try, connect again, and switch it back on:
sudo setenforce 0
# connect to this computer again
sudo setenforce 1When the list has entries, make a local policy module from them and load
it. audit2allow is in the package policycoreutils-python-utils.
sudo ausearch -m avc -c neodesk --raw | audit2allow -M neodesk-local
sudo semodule -i neodesk-local.pp
sudo systemctl restart neodeskRead the rules in neodesk-local.te before you load the module: they allow
exactly what SELinux refused. To remove the module again:
sudo semodule -r neodesk-local