Try sudo semanage fcontext -a -t bin_t /etc/rc.d/init.d/tvncserver sudo restorecon -R -v /etc/rc.d/init.d/tvncserver
and then reboot the system. That seems to work for me. Those commands have the effect of making the TurboVNC Server init.d script run under the system_u:system_r:unconfined_service_t:s0 context instead of the system_u:object_r:initrc_exec_t:s0 context, which more closely simulates the SELinux context that you get when you start the TurboVNC Server manually (unconfined_u:unconfined_r:unconfined_t:s0).
DRC On 2/26/22 5:56 PM, joa...@verona.se wrote:
Hello, I upgraded a machine from fedora 34 to 35. After that, I got a black screen in the turbovnc client. If I start turbovnc server manually in a shell, the vnc server starts fine, and I can connect. Then I tried "setenforce 0", and started the turbovnc service, and then xfce starts fine, and I can connect the client. I can then turn on selinux again, and it seems to continue to work. I also upgraded turbovnc turbovnc-2.2.91-20220224.x86_64 but that didnt seem to make a difference. Any hints how to fix this?
-- You received this message because you are subscribed to the Google Groups "TurboVNC User Discussion/Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to turbovnc-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/turbovnc-users/f043d878-7ad6-8b91-3328-472063b75b0a%40virtualgl.org.