wmctrl
wmctrl copied to clipboard
wmctrl in headless Linux
I want to know if its possible to use wmctrl in headless ubuntu machine, I have created multiple desktops using Xorg's dummy driver using steps described in this web page https://techoverflow.net/2019/02/23/how-to-run-x-server-using-xserver-xorg-video-dummy-driver-on-ubuntu/
But I'm not able to use wmctrl on a dummy display, so can you please tell if it's possible to use it and if so how?
Output of wmctrl -l and -d:
user@newserver_16022021:~$ export DISPLAY=:10
user@newserver_16022021:~$ wmctrl -d
Cannot get number of desktops properties. (_NET_NUMBER_OF_DESKTOPS or _WIN_WORKSPACE_COUNT)
user@newserver_16022021:~$ wmctrl -l
Cannot get client list properties.
(_NET_CLIENT_LIST or _WIN_CLIENT_LIST)
user@newserver_16022021:~$
Thank you.