CentOS 6, it works well: [opgdws02:/home/dc2] $ export DISPLAY=opccws02:0.0 [opgdws02:/home/dc2] $ gnome-screenshot –interactive This will take screenshot of node opccws02 screen and save it to the desktop of opdgws02. but CentOS 7, This will take screenshot of node opdgws02 screen and save it to the desktop of opdgws02. why centOS 7 does not work same way as Cent 6?