I have installed a nodeJS app which uses RobotJS (a JS automation tool, like Autohotkey) on my Windows 2022 server which moves the mouse and tape keywords automatically (when receiving API calls via node server).
It works fine with RDP. But when I close the RDP session, the session is automatically locked, and then my automation tools can’t work.
I can’t use my automation tool as a service, it has to think there is user logged and a “screen” to work. And I don’t want to have a computer running 24h/24h with an open RDP session but I can set up server B who will stay connected to server A via VNC.
Can tigerVNC connect to my server, even if no user is logged in?
If I open RDP session from server B to my server, A click yes to allow the VNC session (I guess I have to do that or maybe I can setup VNC server to automatically accept), close the RDP session, will the VNC session between Server A and Server B still works (so my automation software will think there is “screen” and a user logon so it an works) even if I close my RDP session to server B?
If TigerVNC can’t, can RealVNC, TeamViewer, Anyviewer can do it?
I may not explain clearly but I think everybody who has to run an automation tool (mous & keyword) on a server has encountered the same issue.
Thanks