Re: How to take screenshot. of GDM



michaelv cox-internet com (2002-06-21 at 1111.45 -0500):
> How do i take a screenshot of the login screen?
> Thanks in advance.

Something like:

chvt 7 ; sleep 5 ; XAUTHORITY=/var/gdm/:0.Xauth DISPLAY=:0.0 import -window root /tmp/gdm-shot.png

This supposes the GDM screen is in VT7 (Ctrl + Alt + F7) using display
number :0.0 and that the auth info is stored in /var/gdm/:0.Xauth. The
sleep is to give time to the computer to draw everything and do not
give you any kind of garbage. BTW, this trick is valid for lot of
other things, if you have the auth info, you can poke around all you
want (this can be taken also as a warning about security).

GSR
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]