<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Once Upon a Problem</title>
	<atom:link href="http://onceuponaproblem.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://onceuponaproblem.wordpress.com</link>
	<description>Bid one farewell and welcome the next</description>
	<lastBuildDate>Sat, 16 Jul 2011 13:55:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='onceuponaproblem.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Once Upon a Problem</title>
		<link>http://onceuponaproblem.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://onceuponaproblem.wordpress.com/osd.xml" title="Once Upon a Problem" />
	<atom:link rel='hub' href='http://onceuponaproblem.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Video playback issues with Ubuntu 11.04 and Radeon HD 4870 card</title>
		<link>http://onceuponaproblem.wordpress.com/2011/07/16/video-playback-issues-with-ubuntu-11-04-and-radeon-hd-4870-card/</link>
		<comments>http://onceuponaproblem.wordpress.com/2011/07/16/video-playback-issues-with-ubuntu-11-04-and-radeon-hd-4870-card/#comments</comments>
		<pubDate>Sat, 16 Jul 2011 13:54:57 +0000</pubDate>
		<dc:creator>onceuponaproblem</dc:creator>
				<category><![CDATA[Ubuntu 11.04]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[X Windows]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[ubuntu 11.04]]></category>
		<category><![CDATA[radeon]]></category>
		<category><![CDATA[gnome classic]]></category>
		<category><![CDATA[mplayer]]></category>
		<category><![CDATA[hd 4870]]></category>

		<guid isPermaLink="false">http://onceuponaproblem.wordpress.com/?p=58</guid>
		<description><![CDATA[Long time since I posted last, I guess as I come across many Linux problems just like I did with Windows (now I use Ubuntu Server for my desktop machine), its worth getting back into this. Note that Word Press&#8217; Javascript &#8216;insert link&#8217; functionality is broken so all links will be in text. I delayed [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=onceuponaproblem.wordpress.com&amp;blog=8477165&amp;post=58&amp;subd=onceuponaproblem&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Long time since I posted last, I guess as I come across many Linux problems just like I did with Windows (now I use Ubuntu Server for my desktop machine), its worth getting back into this. Note that Word Press&#8217; Javascript &#8216;insert link&#8217; functionality is broken so all links will be in text.</p>
<p>I delayed installing 11.04 for some time due to bugs with kernel power management and the GNOME classic desktop, but this week I finally decided it was time to upgrade.</p>
<p>After fixing the usual minor breakage from the upgrade, one thing became apparent &#8211; video playback was fucked using the free software radeon driver. Since practically everything revolves around watching anime  on this machine, that was completely unacceptable. Tearing and stuttering was obvious during pans (mplayer wasnt complaining that the cpu was too slow etc, and since I started in 9.04 video playback has been fine), making anime unwatchable.</p>
<p>Long story short, I read up on Phoronix (http://www.phoronix.com/scan.php?page=article&amp;item=amd_r600g_june10&amp;num=1) to get some familiarity with the current state of X windows rendering and did some work on how to test X configurations without logging out of your main session (which is unacceptable as this machine is essentially a server running some gui apps).</p>
<p>It turns out that the &#8216;Switch Users&#8217; feature actually allows you to spawn multiple sessions of X running under different users &#8211; and when you login as a new user, of course the new X session&#8217;s configuration is generated/read in without affecting your normal X session. With this and after reading the radeon manpage, I was able to create the following &#8216;/etc/X11/xorg.conf&#8217;:</p>
<blockquote><p>Section &#8220;Device&#8221;<br />
Identifier &#8220;devname&#8221;<br />
Driver &#8220;radeon&#8221;<br />
Option &#8220;SwapbuffersWait&#8221; &#8220;off&#8221;<br />
Option &#8220;ColorTiling&#8221; &#8220;on&#8221;<br />
Option &#8220;EXAVSync&#8221; &#8220;on&#8221;<br />
EndSection</p></blockquote>
<p>SwapbuffersWait and ColorTiling are set as Phoronix said they would make 3D things faster (Minecraft is still shockingly slow &#8211; 9-15fps &#8211; so I havent really seen that), <strong>however the important option is EXAVSync</strong>.</p>
<p>This has stopped tearing in video playback, <strong>however I still get nasty judders visible during pans</strong>. Testing on a separate X instance showed that with the above settings, playback was almost perfect &#8211; so I assume that my normal 2D desktop session is too much for radeon to cope with any more (&#8230;).</p>
<p>At least I can switch over to a separate user to watch videos with this, I&#8217;d rather stick to free software and not use the proprietary driver.</p>
<p>If anyone has ideas of how to fight this issue further, I&#8217;m all ears (enabling the xorg-edgers PPA with the above xorg.conf actually lead to performance worse than the stock 11.04 configuration, which worries me greatly for the future).</p>
<br />Filed under: <a href='http://onceuponaproblem.wordpress.com/category/ubuntu-11-04/'>Ubuntu 11.04</a> Tagged: <a href='http://onceuponaproblem.wordpress.com/tag/gnome-classic/'>gnome classic</a>, <a href='http://onceuponaproblem.wordpress.com/tag/hd-4870/'>hd 4870</a>, <a href='http://onceuponaproblem.wordpress.com/tag/linux/'>Linux</a>, <a href='http://onceuponaproblem.wordpress.com/tag/mplayer/'>mplayer</a>, <a href='http://onceuponaproblem.wordpress.com/tag/radeon/'>radeon</a>, <a href='http://onceuponaproblem.wordpress.com/tag/ubuntu/'>ubuntu</a>, <a href='http://onceuponaproblem.wordpress.com/tag/ubuntu-11-04-2/'>ubuntu 11.04</a>, <a href='http://onceuponaproblem.wordpress.com/tag/x-windows/'>X Windows</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/onceuponaproblem.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/onceuponaproblem.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/onceuponaproblem.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/onceuponaproblem.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/onceuponaproblem.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/onceuponaproblem.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/onceuponaproblem.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/onceuponaproblem.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/onceuponaproblem.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/onceuponaproblem.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/onceuponaproblem.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/onceuponaproblem.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/onceuponaproblem.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/onceuponaproblem.wordpress.com/58/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=onceuponaproblem.wordpress.com&amp;blog=8477165&amp;post=58&amp;subd=onceuponaproblem&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://onceuponaproblem.wordpress.com/2011/07/16/video-playback-issues-with-ubuntu-11-04-and-radeon-hd-4870-card/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">onceuponaproblem</media:title>
		</media:content>
	</item>
		<item>
		<title>Maintaining Folder Display Options In Explorer</title>
		<link>http://onceuponaproblem.wordpress.com/2009/11/07/maintaining-folder-display-options-in-explorer/</link>
		<comments>http://onceuponaproblem.wordpress.com/2009/11/07/maintaining-folder-display-options-in-explorer/#comments</comments>
		<pubDate>Sat, 07 Nov 2009 22:31:02 +0000</pubDate>
		<dc:creator>onceuponaproblem</dc:creator>
				<category><![CDATA[Windows XP]]></category>

		<guid isPermaLink="false">http://onceuponaproblem.wordpress.com/?p=54</guid>
		<description><![CDATA[Just written up another longstanding problem I&#8217;ve had &#8211; failure of Explorer to maintain the sort preferences of a folder, even though its told to do this (kept setting sort by Name in my case when it should be by Modified): When Tools -&#62; Folder Options -&#62; View tab -&#62; Advanced settings: Remember each folder&#8217;s [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=onceuponaproblem.wordpress.com&amp;blog=8477165&amp;post=54&amp;subd=onceuponaproblem&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Just written up another longstanding problem I&#8217;ve had &#8211; failure of Explorer to maintain the sort preferences of a folder, even though its told to do this (kept setting sort by Name in my case when it should be by Modified):</p>
<p>When Tools -&gt; Folder Options -&gt; View tab -&gt; Advanced settings: Remember each folder&#8217;s view settings is enabled, Explorer saves folder display options (the View setting, sort option etc) in &#8216;ShellBag&#8217; entries in the registry, see &#8216;HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\Bags&#8217; and &#8216;HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Bags&#8217;. There is a maximum number of folders that can have these settings saved for, and this is located at &#8216;HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\BagMRU Size&#8217; &#8211; this defaults to 5,000 in Windows XP SP2 (remember to edit it as a Decimal value).</p>
<p><a title="NirSoft" href="http://www.nirsoft.net/" target="_blank">NirSoft</a> has a useful tool that allows you to see all of the ShellBags currently defined, including their actual path and the ability to hop directly to the associated registry values, called <a title="ShellBags View" href="http://www.nirsoft.net/utils/shell_bags_view.html" target="_blank">ShellBagsView</a>. Find the folder you are interested in and hop to the registry &#8211; the sort method defined for the folder is maintained in the &#8216;Sort&#8217; key, which can take the following values:</p>
<p>0:	Sort by name<br />
1:	Sort by size<br />
2:	Sort by type<br />
3:	Sort by modified</p>
<p>Hopefully this will get Explorer to behave.</p>
<br />Posted in Windows XP  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/onceuponaproblem.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/onceuponaproblem.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/onceuponaproblem.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/onceuponaproblem.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/onceuponaproblem.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/onceuponaproblem.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/onceuponaproblem.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/onceuponaproblem.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/onceuponaproblem.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/onceuponaproblem.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/onceuponaproblem.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/onceuponaproblem.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/onceuponaproblem.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/onceuponaproblem.wordpress.com/54/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=onceuponaproblem.wordpress.com&amp;blog=8477165&amp;post=54&amp;subd=onceuponaproblem&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://onceuponaproblem.wordpress.com/2009/11/07/maintaining-folder-display-options-in-explorer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">onceuponaproblem</media:title>
		</media:content>
	</item>
		<item>
		<title>Windows Time Failure</title>
		<link>http://onceuponaproblem.wordpress.com/2009/11/07/windows-time-failure/</link>
		<comments>http://onceuponaproblem.wordpress.com/2009/11/07/windows-time-failure/#comments</comments>
		<pubDate>Sat, 07 Nov 2009 22:22:04 +0000</pubDate>
		<dc:creator>onceuponaproblem</dc:creator>
				<category><![CDATA[Windows XP]]></category>

		<guid isPermaLink="false">http://onceuponaproblem.wordpress.com/?p=48</guid>
		<description><![CDATA[For some time now, Windows has failed miserably to keep the time accurate on my main machine. After researching into NTP and ensuring UDP traffic to port 123 for svchost.exe was allowed through Sunbelt Personal Firewall a few years ago, I expected the problem to be solved. However, this didn&#8217;t do the trick &#8211; Windows [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=onceuponaproblem.wordpress.com&amp;blog=8477165&amp;post=48&amp;subd=onceuponaproblem&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>For some time now, Windows has failed miserably to keep the time accurate on my main machine. After researching into NTP and ensuring UDP traffic to port 123 for svchost.exe was allowed through Sunbelt Personal Firewall a few years ago, I expected the problem to be solved.</p>
<p>However, this didn&#8217;t do the trick &#8211; Windows still managed to be ~2 minutes slow even after a successful update the prior day duing testing, which is completely unacceptable (its my main time source for catching the bus in the morning).</p>
<p>The lastest attack on this issue revolves around a recent discovery of Windows Time settings in Group Policy:</p>
<p>1. Run gpedit.msc (Group Policy Editing MMC snap-in).<br />
2. Local Computer Policy -&gt; Computer Configuration -&gt; Administrative Templates -&gt; System -&gt; Windows Time Service -&gt; Time Providers:<br />
Enable Windows NTP Client: Enabled.<br />
Configure Windows NTP Client: Enabled.<br />
Type: NTP (NT5DS means that the client attempts to synch with a Domain Controller&#8217;s time service, which doesn&#8217;t exist on my network).<br />
Special Poll Interval (the setting to determine update frequency): 3600 (seconds, hourly).<br />
EventLogFlags: 1 (log time jump changes &#8211; this should give me a proper audit record if the NTP client is doing its job).</p>
<p>See <a title="Technet" href="http://technet.microsoft.com/en-us/library/cc773263(WS.10).aspx" target="_blank">Windows Time Service Tools and Settings, search for Group Policy</a> &#8211; provides some documentation on these settings and their associated registry keys.</p>
<p>After making the changes, the Internet Time tab of Date and Time Properties correctly acknowledged that time is synched hourly, so I have my hopes up (I think the default is weekly).</p>
<br />Posted in Windows XP  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/onceuponaproblem.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/onceuponaproblem.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/onceuponaproblem.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/onceuponaproblem.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/onceuponaproblem.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/onceuponaproblem.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/onceuponaproblem.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/onceuponaproblem.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/onceuponaproblem.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/onceuponaproblem.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/onceuponaproblem.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/onceuponaproblem.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/onceuponaproblem.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/onceuponaproblem.wordpress.com/48/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=onceuponaproblem.wordpress.com&amp;blog=8477165&amp;post=48&amp;subd=onceuponaproblem&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://onceuponaproblem.wordpress.com/2009/11/07/windows-time-failure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">onceuponaproblem</media:title>
		</media:content>
	</item>
		<item>
		<title>New Fork Of Peer Guardian 2: PeerBlock</title>
		<link>http://onceuponaproblem.wordpress.com/2009/10/03/new-fork-of-peer-guardian-2-peerblock/</link>
		<comments>http://onceuponaproblem.wordpress.com/2009/10/03/new-fork-of-peer-guardian-2-peerblock/#comments</comments>
		<pubDate>Sat, 03 Oct 2009 16:41:38 +0000</pubDate>
		<dc:creator>onceuponaproblem</dc:creator>
				<category><![CDATA[Windows Server 2003]]></category>
		<category><![CDATA[Windows XP]]></category>
		<category><![CDATA[Peer Guardian 2]]></category>
		<category><![CDATA[PeerBlock]]></category>

		<guid isPermaLink="false">http://onceuponaproblem.wordpress.com/?p=45</guid>
		<description><![CDATA[Peer Guardian 2 has long since screwed up on my machines. Years ago it worked perfectly, but at some point various problems appeared like blocking 0 IP addresses for no reason (presumably mass corruption while downloading of all lists it was supposed to manage), random GPFs and then in recent years not spawning a window [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=onceuponaproblem.wordpress.com&amp;blog=8477165&amp;post=45&amp;subd=onceuponaproblem&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a title="Peer Guardian 2" href="http://phoenixlabs.org/pg2/" target="_blank">Peer Guardian 2</a> has long since screwed up on my machines. Years ago it worked perfectly, but at some point various problems appeared like blocking 0 IP addresses for no reason (presumably mass corruption while downloading of all lists it was supposed to manage), random GPFs and then in recent years not spawning a window or systray icon (literally a windowless-process) meaning I have no idea if it is working or not.</p>
<p><span id="more-45"></span></p>
<p>I tried the RCs etc, but still the instability and bugs made it unviable. I was planning to look into uTorrent&#8217;s built-in functionality to filter based on IP addresses as a second-best alternative, but haven&#8217;t got round to it yet.</p>
<p>Thankfully, some kind people have forked Peer Guardian 2, creating <a title="PeerBlock" href="http://www.peerblock.com/" target="_blank">PeerBlock!</a> (found via the <a title="Phoenix Labs RSS Feed" href="http://phoenixlabs.org/feed/" target="_blank">Phoenix Labs RSS feed</a>). So far this has successfully installed on all of my machines, and I hope it will continue behave itself and be worthy of standard install status like Peer Guardian 2 used to be.</p>
<br />Posted in Windows Server 2003, Windows XP Tagged: Peer Guardian 2, PeerBlock, Windows Server 2003, Windows XP <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/onceuponaproblem.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/onceuponaproblem.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/onceuponaproblem.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/onceuponaproblem.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/onceuponaproblem.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/onceuponaproblem.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/onceuponaproblem.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/onceuponaproblem.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/onceuponaproblem.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/onceuponaproblem.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/onceuponaproblem.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/onceuponaproblem.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/onceuponaproblem.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/onceuponaproblem.wordpress.com/45/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=onceuponaproblem.wordpress.com&amp;blog=8477165&amp;post=45&amp;subd=onceuponaproblem&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://onceuponaproblem.wordpress.com/2009/10/03/new-fork-of-peer-guardian-2-peerblock/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">onceuponaproblem</media:title>
		</media:content>
	</item>
		<item>
		<title>Windows Server 2003 &#8211; Unable to run sc.exe?</title>
		<link>http://onceuponaproblem.wordpress.com/2009/09/05/windows-server-2003-unable-to-run-sc-exe/</link>
		<comments>http://onceuponaproblem.wordpress.com/2009/09/05/windows-server-2003-unable-to-run-sc-exe/#comments</comments>
		<pubDate>Sat, 05 Sep 2009 20:12:35 +0000</pubDate>
		<dc:creator>onceuponaproblem</dc:creator>
				<category><![CDATA[Windows Server 2003]]></category>
		<category><![CDATA[Everything]]></category>
		<category><![CDATA[KB956572]]></category>
		<category><![CDATA[Process Monitor]]></category>
		<category><![CDATA[sc won't run]]></category>
		<category><![CDATA[sc.exe]]></category>
		<category><![CDATA[Service Control Manager]]></category>
		<category><![CDATA[w03a3409.dll]]></category>

		<guid isPermaLink="false">http://onceuponaproblem.wordpress.com/?p=41</guid>
		<description><![CDATA[Recently at work, I&#8217;ve had the pleasure of being allowed to mess around with a spare Windows Server 2003 R2 machine. Its much faster compared to similar hardware running XP, so so far its been a joy to use. However, as usual, it brings its own problems&#8230; When I wanted to enumerate internal Windows services [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=onceuponaproblem.wordpress.com&amp;blog=8477165&amp;post=41&amp;subd=onceuponaproblem&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">Recently at work, I&#8217;ve had the pleasure of being allowed to mess around with a spare Windows Server 2003 R2 machine. Its much faster compared to similar hardware running XP, so so far its been a joy to use.</p>
<p style="text-align:justify;">However, as usual, it brings its own problems&#8230;</p>
<p style="text-align:justify;">When I wanted to enumerate internal Windows services with <a title="SC.exe Windows XP Documentation" href="http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/sc.mspx?mfr=true" target="_blank">sc.exe</a> (a commandline program that allows you to create, delete, list etc services), it failed to run. WTF?</p>
<p style="text-align:justify;">In fact, it did execute, but promptly terminated itself. Running the exe on another machine worked, and XP&#8217;s sc.exe worked on the Server 2003 machine as well. So why would this fail?</p>
<p style="text-align:justify;"><a title="Process Monitor" href="http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx" target="_blank">Process Monitor</a> showed that sc was searching for  w03a3409.dll in various <a title="PATH" href="http://en.wikipedia.org/wiki/PATH_(variable)" target="_blank">PATH</a> places, but not finding anything. <a title="Everything" href="http://www.voidtools.com/" target="_blank">Everything</a> (a fantastic file indexer and instant search tool) confirmed that this dll didn&#8217;t exist. Searching through the registry however showed it was associated with two hotfixes:</p>
<p style="text-align:justify;">HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Updates\Windows Server 2003\SP3\KB923561</p>
<p style="text-align:justify;">HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Updates\Windows Server 2003\SP3\KB956572</p>
<p style="text-align:justify;">The <a title="KB956572" href="http://support.microsoft.com/kb/956572" target="_blank">latter</a> was key &#8211; it talked about sc.exe in one of the FAQ answers. I tracked down the installer through Microsoft Download Center (thanks for not directly linking to the installer in the article Microsoft) and installed it on the server (why didn&#8217;t it complain that the hotfix had been installed before?).</p>
<p style="text-align:justify;">Low and behold, even before restarting the machine as it requested, sc suddenly worked. Presumably this is another M$ fuckup then&#8230; Both before and after this issue, the machine checked out as being completely uptodate according to Microsoft Update.</p>
<br />Posted in Windows Server 2003 Tagged: Everything, KB956572, Process Monitor, sc won't run, sc.exe, Service Control Manager, w03a3409.dll, Windows Server 2003 <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/onceuponaproblem.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/onceuponaproblem.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/onceuponaproblem.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/onceuponaproblem.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/onceuponaproblem.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/onceuponaproblem.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/onceuponaproblem.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/onceuponaproblem.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/onceuponaproblem.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/onceuponaproblem.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/onceuponaproblem.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/onceuponaproblem.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/onceuponaproblem.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/onceuponaproblem.wordpress.com/41/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=onceuponaproblem.wordpress.com&amp;blog=8477165&amp;post=41&amp;subd=onceuponaproblem&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://onceuponaproblem.wordpress.com/2009/09/05/windows-server-2003-unable-to-run-sc-exe/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">onceuponaproblem</media:title>
		</media:content>
	</item>
		<item>
		<title>Secondary Machine PSU Failure, Then Mobo Failure</title>
		<link>http://onceuponaproblem.wordpress.com/2009/07/22/secondary-machine-psu-failure-then-mobo-failure/</link>
		<comments>http://onceuponaproblem.wordpress.com/2009/07/22/secondary-machine-psu-failure-then-mobo-failure/#comments</comments>
		<pubDate>Wed, 22 Jul 2009 20:02:20 +0000</pubDate>
		<dc:creator>onceuponaproblem</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Antec PSU]]></category>
		<category><![CDATA[Capacitor Plague]]></category>
		<category><![CDATA[FSP Group PSU]]></category>
		<category><![CDATA[leaky capacitors]]></category>
		<category><![CDATA[motherboard failure]]></category>
		<category><![CDATA[MSI motherboard]]></category>
		<category><![CDATA[PSU failure]]></category>

		<guid isPermaLink="false">http://onceuponaproblem.wordpress.com/?p=36</guid>
		<description><![CDATA[As usual, I try to concentrate on one area of work, and something else catastrophically fails and forces my attention to shift to it. This time my secondary machine died &#8211; I host my database server, wiki and issue tracker on it (and I use the latter two a lot to record issues and try [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=onceuponaproblem.wordpress.com&amp;blog=8477165&amp;post=36&amp;subd=onceuponaproblem&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">As usual, I try to concentrate on one area of work, and something else catastrophically fails and forces my attention to shift to it.</p>
<p style="text-align:justify;">This time my secondary machine died &#8211; I host my database server, wiki and issue tracker on it (and I use the latter two a lot to record issues and try to record and keep progress permanent).</p>
<p style="text-align:justify;">First, the PSU started to whine &#8211; prolonged bouts of  a very high pitch tone, just loud enough to hear even with ear defenders. I remembered this had happened in the past, so I put up with it for a while&#8230; except this time it didn&#8217;t go away. I finally decided to turn the machine off for 5 minutes to give it a &#8216;rest&#8217; (which means its failed its job of being a permanently-up server), however the POS didn&#8217;t turn back on again.</p>
<p style="text-align:justify;">I swapped out the shitty FSP Group PSU for a spare Antec and tried to start the machine up &#8211; but no luck, except for one instance where I quickly managed to create fresh images of the drive partitions. Further tests after that failed.</p>
<p style="text-align:justify;">Inspection of the motherboard revealed I had a few leaky capacitors &#8211; so presumably it had been afflicted with the <a title="Capacitor Plague" href="http://en.wikipedia.org/wiki/Capacitor_plague" target="_blank">Capacitor Plague</a>, which does fit given that it is a 2002-3 era machine. Two more additions to the shitlist in the same day then (FSP for PSUs, MSI for motherboards).</p>
<br />Posted in Hardware Tagged: Antec PSU, Capacitor Plague, FSP Group PSU, leaky capacitors, motherboard failure, MSI motherboard, PSU failure <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/onceuponaproblem.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/onceuponaproblem.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/onceuponaproblem.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/onceuponaproblem.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/onceuponaproblem.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/onceuponaproblem.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/onceuponaproblem.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/onceuponaproblem.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/onceuponaproblem.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/onceuponaproblem.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/onceuponaproblem.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/onceuponaproblem.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/onceuponaproblem.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/onceuponaproblem.wordpress.com/36/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=onceuponaproblem.wordpress.com&amp;blog=8477165&amp;post=36&amp;subd=onceuponaproblem&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://onceuponaproblem.wordpress.com/2009/07/22/secondary-machine-psu-failure-then-mobo-failure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">onceuponaproblem</media:title>
		</media:content>
	</item>
		<item>
		<title>Random Application Event Log Corruption On Windows XP Home Machine</title>
		<link>http://onceuponaproblem.wordpress.com/2009/07/10/random-application-event-log-corruption-on-windows-xp-home-machine/</link>
		<comments>http://onceuponaproblem.wordpress.com/2009/07/10/random-application-event-log-corruption-on-windows-xp-home-machine/#comments</comments>
		<pubDate>Fri, 10 Jul 2009 15:07:51 +0000</pubDate>
		<dc:creator>onceuponaproblem</dc:creator>
				<category><![CDATA[Windows XP]]></category>
		<category><![CDATA[Application Event Log]]></category>
		<category><![CDATA[Event Log corruption]]></category>
		<category><![CDATA[Kiwi Syslog Daemon]]></category>
		<category><![CDATA[SNARE]]></category>
		<category><![CDATA[Windows XP Home]]></category>

		<guid isPermaLink="false">http://onceuponaproblem.wordpress.com/?p=30</guid>
		<description><![CDATA[This is a good example of a nice typical random issue that happens to me. Seems last night the Application Event Log decided to corrupt itself on my secondary machine: Windows systray popup detected: System Event Log ================ Type: Information. Timestamp: Fri Jul 10 00:12:05 2009. Event: 0. Source: Application. Category: Event Log Corruption. User: [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=onceuponaproblem.wordpress.com&amp;blog=8477165&amp;post=30&amp;subd=onceuponaproblem&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">This is a good example of a nice typical random issue that happens to me. Seems last night the Application Event Log decided to corrupt itself on my secondary machine:</p>
<pre style="text-align:justify;">Windows systray popup detected:

System Event Log
================
Type: Information.
Timestamp: Fri Jul 10 00:12:05 2009.
Event: 0.
Source: Application.
Category: Event Log Corruption.
User: SYSTEM.
SNARE Event Count: 1.
Description:
The event log is corrupt and requires immediate attention</pre>
<p style="text-align:justify;">This is an excerpt from an email I was sent by <a title="SNARE" href="http://www.intersectalliance.com/projects/SnareWindows/" target="_blank">SNARE</a> / <a title="Kiwi Syslog Daemon" href="http://www.kiwisyslog.com/" target="_blank">Kiwi Syslog Daemon</a> when it apparently happened (SNARE and Kiwi are services I run that allow me to get emailed when important events happen on my machines). The SNARE service promptly died after.</p>
<p style="text-align:justify;">I vaguelly remember having this issue in the past &#8211; presumably the only way to &#8216;solve&#8217; this issue is to clear the event log and start afresh, which I have done. Good thing I don&#8217;t usually use old event log data.</p>
<br />Posted in Windows XP Tagged: Application Event Log, Event Log corruption, Kiwi Syslog Daemon, SNARE, Windows XP Home <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/onceuponaproblem.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/onceuponaproblem.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/onceuponaproblem.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/onceuponaproblem.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/onceuponaproblem.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/onceuponaproblem.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/onceuponaproblem.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/onceuponaproblem.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/onceuponaproblem.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/onceuponaproblem.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/onceuponaproblem.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/onceuponaproblem.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/onceuponaproblem.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/onceuponaproblem.wordpress.com/30/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=onceuponaproblem.wordpress.com&amp;blog=8477165&amp;post=30&amp;subd=onceuponaproblem&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://onceuponaproblem.wordpress.com/2009/07/10/random-application-event-log-corruption-on-windows-xp-home-machine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">onceuponaproblem</media:title>
		</media:content>
	</item>
		<item>
		<title>X11 Forwarding On Steroids: NX Server/NX Technology</title>
		<link>http://onceuponaproblem.wordpress.com/2009/07/08/x11-forwarding-on-steroids-nx-servernx-technology/</link>
		<comments>http://onceuponaproblem.wordpress.com/2009/07/08/x11-forwarding-on-steroids-nx-servernx-technology/#comments</comments>
		<pubDate>Wed, 08 Jul 2009 20:49:16 +0000</pubDate>
		<dc:creator>onceuponaproblem</dc:creator>
				<category><![CDATA[Linux Server]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[NX Server]]></category>
		<category><![CDATA[NX Technology]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[uTorrent]]></category>
		<category><![CDATA[VNC]]></category>
		<category><![CDATA[X11 forwarding]]></category>

		<guid isPermaLink="false">http://onceuponaproblem.wordpress.com/?p=24</guid>
		<description><![CDATA[While googling on possible solutions to X11&#8242;s slowness (see earlier post), I found two main responses &#8211; use a faster encryption algortithm with Putty (blowfish rather than AES), or ditch normal X11 forwarding altogether and use NX Server (wikipedia). Blowfish-tunneled X11 was definitely faster, but still not fast enough. During testing, the uTorrent window managed [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=onceuponaproblem.wordpress.com&amp;blog=8477165&amp;post=24&amp;subd=onceuponaproblem&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">While googling on possible solutions to X11&#8242;s slowness (see <a title="Debian Sid, X11 Forwarding, Cygwin/X and Xming" href="http://onceuponaproblem.wordpress.com/2009/07/07/debian-sid-x11-forwarding-cygwinx-and-xming/" target="_blank">earlier post</a>), I found two main responses &#8211; use a faster encryption algortithm with Putty (blowfish rather than AES), or ditch normal X11 forwarding altogether and use NX Server (<a title="NX Server" href="http://en.wikipedia.org/wiki/NX_Server" target="_blank">wikipedia</a>).</p>
<p style="text-align:justify;"><span id="more-24"></span>Blowfish-tunneled X11 was definitely faster, but still not fast enough. During testing, the uTorrent window managed to get stuck whilst rendering the General tab of a large torrent &#8211; it was literally finding it so hard to update the piece graph/bar that it refused to move to another tab!</p>
<p style="text-align:justify;">That was clearly no good, so I had a look into <a title="NoMachine Products" href="http://www.nomachine.com/products.php" target="_blank">NX Server</a>.</p>
<p style="text-align:justify;">Installation on the server side was pretty convoluted &#8211; NX Server, NX Client and NX Node all need to be installed for the server to work, and client authentication is multistage, requiring sshd_config changes.</p>
<p style="text-align:justify;">It seems the NX client installed locally attempts to:</p>
<ol style="text-align:justify;">
<li> Access the SSH server first under the &#8216;nx&#8217; username, authenticated via PKC and presumably a default DSA key installed with the server (that you can change).</li>
<li>Somehow authenticate the user you want to access under with SSH via PKC (this user must be recorded in SSHD&#8217;s AllowUsers so I assume SSH is involved here even though NX has already gained access).</li>
<li>Use the password submitted by the client to login again? This could just be an optional NX Server authentication step mind. In my case I disallow password authentication for SSH in general.</li>
</ol>
<p style="text-align:justify;">When all this is done, NX launches a GNOME/KDE/etc desktop as requested, or any command you want with a custom session.  So, have it run Gnome Terminal/Xterm etc, then  <a title="Screen" href="http://en.wikipedia.org/wiki/GNU_Screen" target="_blank">screen</a> and run any individual GUI apps you want in the screen virtual terminals (gnome-session to generate your own GNOME desktop amongst others e.g.).</p>
<p style="text-align:justify;">In my case, outside of testing and curiosity I wanted to see how uTorrent and GNOME System Monitor fared. Both cases speed-wise were a success! NX Server/client was definitely fast enough to maintain speedy responses when using both applications (and indeed whole desktops)&#8230; however the CPU usage associated with these applications was excessive (~25-50% on my Athlon XP 2.25GHz). No CPU overhead was experienced when the windows were minimised, but that is beside the point &#8211; I want these windows constantly on display.</p>
<p style="text-align:justify;">VNC proved to still be faster than NX, and used almost no CPU to render a complete desktop including a busy uTorrent window maximised&#8230; having a VNC window up is almost the same as a properly integrated uTorrent window, so for now I&#8217;ll stick with VNC for remote control/monitoring status.</p>
<p style="text-align:justify;">Perhaps this needs reinvestigating when I make the next generation machine.</p>
<br />Posted in Linux Server Tagged: Debian, Linux, NX Server, NX Technology, SSH, uTorrent, VNC, X11 forwarding <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/onceuponaproblem.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/onceuponaproblem.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/onceuponaproblem.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/onceuponaproblem.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/onceuponaproblem.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/onceuponaproblem.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/onceuponaproblem.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/onceuponaproblem.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/onceuponaproblem.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/onceuponaproblem.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/onceuponaproblem.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/onceuponaproblem.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/onceuponaproblem.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/onceuponaproblem.wordpress.com/24/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=onceuponaproblem.wordpress.com&amp;blog=8477165&amp;post=24&amp;subd=onceuponaproblem&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://onceuponaproblem.wordpress.com/2009/07/08/x11-forwarding-on-steroids-nx-servernx-technology/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">onceuponaproblem</media:title>
		</media:content>
	</item>
		<item>
		<title>WINE&#8217;d uTorrent 1.8.3 Installation And Seeding Issues</title>
		<link>http://onceuponaproblem.wordpress.com/2009/07/08/wined-utorrent-1-8-3-installation-and-seeding-issues/</link>
		<comments>http://onceuponaproblem.wordpress.com/2009/07/08/wined-utorrent-1-8-3-installation-and-seeding-issues/#comments</comments>
		<pubDate>Wed, 08 Jul 2009 16:22:41 +0000</pubDate>
		<dc:creator>onceuponaproblem</dc:creator>
				<category><![CDATA[Linux Server]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[installation issues]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[seeding issues]]></category>
		<category><![CDATA[uTorrent 1.8.3]]></category>
		<category><![CDATA[uTP]]></category>
		<category><![CDATA[WINE]]></category>

		<guid isPermaLink="false">http://onceuponaproblem.wordpress.com/?p=12</guid>
		<description><![CDATA[Yesterday I upgraded uTorrent to 1.8.3 on my Debian server. Installation intially failed with the final step (presumably starting uTorrent up) failing with a dialog reporting that there is an unresponsive running instance of uTorrent that needs to be stopped before uTorrent can start up (or similar). Thanks to Google and acmelab68&#8242;s blog, moving my [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=onceuponaproblem.wordpress.com&amp;blog=8477165&amp;post=12&amp;subd=onceuponaproblem&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">Yesterday I upgraded uTorrent to 1.8.3 on my Debian server. Installation intially failed with the final step (presumably starting uTorrent up) failing with a dialog reporting that there is an unresponsive running instance of uTorrent that needs to be stopped before uTorrent can start up (or similar). Thanks to Google and <a title="[solved] uTorrent 1.8.3 doesn’t install on Linux via Wine" href="http://blog.mymediasystem.net/uncategorized/utorrent-1-8-3-doesnt-install-on-linux-via-wine/" target="_blank">acmelab68&#8242;s blog</a>, moving my uTorrent per-user data from the application data folder to uTorrent&#8217;s program folder solved this issue, and uTorrent started up successfully without trying to install itself again (&#8216;NOTE: Settings file found in directory of executable; using that.&#8217; turns up in the log, explaining the behaviour). The man himself, Firon, noted that a settings.dat file (blank or otherwise) in the uTorrent program directory is what actually does the trick.</p>
<p style="text-align:justify;">Unfortunately later on I noticed that 1.8.3 seemed to be causing a new problem on my system. The torrents I was seeding should be generating 1.5-2MB/Sec of constant u/l bw (bandwidth), however the u/l speed had gone to hell, with small infrequent spikes:</p>
<p style="text-align:justify;"><span id="more-12"></span></p>
<p style="text-align:center;"><a href="http://onceuponaproblem.files.wordpress.com/2009/07/utorrent-1-8-3-under-wine-suspicious-poor-bandwidth-issues-8-07-09.png"><img class="aligncenter size-full wp-image-14" title="uTorrent 1.8.3 under WINE - Suspicious poor bandwidth issues - 8.07.09" src="http://onceuponaproblem.files.wordpress.com/2009/07/utorrent-1-8-3-under-wine-suspicious-poor-bandwidth-issues-8-07-09.png" alt="uTorrent 1.8.3 under WINE - Suspicious poor bandwidth issues - 8.07.09" width="654" height="260" /></a></p>
<p style="text-align:justify;">Sometimes seeding would resume, go fine for a while and then suddenly die again:</p>
<p style="text-align:center;"><a href="http://onceuponaproblem.files.wordpress.com/2009/07/another-example-of-utorrent-1-8-3s-bandwidth-randomly-dropping-off-8-07-09.png"><img class="aligncenter size-full wp-image-15" title="Another example of uTorrent 1.8.3's bandwidth randomly dropping off - 8.07.09" src="http://onceuponaproblem.files.wordpress.com/2009/07/another-example-of-utorrent-1-8-3s-bandwidth-randomly-dropping-off-8-07-09.png" alt="Another example of uTorrent 1.8.3's bandwidth randomly dropping off - 8.07.09" width="651" height="261" /></a></p>
<p style="text-align:justify;">Note that no odd WINE errors were being reported when uTorrent was run via a terminal, however some uTorrent verbose logging was throwing up 10047 (an address incompatible with the requested protocol was used) errors during the problem periods, presumably resulting from the real issue behind this.</p>
<p style="text-align:justify;">Reading <a title="µTorrent 1.8.3 released" href="http://forum.utorrent.com/viewtopic.php?id=58768" target="_blank">this version&#8217;s official announcement thread</a>, I noticed that some people had issues with seeding and uTP. So, I googled how to disable it &#8211; <a title="Use uTorrent 1.8.3 for better speed-How To" href="http://forums.hardwarezone.com.sg/showthread.php?t=2414732" target="_blank">change the Advanced setting &#8216;bt.transp_disposition&#8217; to 5</a>.</p>
<p style="text-align:justify;">After restarting uTorrent, sure enough, seeding returned to normal. Infact  I got a nice steady ~4MB/Sec upped thanks to my efforts. More happy leechers.</p>
<p style="text-align:center;"><a href="http://onceuponaproblem.files.wordpress.com/2009/07/utorrent-seeding-fine-after-utp-was-disabled-8-07-09.png"><img class="aligncenter size-full wp-image-13" title="uTorrent seeding fine after uTP was disabled - 8.07.09" src="http://onceuponaproblem.files.wordpress.com/2009/07/utorrent-seeding-fine-after-utp-was-disabled-8-07-09.png" alt="uTorrent seeding fine after uTP was disabled - 8.07.09" width="660" height="262" /></a></p>
<p style="text-align:justify;">Lets hope its a WINE issue that will eventually be fixed &#8211; don&#8217;t want to be shut out from the future here.</p>
<br />Posted in Linux Server Tagged: Debian, installation issues, Linux, seeding issues, uTorrent 1.8.3, uTP, WINE <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/onceuponaproblem.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/onceuponaproblem.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/onceuponaproblem.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/onceuponaproblem.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/onceuponaproblem.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/onceuponaproblem.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/onceuponaproblem.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/onceuponaproblem.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/onceuponaproblem.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/onceuponaproblem.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/onceuponaproblem.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/onceuponaproblem.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/onceuponaproblem.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/onceuponaproblem.wordpress.com/12/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=onceuponaproblem.wordpress.com&amp;blog=8477165&amp;post=12&amp;subd=onceuponaproblem&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://onceuponaproblem.wordpress.com/2009/07/08/wined-utorrent-1-8-3-installation-and-seeding-issues/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">onceuponaproblem</media:title>
		</media:content>

		<media:content url="http://onceuponaproblem.files.wordpress.com/2009/07/utorrent-1-8-3-under-wine-suspicious-poor-bandwidth-issues-8-07-09.png" medium="image">
			<media:title type="html">uTorrent 1.8.3 under WINE - Suspicious poor bandwidth issues - 8.07.09</media:title>
		</media:content>

		<media:content url="http://onceuponaproblem.files.wordpress.com/2009/07/another-example-of-utorrent-1-8-3s-bandwidth-randomly-dropping-off-8-07-09.png" medium="image">
			<media:title type="html">Another example of uTorrent 1.8.3's bandwidth randomly dropping off - 8.07.09</media:title>
		</media:content>

		<media:content url="http://onceuponaproblem.files.wordpress.com/2009/07/utorrent-seeding-fine-after-utp-was-disabled-8-07-09.png" medium="image">
			<media:title type="html">uTorrent seeding fine after uTP was disabled - 8.07.09</media:title>
		</media:content>
	</item>
		<item>
		<title>Debian Sid, X11 Forwarding, Cygwin/X and Xming</title>
		<link>http://onceuponaproblem.wordpress.com/2009/07/07/debian-sid-x11-forwarding-cygwinx-and-xming/</link>
		<comments>http://onceuponaproblem.wordpress.com/2009/07/07/debian-sid-x11-forwarding-cygwinx-and-xming/#comments</comments>
		<pubDate>Tue, 07 Jul 2009 19:51:53 +0000</pubDate>
		<dc:creator>onceuponaproblem</dc:creator>
				<category><![CDATA[Linux Server]]></category>
		<category><![CDATA[Cygwin/X]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Sunbelt Personal Firewall]]></category>
		<category><![CDATA[X Windows]]></category>
		<category><![CDATA[X11 forwarding]]></category>
		<category><![CDATA[Xming]]></category>

		<guid isPermaLink="false">http://onceuponaproblem.wordpress.com/?p=7</guid>
		<description><![CDATA[I have been inspired ever since reading the section about X11 forwarding in Putty&#8217;s help file. Sending windows that are supposed to exist on your Linux server to your local Windows desktop? Awesome, but surely unpossible? At least, it was at the start&#8230; My first task was to get Cygwin/X working with a current Cygwin [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=onceuponaproblem.wordpress.com&amp;blog=8477165&amp;post=7&amp;subd=onceuponaproblem&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">I have been inspired ever since reading the section about<a title="Setting up X11 tunneling in Putty" href="http://e.molioner.dk/guides/puttyx11" target="_blank"> X11 forwarding in Putty&#8217;s help file</a>.</p>
<p style="text-align:justify;">Sending windows that are supposed to exist on your Linux server to your local Windows desktop? Awesome, but surely unpossible?</p>
<p style="text-align:justify;">At least, it was at the start&#8230;</p>
<p style="text-align:justify;">My first task was to get <a title="Cygwin/X" href="http://x.cygwin.com/" target="_blank">Cygwin/X</a> working with a current Cygwin install on my XP machine. Presumably once I had mastered that, I could then pull it off remotely from my Debian server. Unfortunately, whenever I tried this before I constantly got bs errors back saying that Cygwin/X couldnt connect to the display &#8211; I remember this put me off when I first discovered X11 forwarding last year. Determined to make a difference this time, I played with an XP VM. I currently use <a title="Sunbelt Personal Firewall" href="http://www.sunbeltsoftware.com/Home-Home-Office/Sunbelt-Personal-Firewall/" target="_blank">Sunbelt Personal Firewall</a> (SPFW), and from previous googling I suspected that it might be interfering with things.</p>
<p style="text-align:justify;"><span id="more-7"></span></p>
<p style="text-align:justify;">After uninstalling it on the VM, low and behold, Cygwin/X managed to connect to the 127.0.0.1:0.0 display straight away, and I saw my first rootless X windows ever (I had already been able to render X windows in a virtual desktop window, for some reason). As much as I love SPFW, this is pretty poor. Obviously Cygwin/X was allowed full in/out access on Trusted Networks, which of course the localhost is. Still, its going to need a lot more than that for me to ban this FW, so I left the investigations here for Cygwin/X (<strong>if anyone has any ideas as to what to do here, I would much appreciate them!</strong> Perhaps there is an obscure setting somewhere that I&#8217;m not aware of).</p>
<p style="text-align:justify;">Continuing with tests on my main machine, I next moved on to <a title="Xming" href="http://www.straightrunning.com/XmingNotes/" target="_blank">Xming,</a> which is supposed to be a better implementation of X Windows for Windows. Sure enough, my first experiences with it resulted in GPFs. However, using the XLaunch helper app with Xming is more flexible than Cygwin/X. I set the display to 1 instead of 0, and along with setting up Putty to forward X11 stuff to &#8216;localhost:1&#8242; (it seems the fact that SSHD defaults to &#8216;localhost:10.0&#8242; does not affect this), and I finally got my windows coming through SSH (hello <a title="xeyes" href="http://en.wikipedia.org/wiki/Xeyes" target="_blank">xeyes</a>).</p>
<p style="text-align:justify;">Playing around with stuff like gnome-system-monitor and a full desktop via gnome-session showed that this method was very slow and CPU intensive (Athlon XP 2.25GHz FTW), and therefore not really practical for constant use.</p>
<p style="text-align:justify;">Still, it was a proof of concept and suggested that there were better things to come &#8211; more posts will follow.</p>
<br />Posted in Linux Server Tagged: Cygwin/X, Debian, Linux, Sunbelt Personal Firewall, X Windows, X11 forwarding, Xming <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/onceuponaproblem.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/onceuponaproblem.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/onceuponaproblem.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/onceuponaproblem.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/onceuponaproblem.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/onceuponaproblem.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/onceuponaproblem.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/onceuponaproblem.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/onceuponaproblem.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/onceuponaproblem.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/onceuponaproblem.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/onceuponaproblem.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/onceuponaproblem.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/onceuponaproblem.wordpress.com/7/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=onceuponaproblem.wordpress.com&amp;blog=8477165&amp;post=7&amp;subd=onceuponaproblem&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://onceuponaproblem.wordpress.com/2009/07/07/debian-sid-x11-forwarding-cygwinx-and-xming/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">onceuponaproblem</media:title>
		</media:content>
	</item>
	</channel>
</rss>
