I recently upgraded my computer at work to Leap 15.5. As part of that, tigervnc was upgraded to v. 1.12 which is vastly different from v 1.10 used in Leap 15.4. The old way of setting up a vnc connection no longer worked as the vncserver command no longer is part of tigervnc. So I tried to google the new way of setting up the connection, but this is hard as a lot of information on the net is outdated (including information on openSUSE pages!). In the end I chose the following solution. On the work machine I set up a vnc server for a persistent VNC session by going to YaST › Network Services › Remote Administration and activating “Allow Remote Administration With Session Management”. Then I rebooted. Now that I am at home, I am trying to connect to the vnc server. This works and I get a login screen, but as soon as I log in the session is terminated. When I then connect again, I get the login screen again. How do I proceed from here to get a proper vnc session?
I fought and fought with that built in VNC thing in Yast. Never got it to work correctly ever. I finally installed xrdp server on the Suse box and connected as VNC and that has worked flawlessly for a month.
I set up the xrdp server, but struggled to get a vnc connection going via that server. So I went back into YaST2 and enabled the vnc server again there. Now things work peachy, even without the xrdp server. I did not enable access via the browser this time. Maybe that is it, I do not know… But it works now.
my guess is that xrdp fixed your config scripts and now the YAST one works correctly. Just a guess though. Glad you got it working!