Question On Screen Capture From Command Line

Home » CentOS » Question On Screen Capture From Command Line
CentOS No Comments

I am trying to get the screen capture to work from command line (remotely). I am getting the wrong screen shot.

This is what xrandr is giving me…

xrandr –query Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
DP1 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
HDMI2 connected primary 1920×1080+0+0 (normal left inverted right x axis y axis) 1600mm x 900mm
1920×1080 120.00*+ 100.00 119.88 60.00 50.00 59.94
30.00 25.00 24.00 29.97 23.98
3840×2160 30.00 25.00 24.00 29.97 23.98
1920x1080i 60.00 50.00 59.94
1280×1024 60.02
1360×768 60.02
1152×864 59.97
1280×720 60.00 50.00 59.94
1024×768 60.00
800×600 60.32
720×576 50.00
720x576i 50.00
720×480 60.00 59.94
640×480 60.00 59.94
720×400 70.08
VIRTUAL1 disconnected (normal left inverted right x axis y axis)

I’m thinking its giving me one of the other screens. Not the HDMI2 screen. What do I do ? It is definitely not the current screen shot. I have tried both xwd and import – same wrong result.

Or – as a thought – how to I get RID of the other screens – and just have 1. The computer has an intel chipset.
00:02.0 VGA compatible controller: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Integrated Graphics Controller (rev 35)

Thanks for any suggestions.

Jerry