Answer the question
In order to leave comments, you need to log in
How to make a VPS so that when the user disconnects from it, the visual component continues to work?
There was such a problem. There is a program that interacts with the desktop, and specifically with the visual component. She constantly checks certain pixels for a particular color in order to understand what further actions to take. Also, all transition operations occur using pseudo clicks. That is, in short, the program imitates the user's actions and analyzes what is happening on the screen. All this was supposed to work on my desktop computer, but since it turned out that I would often need it, it was decided to transfer the program to VPS. I’ll add right away that it’s impossible to make a program so that it works without interacting with a visual interface. Maybe I don't know how to do it, but that's another story.
Therefore the questions are:
Answer the question
In order to leave comments, you need to log in
If the program imitates user actions on the web, then take a look at tools such as PhantomJS and Selenium. They do not require a real desktop, they can work with a virtual framebuffer.
If you approach stupidly, then there are two options
. On the vps, understand the virtual machine and already run the program in it and everything will work
If you approach stupidly
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question