I have a dual monitor setup and wish to only record the 1st monitor with recordmydesktop, but I am unsure of the settings to do this via the command line. So far I have this:
recordmydesktop --display=1 --width=1920 height=1080 --fps=15 --no-sound --delay=10
But I get this error message:
Cannot connect to X server 1
How do I find the right X server to connect to and are the rest of my settings correct?