I have a Linux computer with VNC server running in it. When I connect to that computer remotely from another computer using a Remote Desktop Viewing application, the main computer display is still visible and any person can control it.
How can I lock the screen or remove access to control(keyboard, mouse) the main computer when connected to it remotely.
Can I have the same behaviour how RDP works on a windows system? Lock the screen when someone is logged in remotely?
By the way I am using x0vncserver for sharing the existing display.