I would like to ask how to use the vnclog option in the vncdotool module. I already read the documentation but I don't seem to understand how it works. My plan is to record all the keystrokes/mouse movement in the remote PC(VNC Server) then load it as a .vdo file in my code.
Creating long lists of commands can be time consuming so vncdotool provides a log mode that records a users interactions to a file, which you can then playback with vncdo. For best results set your client to use the RAW encoding. Others encoding may work but are not fully supported at this time.:
vnclog keylog.vdo
vncviewer localhost:2 # do something and then exit viewer
vncdo keylog.vdo
I would like to ask how to use the vnclog option in the vncdotool module. I already read the documentation but I don't seem to understand how it works. My plan is to record all the keystrokes/mouse movement in the remote PC(VNC Server) then load it as a .vdo file in my code.