Problem configuring tigervnc server

I have seen that the script vncserver is gone in leap15.5.
I need to configure tigervnc server in a machine, to be able to access this machine from my office, using vncviewer. I have checked some information found on the web that applies to other distros and also general information. However, I do not manage to get the server up and running on leap15.5. It was very easy in previous distributions, just using vncserver. Now it seems configuring the server is really complicated; it seems that the server would not start if the user is already logged in the graphical context. Does anyone have a step by step procedure that can be followed in leap15.5 to configure the server?. Many thanks for your help.

Does this description help?

Thanks for the clue.
I followed the yast2 procedure, which completed without errors. I noticed that after following the procedure and a reboot, no process related to vnc is started:

ps aux |grep vnc

returns nothing.

I did notice some changes, since now “xvnc.socket” is activated.
If I run

systemctl status xvnc.socket

I get active and listening.
On the client side I can connect through the 5901 port, but I get a black screen. The screen is active since it works with the F8 key showing options, but it is not showing any desktop (I use lxde on the server).

Are you logged in on the local graphical console when you are trying to log in over VNC?

Hello,

In the server I am logged with the same user in the graphical desktop (lxde).
In the client I am also logged with the same user in the graphical desktop (icewm).
Is that correct?.

Quite some desktops today do not support multiple concurrent sessions. I do not know about LXDE specifically, but the problem is well known. Create test user and try to log in as this user making sure it has no active local sessions.

Hello, thanks again.

I have created the test user; logged off from the regular user in the client machine.
To be sure, I also logged off from the regular user in the server.
Logged in with the test user in the client machine, and tried vncviewer.
Still the same black screen. I am thinking that if the problem is the management of multiple concurrent sessions, then this may be related to the fact that the client machine is actually a leap15.5 running in wls (windows subsystem for linux). The wsl introduced a short of graphical session inside windows. Never mind, I will try other servers. It is that in leap15.4 it was easy; it directly worked out of the box just invoking the command vncserver. Thanks again.

Just to let you know.
After some searching I have found that there is still the script in this location
/usr/lib/vncserver

This is still working:

/usr/lib/vncserver :1

Successfully configures and start the Xvnc server

I am aware that support will be removed to this way of using tigervnc, but for the moment it solves my problem in the sort time.

Thanks again for your support.