View Full Version : How do you "screen capture" your Login screen?
americanrockradio
May 2nd, 2005, 01:12 PM
I've put together a modified version of an existing GDM login screen and the only thing I'm missing before I make it available is a "screen capture" preview pic of the login screen itself.
How do you do this?
Thanks
Fab
May 2nd, 2005, 01:52 PM
I've put together a modified version of an existing GDM login screen and the only thing I'm missing before I make it available is a "screen capture" preview pic of the login screen itself.
How do you do this?
Thanks
quick reply:
xnest
rototom
May 2nd, 2005, 03:41 PM
Use a digital camera!
;-)
benplaut
May 2nd, 2005, 11:38 PM
quick reply:
xnest
xnest? :?
Fab
May 3rd, 2005, 08:16 AM
xnest? :?
http://www.xfree86.org/current/Xnest.1.html
essentially, you can start an x server in your current x session, and therefore capture the window with the second X displaying gdm with the print button
americanrockradio
May 3rd, 2005, 02:47 PM
Use a digital camera!
;-)
Hahaha I liked this one =)
Xnest did the trick, thanks much!
Fab
May 3rd, 2005, 03:09 PM
Hahaha I liked this one =)
Xnest did the trick, thanks much!
no prob, glad it worked :9
dmontalvao
November 1st, 2007, 10:22 AM
I must be really stupid. How does Xnest work? I already installed it.
crimesaucer
November 1st, 2007, 02:33 PM
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:
root
...and then enter the root password.
Next I use this command while I'm root in tty2:
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:
exit
... 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":
gksu nautilus
... 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:
chvt 7 ; sleep 5 ; XAUTHORITY=/var/lib/gdm/:0.Xauth DISPLAY=:0.0 sudo
import -window root gdm-screenshot.png; chvt 2
Crafty Kisses
November 1st, 2007, 07:49 PM
http://www.xfree86.org/current/Xnest.1.html
essentially, you can start an x server in your current x session, and therefore capture the window with the second X displaying gdm with the print button
Exactly!
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.