4

I cannot see cursor on xwd screenshots I take on xvfb session.

This is how I run my xvfb session:

Xvfb :99 -screen 0 1920x1080x24 -ac

Also I tried to use import too, no diff:

  1. xwd -display :99 -root -silent | convert xwd:- png:/tmp/screenshot.png
  2. import -window root -display :99 /tmp/screenshot.png

My goal is to move cursor to needed coordinates and click with xdotool, so I want to take screenshot and see where cursor is to debug am I doing something wrong.

0 Answers0