I need to enter login details automatically into GUI program (Ubuntu 18.04) and click login. All that can be done by clicking tab few times, login details and enter. I would use xdotool, but I use VNC (vnc4server, xfce4) and it appears that xdotool doesn't work with VNC.
The question is how to automate button clicks on X11 VNC environment.
The error I get from xdotool: