I connect to my VPS using tigerVNC Viewer and run a command like:
xdotool getmouselocation
but I always get the error:
Segmentation fault (core dumped)
On my desktop it is working but not on my VPS
This is how I set up my VPS:
apt-get update
apt-get upgrade
apt install xfce4 xfce4-goodies tightvncserver
vncserver
vncserver -kill :1
nano ~/.vnc/xstartup
#!/bin/bash
xrdb $HOME/.Xresources
startxfce4 &
chmod +x ~/.vnc/xstartup
vncserver
sudo apt update
sudo apt install xdotool
What can I do?
xdotool getmouselocation
? – Terrance May 26 '19 at 18:41xdotool
won't work. – danzel May 26 '19 at 20:27echo $XDG_SESSION_TYPE
also work? – DK Bose May 27 '19 at 15:57