I'm using TCL as a headless nested VM in Eve-ng, connecting to the graphical environment using Ultra VNC.
By default the pointer in VNC doesn't properly follow the mouse movement correctly, it is lagging behind.
I managed to correct this by installing libXmu.tcz and 'xset m 1 0'.
Now the VNC pointer will follow the mouse correctly.
The moment I open a new window the mouse jumps to the new window, but he VNC pointer doesn't follow. Causing the mouse to be out of sync again.
Is there an option not have the mouse jump to the new window?
settings used:
Via GUI:
Apps > Apps > Cloud (Remote) > Browse > Search > libXmu > install libXmu.tcz
Control Panel > Mouse Tool > change: Mouse Speed = 1
(remembered across reboots)
Via CLI:
tce-load -wi libXmu.tcz
xset mouse 1 0
(verify with xset q)
(doesn't get remembered across reboots by default)
At bootup:
in /opt/bootlocal add the following lines.
TCEDIR=/mnt/vda1/tce/optional/
[ ! -e "$TCEDIR"/libXmu.tcz ] && sudo -u tc tce-load -wi libXmu.tcz
sudo -u tc echo "xset m 1/1 0" > /home/tc/.mouse_config
sudo chown tc:staff /home/tc/.mouse_config
sudo -u tc chmod +x og= /home/tc/.mouse_config
(this will take effect with the second boot of the VM)