<?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: Running Selenium Headless</title>
	<atom:link href="http://www.alittlemadness.com/2008/03/05/running-selenium-headless/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.alittlemadness.com/2008/03/05/running-selenium-headless/</link>
	<description>A man needs a little madness, or else he never dares cut the rope and be free. -Nikos Kazantzakis</description>
	<lastBuildDate>Wed, 10 Mar 2010 09:45:50 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Martin Dale Lyness</title>
		<link>http://www.alittlemadness.com/2008/03/05/running-selenium-headless/comment-page-1/#comment-201365</link>
		<dc:creator>Martin Dale Lyness</dc:creator>
		<pubDate>Mon, 11 Jan 2010 22:04:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.alittlemadness.com/2008/03/05/running-selenium-headless/#comment-201365</guid>
		<description>This was the first thing i looked at when I searched google for setting up my selenium tests on my fresh Ubuntu 9.10 server. I learned there is an issue with the default install for the new Ubuntu release.

In case anyone else has issues with the Ubuntu 9.10 Xvfb package I&#039;ve uploaded the 4 step fix I discovered, after a few hours of Googling, to my blog: http://blog.martin-lyness.com/archives/installing-xvfb-on-ubuntu-9-10-karmic-koala</description>
		<content:encoded><![CDATA[<p>This was the first thing i looked at when I searched google for setting up my selenium tests on my fresh Ubuntu 9.10 server. I learned there is an issue with the default install for the new Ubuntu release.</p>
<p>In case anyone else has issues with the Ubuntu 9.10 Xvfb package I&#8217;ve uploaded the 4 step fix I discovered, after a few hours of Googling, to my blog: <a href="http://blog.martin-lyness.com/archives/installing-xvfb-on-ubuntu-9-10-karmic-koala" rel="nofollow">http://blog.martin-lyness.com/archives/installing-xvfb-on-ubuntu-9-10-karmic-koala</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: A Curious Use For Selenium &#8211; Slideshows &#124; Kevin W. Gisi</title>
		<link>http://www.alittlemadness.com/2008/03/05/running-selenium-headless/comment-page-1/#comment-193031</link>
		<dc:creator>A Curious Use For Selenium &#8211; Slideshows &#124; Kevin W. Gisi</dc:creator>
		<pubDate>Thu, 12 Nov 2009 17:38:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.alittlemadness.com/2008/03/05/running-selenium-headless/#comment-193031</guid>
		<description>[...] screenshots), set up the X virtual frame buffer out on my server (big thanks to this tutorial: Running Selenium Headless), and boom! Now, I&#8217;ve got PNG images of every slide in the deck, ready and available. Throw [...]</description>
		<content:encoded><![CDATA[<p>[...] screenshots), set up the X virtual frame buffer out on my server (big thanks to this tutorial: Running Selenium Headless), and boom! Now, I&#8217;ve got PNG images of every slide in the deck, ready and available. Throw [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew Hager</title>
		<link>http://www.alittlemadness.com/2008/03/05/running-selenium-headless/comment-page-1/#comment-182451</link>
		<dc:creator>Matthew Hager</dc:creator>
		<pubDate>Thu, 20 Aug 2009 04:36:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.alittlemadness.com/2008/03/05/running-selenium-headless/#comment-182451</guid>
		<description>If you are getting garbage screenshots try starting Xvfb like this: Xvfb :99 -screen 0 1024x768x24 -noreset &amp;</description>
		<content:encoded><![CDATA[<p>If you are getting garbage screenshots try starting Xvfb like this: Xvfb :99 -screen 0 1024&#215;768x24 -noreset &amp;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Prashant Shah</title>
		<link>http://www.alittlemadness.com/2008/03/05/running-selenium-headless/comment-page-1/#comment-176039</link>
		<dc:creator>Prashant Shah</dc:creator>
		<pubDate>Tue, 23 Jun 2009 11:41:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.alittlemadness.com/2008/03/05/running-selenium-headless/#comment-176039</guid>
		<description>I opened the .png in an image viewver and I don&#039;t see the google webpage for which I made a request. 

I could sent you the png via email if required. I am not sure what is that I am doing wrong....

$DISPLAY=:99 firefox http://www.google.com

The cursor never came back after I entered this command on the shell. Is firefox running and has it successfully launched google webpage?</description>
		<content:encoded><![CDATA[<p>I opened the .png in an image viewver and I don&#8217;t see the google webpage for which I made a request. </p>
<p>I could sent you the png via email if required. I am not sure what is that I am doing wrong&#8230;.</p>
<p>$DISPLAY=:99 firefox <a href="http://www.google.com" rel="nofollow">http://www.google.com</a></p>
<p>The cursor never came back after I entered this command on the shell. Is firefox running and has it successfully launched google webpage?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason</title>
		<link>http://www.alittlemadness.com/2008/03/05/running-selenium-headless/comment-page-1/#comment-176013</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Tue, 23 Jun 2009 07:43:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.alittlemadness.com/2008/03/05/running-selenium-headless/#comment-176013</guid>
		<description>Hi Prashant,

The .png file is an image.  You need to open it in an image viewer.  Also, please don&#039;t dump huge binary files in comments (I will delete the existing one).</description>
		<content:encoded><![CDATA[<p>Hi Prashant,</p>
<p>The .png file is an image.  You need to open it in an image viewer.  Also, please don&#8217;t dump huge binary files in comments (I will delete the existing one).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Prashant Shah</title>
		<link>http://www.alittlemadness.com/2008/03/05/running-selenium-headless/comment-page-1/#comment-176011</link>
		<dc:creator>Prashant Shah</dc:creator>
		<pubDate>Tue, 23 Jun 2009 07:34:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.alittlemadness.com/2008/03/05/running-selenium-headless/#comment-176011</guid>
		<description>Hi Jason,

I tried the below mentioned commands and got the screenshot.png file which is not human readable. It has bunch of encoding stuff I believe. I also tried opening google homepage  as:

$DISPLAY=:99 firefox http://www.google.com 

The cursor never came back after I entered this command on the shell. Is firefox running and has it successfully launched google webpage? Then I said:

$import -window root screenshot.png and fedora created the png file in the root folder. Although when I open it I don&#039;t see Google webpage being launched...?

Please help</description>
		<content:encoded><![CDATA[<p>Hi Jason,</p>
<p>I tried the below mentioned commands and got the screenshot.png file which is not human readable. It has bunch of encoding stuff I believe. I also tried opening google homepage  as:</p>
<p>$DISPLAY=:99 firefox <a href="http://www.google.com" rel="nofollow">http://www.google.com</a> </p>
<p>The cursor never came back after I entered this command on the shell. Is firefox running and has it successfully launched google webpage? Then I said:</p>
<p>$import -window root screenshot.png and fedora created the png file in the root folder. Although when I open it I don&#8217;t see Google webpage being launched&#8230;?</p>
<p>Please help</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason</title>
		<link>http://www.alittlemadness.com/2008/03/05/running-selenium-headless/comment-page-1/#comment-175930</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Mon, 22 Jun 2009 17:51:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.alittlemadness.com/2008/03/05/running-selenium-headless/#comment-175930</guid>
		<description>Hi Prashant,

It may be that Xvfb is working despite this error.  Did you try running something graphical after exporting your DISPLAY?  If you try, say, an xterm, and it runs OK, then things are probably working.  You can also take a screenshot of that display to check how things are looking.  An easy way is with the import tool from ImageMagick:

$ sudo yum install ImageMagick
...
$ Xvfb :99 -ac &amp;
$ export DISPLAY=:99
$ xterm &amp;
# Pause for a few moments
$ import -window root screenshot.png

Then open screenshot.png and see if your xterm is running.</description>
		<content:encoded><![CDATA[<p>Hi Prashant,</p>
<p>It may be that Xvfb is working despite this error.  Did you try running something graphical after exporting your DISPLAY?  If you try, say, an xterm, and it runs OK, then things are probably working.  You can also take a screenshot of that display to check how things are looking.  An easy way is with the import tool from ImageMagick:</p>
<p>$ sudo yum install ImageMagick<br />
&#8230;<br />
$ Xvfb :99 -ac &#038;<br />
$ export DISPLAY=:99<br />
$ xterm &#038;<br />
# Pause for a few moments<br />
$ import -window root screenshot.png</p>
<p>Then open screenshot.png and see if your xterm is running.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Prashant Shah</title>
		<link>http://www.alittlemadness.com/2008/03/05/running-selenium-headless/comment-page-1/#comment-175887</link>
		<dc:creator>Prashant Shah</dc:creator>
		<pubDate>Mon, 22 Jun 2009 08:03:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.alittlemadness.com/2008/03/05/running-selenium-headless/#comment-175887</guid>
		<description>I am getting an exception from Fedora after installing Xvfb. It states (error opening security policy file /usr/lib/xserver/SecurityPolicy) on typing the command Xvfb :99 -ac. Any idea how I can fix this error?</description>
		<content:encoded><![CDATA[<p>I am getting an exception from Fedora after installing Xvfb. It states (error opening security policy file /usr/lib/xserver/SecurityPolicy) on typing the command Xvfb :99 -ac. Any idea how I can fix this error?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: songkai</title>
		<link>http://www.alittlemadness.com/2008/03/05/running-selenium-headless/comment-page-1/#comment-164257</link>
		<dc:creator>songkai</dc:creator>
		<pubDate>Thu, 16 Apr 2009 10:27:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.alittlemadness.com/2008/03/05/running-selenium-headless/#comment-164257</guid>
		<description>How come I always get the below error:

Could not init font path element /usr/share/fonts/X11/cyrillic, removing from list!
Could not init font path element /usr/share/fonts/X11/Type1, removing from list!
Could not init font path element /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType, removing from list!

 I already install  xfonts-base xfonts-75dpi xfonts-100dpi</description>
		<content:encoded><![CDATA[<p>How come I always get the below error:</p>
<p>Could not init font path element /usr/share/fonts/X11/cyrillic, removing from list!<br />
Could not init font path element /usr/share/fonts/X11/Type1, removing from list!<br />
Could not init font path element /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType, removing from list!</p>
<p> I already install  xfonts-base xfonts-75dpi xfonts-100dpi</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ankit</title>
		<link>http://www.alittlemadness.com/2008/03/05/running-selenium-headless/comment-page-1/#comment-131622</link>
		<dc:creator>Ankit</dc:creator>
		<pubDate>Fri, 07 Nov 2008 06:31:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.alittlemadness.com/2008/03/05/running-selenium-headless/#comment-131622</guid>
		<description>hi,
It was really helpful post. Keep it up. But one thing I like to tell that DISPLAY=:99 does not work for tty terminal. As I want use so coz I want test this on server which has no X server running. Then What to do???
I found one solution net which we can get screenshot using TTY terminal. I modified the script according to my need. Hope, you guys may find it helpful.

http://translate.google.co.in/translate?hl=en&amp;sl=de&amp;u=http://www.linuxwiki.de/BildschirmFoto&amp;sa=X&amp;oi=translate&amp;resnum=9&amp;ct=result&amp;prev=/search%3Fq%3Dxvfb%2Bscreen%2Bshot%2Busing%2Btty%2Bterminal%26hl%3Den%26client%3Dfirefox-a%26rls%3Dcom.ubuntu:en-US:unofficial%26hs%3Dyzh%26sa%3DG

If have any more Query, then feel free to contact. Catch me on,
ankitsingh.05@gmail.com

Cheers,</description>
		<content:encoded><![CDATA[<p>hi,<br />
It was really helpful post. Keep it up. But one thing I like to tell that DISPLAY=:99 does not work for tty terminal. As I want use so coz I want test this on server which has no X server running. Then What to do???<br />
I found one solution net which we can get screenshot using TTY terminal. I modified the script according to my need. Hope, you guys may find it helpful.</p>
<p><a href="http://translate.google.co.in/translate?hl=en&amp;sl=de&amp;u=http://www.linuxwiki.de/BildschirmFoto&amp;sa=X&amp;oi=translate&amp;resnum=9&amp;ct=result&amp;prev=/search%3Fq%3Dxvfb%2Bscreen%2Bshot%2Busing%2Btty%2Bterminal%26hl%3Den%26client%3Dfirefox-a%26rls%3Dcom.ubuntu:en-US:unofficial%26hs%3Dyzh%26sa%3DG" rel="nofollow">http://translate.google.co.in/translate?hl=en&amp;sl=de&amp;u=http://www.linuxwiki.de/BildschirmFoto&amp;sa=X&amp;oi=translate&amp;resnum=9&amp;ct=result&amp;prev=/search%3Fq%3Dxvfb%2Bscreen%2Bshot%2Busing%2Btty%2Bterminal%26hl%3Den%26client%3Dfirefox-a%26rls%3Dcom.ubuntu:en-US:unofficial%26hs%3Dyzh%26sa%3DG</a></p>
<p>If have any more Query, then feel free to contact. Catch me on,<br />
<a href="mailto:ankitsingh.05@gmail.com">ankitsingh.05@gmail.com</a></p>
<p>Cheers,</p>
]]></content:encoded>
	</item>
</channel>
</rss>
