Skip to content

Connect to xvfb screen using VNC #3254

Answered by mdmintz
stvenchg asked this question in Q&A
Discussion options

You must be logged in to vote

From Google AI:


Using PyAutoGUI with VNC can be tricky due to a few key considerations:

Challenges:

  • Coordinate Mapping: The coordinates on your local machine might not match the coordinates on the remote VNC machine.
  • Window Focus: PyAutoGUI relies on the active window. If the VNC window loses focus, your automation might fail.
  • Performance: VNC can introduce lag, affecting the timing of your automation scripts.

Solution: Don't use VNC if you need to use PyAutoGUI actions.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mdmintz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants