[KLUG Members] Screenshot of Login Dialogue
Buist Justin
members@kalamazoolinux.org
Tue, 24 Sep 2002 17:16:33 -0400
I thought it was kind of funny that I got asked the same question today. Then I realized it was a BIS 555 student at WMU who had the same question on one of their assignments :)... but I did come up with something.
First, I'm running gdm/gnome here, and on Debian. Locations of files may change and such but it should be fairly simple to figure out where they are on your distro of choice.
1) I made sure that X was listening on tcp first. If you've got an "-nolisten tcp" being passed to X from gdm/xdm/kdm.conf then you might need to modify this and restart gdm/xdm/kdm.
2) Ctrl+alt+f1 to drop to a console login.
3) cp /var/lib/gdm/\:0.Xauth ~/.Xauthority
4) xwd | convert xpm:- jpg:login.jpg
5) alt+f7 back to the X session and mouse-click on the root window. I did try xwd -root | convert xpm:- jpg:login.jpg but that didn't want to fly. I got one garbled looking image from it. I have no explanation for that.
'convert' is part of the ImageMagick tools... I didn't want to try and figure out how to view a raw xwd dump.
I very well might have "improperly" given myself permissions to connect to the X server, but it works. I'm not familiar with the nitty gritty details, so if somebody feels I should be doing it differently -- let me know.
But... that pretty much does it.
Justin Buist
> -----Original Message-----
> From: Doc Rea [mailto:rea@docrea.net]
> Sent: Monday, September 23, 2002 7:53 PM
> To: members@kalamazoolinux.org
> Subject: [KLUG Members] Screenshot of Login Dialogue
>
>
> Hi all:
>
> I've been taking screenshots of my desktop (Ximian Gnome) with the
> ScreenShooter applet and it works great. However, what might be the
> easiest way to take a screenshot of the Gnome or KDE login dialogue
> before one even logs in?
>
> Is it possible using just one box and monitor?
>
> Thanks.
>
> _______________________________________________
> Members mailing list
> Members@kalamazoolinux.org
>
>