This is the easiest way I found to take a screenshot of your GDM: http://ubuntuforums.org/showthread.php?t=2127
I use this command in Archlinux to take screenshots of my GDM... all though I do it in root tty2, and I don't use the "sudo" command like in the link I put above... so I'm going to explain it how I do it.
First install the package "Imagemagick", then I start my computer, and when I'm on my Login screen, I press "ctrl+alt+f2" to enter my tty2 or "virtual terminal #2"... then when in tty2, I type:
...and then enter the root password.
Next I use this command while I'm root in tty2:
Code:
chvt 7 ; sleep 5 ; XAUTHORITY=/var/lib/gdm/:0.Xauth DISPLAY=:0.0 import -window root gdm-screenshot.png; chvt 2
This will change the screen from tty2 (or vt2) to tty7 (or vt7)... then it will wait 5 seconds before taking a screenshot and putting it into your Root Folder... then it will change back to your tty2 (or vt2)...
Then type:
... to log out of root privilege of tty2... then type "ctrl+alt+f7" to get back to your normal GDM login screen where you can now login like normal.
Now your last step is to run this in "alt+f2":
... now you should have your root nautilus folder open and you will see your "gdm-screenshot.png"... just change permissions to your username (right click properties, and select permissions)... then copy it to your home folder.
#########################################33
I also think there you might be able to use this command in tty2 without logging in to root:
Code:
chvt 7 ; sleep 5 ; XAUTHORITY=/var/lib/gdm/:0.Xauth DISPLAY=:0.0 sudo
import -window root gdm-screenshot.png; chvt 2
Bookmarks