<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Login Screenshot Challenge &#8211; Part 1</title>
	<atom:link href="http://MacDeveloperTips.com/system/login-screenshot-challenge.html/feed" rel="self" type="application/rss+xml" />
	<link>http://MacDeveloperTips.com/system/login-screenshot-challenge.html</link>
	<description>Tips, tools and code for iPhone and Mac developers.</description>
	<lastBuildDate>Mon, 01 Mar 2010 17:36:57 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Deon</title>
		<link>http://MacDeveloperTips.com/system/login-screenshot-challenge.html/comment-page-1#comment-999</link>
		<dc:creator>Deon</dc:creator>
		<pubDate>Sat, 05 Dec 2009 00:21:58 +0000</pubDate>
		<guid isPermaLink="false">http://MacDeveloperTips.com/system/login-screenshot-challenge.html#comment-999</guid>
		<description>I don&#039;t know whether you managed to solve this without the need for a second machine as some time has passed since you first posted.

here is the solution you were looking for:

sudo screen -m -d bash -c &quot;sleep 90; screencapture /Users/USERNAME/Desktop/loginscreen.png&quot;

you were close you just needed to prefix with &#039;sudo&#039;

credit where its due to these guys over at mac os hints http://www.macosxhints.com/article.php?story=2003031107163856</description>
		<content:encoded><![CDATA[<p>I don&#8217;t know whether you managed to solve this without the need for a second machine as some time has passed since you first posted.</p>
<p>here is the solution you were looking for:</p>
<p>sudo screen -m -d bash -c &#8220;sleep 90; screencapture /Users/USERNAME/Desktop/loginscreen.png&#8221;</p>
<p>you were close you just needed to prefix with &#8217;sudo&#8217;</p>
<p>credit where its due to these guys over at mac os hints <a href="http://www.macosxhints.com/article.php?story=2003031107163856" rel="nofollow">http://www.macosxhints.com/article.php?story=2003031107163856</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://MacDeveloperTips.com/system/login-screenshot-challenge.html/comment-page-1#comment-774</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Thu, 11 Jun 2009 05:17:16 +0000</pubDate>
		<guid isPermaLink="false">http://MacDeveloperTips.com/system/login-screenshot-challenge.html#comment-774</guid>
		<description>You need to connect via ssh from another mac.
Enable remote login on the target computer for a specific user, take not of the ssh address it gives you.
Also enable quick user switching then switch out to login screen (while remaining logged on your network connection will remain active)
On your second mac open terminal and enter ssh @, it will prompt for user verification.
Then enter:
cd ~/Desktop
sudo screencapture -ttiff loginwindow.tiff
This will create a screenshot of the target mac and save in format .tiff
It will be saved on the Desktop of the target computer.

This is best done on a mac that has a higher resolution than the target computer, otherwise you will need to crop the screenshot.</description>
		<content:encoded><![CDATA[<p>You need to connect via ssh from another mac.<br />
Enable remote login on the target computer for a specific user, take not of the ssh address it gives you.<br />
Also enable quick user switching then switch out to login screen (while remaining logged on your network connection will remain active)<br />
On your second mac open terminal and enter ssh @, it will prompt for user verification.<br />
Then enter:<br />
cd ~/Desktop<br />
sudo screencapture -ttiff loginwindow.tiff<br />
This will create a screenshot of the target mac and save in format .tiff<br />
It will be saved on the Desktop of the target computer.</p>
<p>This is best done on a mac that has a higher resolution than the target computer, otherwise you will need to crop the screenshot.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Uli Kusterer</title>
		<link>http://MacDeveloperTips.com/system/login-screenshot-challenge.html/comment-page-1#comment-141</link>
		<dc:creator>Uli Kusterer</dc:creator>
		<pubDate>Wed, 14 May 2008 13:14:17 +0000</pubDate>
		<guid isPermaLink="false">http://MacDeveloperTips.com/system/login-screenshot-challenge.html#comment-141</guid>
		<description>Every user gets their own copy of the window server. So, you have to be logged in as whatever user actually shows the login window to have a chance of taking a screen shot of it. Not sure Grab.app will run as root, though, the login session may not have a full user account for running a GUI application, so this may still not work.</description>
		<content:encoded><![CDATA[<p>Every user gets their own copy of the window server. So, you have to be logged in as whatever user actually shows the login window to have a chance of taking a screen shot of it. Not sure Grab.app will run as root, though, the login session may not have a full user account for running a GUI application, so this may still not work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: john</title>
		<link>http://MacDeveloperTips.com/system/login-screenshot-challenge.html/comment-page-1#comment-139</link>
		<dc:creator>john</dc:creator>
		<pubDate>Tue, 13 May 2008 13:17:44 +0000</pubDate>
		<guid isPermaLink="false">http://MacDeveloperTips.com/system/login-screenshot-challenge.html#comment-139</guid>
		<description>Thanks for taking the time to tinker with this...it&#039;s a rather addicting problem to try and figure out :)  I&#039;m on to a few ideas that I&#039;ll share tonight/tomorrow...</description>
		<content:encoded><![CDATA[<p>Thanks for taking the time to tinker with this&#8230;it&#8217;s a rather addicting problem to try and figure out :)  I&#8217;m on to a few ideas that I&#8217;ll share tonight/tomorrow&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: al</title>
		<link>http://MacDeveloperTips.com/system/login-screenshot-challenge.html/comment-page-1#comment-138</link>
		<dc:creator>al</dc:creator>
		<pubDate>Tue, 13 May 2008 12:51:40 +0000</pubDate>
		<guid isPermaLink="false">http://MacDeveloperTips.com/system/login-screenshot-challenge.html#comment-138</guid>
		<description>I tried the ssh, logging in as my local admin account and using sudo su - to switch to root, but when I run the screencapture I get nothing but black.

I also tried both the launchd and cron and still got black... Not quite sure what&#039;s going on there.

As far as I know, the ssh should be the same as the ARD Send Unix, but the latter works and the former doesn&#039;t. Will think on it some more, try to find out what the difference is.</description>
		<content:encoded><![CDATA[<p>I tried the ssh, logging in as my local admin account and using sudo su &#8211; to switch to root, but when I run the screencapture I get nothing but black.</p>
<p>I also tried both the launchd and cron and still got black&#8230; Not quite sure what&#8217;s going on there.</p>
<p>As far as I know, the ssh should be the same as the ARD Send Unix, but the latter works and the former doesn&#8217;t. Will think on it some more, try to find out what the difference is.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: john</title>
		<link>http://MacDeveloperTips.com/system/login-screenshot-challenge.html/comment-page-1#comment-134</link>
		<dc:creator>john</dc:creator>
		<pubDate>Mon, 12 May 2008 21:16:02 +0000</pubDate>
		<guid isPermaLink="false">http://MacDeveloperTips.com/system/login-screenshot-challenge.html#comment-134</guid>
		<description>Ideally, I am looking to do this without having to use another machine (ARD or SSH). Have you tried using cron or launchd to accomplish this? The screen manager approach was close, however, the screenshot came up blank.</description>
		<content:encoded><![CDATA[<p>Ideally, I am looking to do this without having to use another machine (ARD or SSH). Have you tried using cron or launchd to accomplish this? The screen manager approach was close, however, the screenshot came up blank.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: al</title>
		<link>http://MacDeveloperTips.com/system/login-screenshot-challenge.html/comment-page-1#comment-133</link>
		<dc:creator>al</dc:creator>
		<pubDate>Mon, 12 May 2008 21:01:54 +0000</pubDate>
		<guid isPermaLink="false">http://MacDeveloperTips.com/system/login-screenshot-challenge.html#comment-133</guid>
		<description>For sure you can do this via ARD, probably via screen sharing too, though the screen shot will be captured on the machine that you are using to remote into your logged out machine from.

The ARD Send Unix command (as root) screencapture /Users/ladmin/Desktop/login.png where ladmin is my local account worked with no problem, great if you have ARD.

You can use ssh to run the same command, though you may need to use sudo, which means that you&#039;ll need an admin account to ssh into.

Finally, a cron or launchd task run as root should do it.</description>
		<content:encoded><![CDATA[<p>For sure you can do this via ARD, probably via screen sharing too, though the screen shot will be captured on the machine that you are using to remote into your logged out machine from.</p>
<p>The ARD Send Unix command (as root) screencapture /Users/ladmin/Desktop/login.png where ladmin is my local account worked with no problem, great if you have ARD.</p>
<p>You can use ssh to run the same command, though you may need to use sudo, which means that you&#8217;ll need an admin account to ssh into.</p>
<p>Finally, a cron or launchd task run as root should do it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ziizii</title>
		<link>http://MacDeveloperTips.com/system/login-screenshot-challenge.html/comment-page-1#comment-132</link>
		<dc:creator>ziizii</dc:creator>
		<pubDate>Mon, 12 May 2008 15:41:07 +0000</pubDate>
		<guid isPermaLink="false">http://MacDeveloperTips.com/system/login-screenshot-challenge.html#comment-132</guid>
		<description>2andrej: Haven&#039;t tried, but I guess cron won&#039;t work for the same reason as

&quot;screen -d -m bash -c “sleep 30; screencapture /Users/John/login.png”&quot;

didn&#039;t work. The user which is running the command doesn&#039;t have access to the active screen. Maybe it can be done with VNC (run server, then connect and use VNC client to make the screenshot)? Unfortunately, I don&#039;t have time to try that, maybe someone will take it as inspiration :)</description>
		<content:encoded><![CDATA[<p>2andrej: Haven&#8217;t tried, but I guess cron won&#8217;t work for the same reason as</p>
<p>&#8220;screen -d -m bash -c “sleep 30; screencapture /Users/John/login.png”&#8221;</p>
<p>didn&#8217;t work. The user which is running the command doesn&#8217;t have access to the active screen. Maybe it can be done with VNC (run server, then connect and use VNC client to make the screenshot)? Unfortunately, I don&#8217;t have time to try that, maybe someone will take it as inspiration :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: andrej</title>
		<link>http://MacDeveloperTips.com/system/login-screenshot-challenge.html/comment-page-1#comment-131</link>
		<dc:creator>andrej</dc:creator>
		<pubDate>Mon, 12 May 2008 13:47:03 +0000</pubDate>
		<guid isPermaLink="false">http://MacDeveloperTips.com/system/login-screenshot-challenge.html#comment-131</guid>
		<description>What about using cron?  The &#039;at&#039; command is not on my Leopard machine but that might work as well.</description>
		<content:encoded><![CDATA[<p>What about using cron?  The &#8216;at&#8217; command is not on my Leopard machine but that might work as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brent Faulkner</title>
		<link>http://MacDeveloperTips.com/system/login-screenshot-challenge.html/comment-page-1#comment-130</link>
		<dc:creator>Brent Faulkner</dc:creator>
		<pubDate>Mon, 12 May 2008 11:10:16 +0000</pubDate>
		<guid isPermaLink="false">http://MacDeveloperTips.com/system/login-screenshot-challenge.html#comment-130</guid>
		<description>You can probably do it using Timbuktu</description>
		<content:encoded><![CDATA[<p>You can probably do it using Timbuktu</p>
]]></content:encoded>
	</item>
</channel>
</rss>
