How to configure VNC to persistent mode in Tumbleweed, Xfce desktop?

I am using Tumbleweed with Xfce desktop environment. I enabled Remote Administration Settings (VNC) to Allow Remote Administration With Session Management and then I can connect to the computer by port 5901 with TigerVNC from other computers. The only problem is I don’t know how to make the session permanent.

I tried to run vncmanager-controller from terminal in a VNC session but it shows:

VNC not managed by vncmanager, quitting.

I tried to find vncmanager.conf from the whole system but it doesn’t exist.

I tried to execute lsof -i :5901 and it shows:

COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
vncmanage 1203 vnc 5u IPv4 10027 0t0 TCP *:5901 (LISTEN)
vncmanage 1203 vnc 6u IPv6 10028 0t0 TCP *:5901 (LISTEN)
vncmanage 1203 vnc 7u IPv4 32653 0t0 TCP 192.168.1.55:5901->192.168.1.21:50376 (ESTABLISHED)

Now I have no idea how to do that. Hoping someone can help me with it. :frowning_face:


References I found but sadly don’t help:

Another post with similar problem seems resulted in changing it to x11vnc, is it meaning that eventually I can’t make it with VNC automatically settled by YaST?

I briefly tested on Tumbleweed with GNOME (gdm) and it appears to work. When connected for the first time I get new Xvnc started; I can start vncmanager-controller in this session and when I select persistent session, I can also later reconnect to it. There are usual pitfalls (like XDMCP must be active in display manager, no multiple graphical sessions for the same user etc).

You probably need to explain in more details or steps what you did.

Like most configuration files, it is optional. And it does exist - as example in /usr/share/doc/packages/vncmanager/vncmanager.conf.

You don’t really need vncmanager either. You can just use vnc@.service template that is part of xorg-x11-Xvnc package.