Trying to get tigervnc (server) running on Fedora 41

When I upgraded a nice working system from 40 → 41 the colors were way off on some apps but everything worked, vnc, vlc, gimp, etc. Installed 41 from scratch to see if anything would change. It only got worse. Can’t even connect as vnc starts and ends immediately. Used setup instructions I always have as well as slightly different instructions from sites like server-world. The colors in apps are actually like they should be but I have to be physically on the console which is a no-go in my situation. Any ideas on vnc which has always worked until 41?

Thanks. The first time I tried I got farther and was actually able to connect with vnc client, but the got the black screen. Will reload and try again this weekend.

Hi lena,

1 more setting to try:
in /etc/tigervnc/vncserver-config-defaults
set your session ( mine is set to session=gnome )

Thanks all. Tried everything and researched. Turns out it needed xsession. Testing everything else before upgrading production boxes.

Thank you! The tip about makingxsession available via dnf install xorg-x11-xinit-session fixed the error I was having:

Dec 11 13:37:17 server systemd[1]: Starting vncserver@:0.service - Remote desktop service (VNC)...
Dec 11 13:37:17 server vncsession[2132]: pam_systemd(tigervnc:session): New sd-bus connection (system-bus-pam-systemd-2132) opened.
Dec 11 13:37:18 server vncsession[2132]: pam_unix(tigervnc:session): session opened for user john(uid=1000) by john(uid=0)
Dec 11 13:37:18 server vncsession[2132]: vncsession: vncserver exited with status=255
Dec 11 13:37:18 server vncsession[2132]: pam_systemd(tigervnc:session): New sd-bus connection (system-bus-pam-systemd-2132) opened.
Dec 11 13:37:18 server systemd[1]: Started vncserver@:0.service - Remote desktop service (VNC).
Dec 11 13:37:18 server vncsession[2132]: pam_unix(tigervnc:session): session closed for user john
Dec 11 13:37:18 server systemd[1]: vncserver@:0.service: Deactivated successfully.