How to login on VNC with other multiple users

I struggled whole day to find out to find how multiple user can access VNC desktops

you create different VNC server with different users and it will assign different ports so you need to connect on specific port of user

Steps

first create unix user
login to unix user
generate vnc password using vncpassword
start the VNC server from user
it will give msg of generating log file
Starting applications specified in /home/user/.vnc/xstartup
Log file is /home/user/.vnc/localhost.localdomain:2.log
———————————–

VNC server creates new server with different ports and you can connect to that ports

if root user started VNC server one port and desktop is assigned to that. you can see in the log file, Connect to that port

Xvnc TigerVNC 1.8.0 – built May 17 2017 05:47:49
Copyright (C) 1999-2017 TigerVNC Team and many others (see README.txt)
See http://www.tigervnc.org for information on TigerVNC.
Underlying X server release 11903000, The X.Org Foundation

Wed Aug 29 13:04:41 2018
vncext: VNC extension running!
vncext: Listening for VNC connections on all interface(s), port 5905
vncext: created VNC server for screen 0

Now start the VNC server with other user and same check the port and you can connect on that port using VNC client and it will ask password you need to give other user’s password

Log file is /home/user/.vnc/localhost.localdomain:2.log