<?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/"
	>

<channel>
	<title>LI Tech Blog &#187; Applications</title>
	<atom:link href="http://techblog.lucidillusion.org/category/applications/feed/" rel="self" type="application/rss+xml" />
	<link>http://techblog.lucidillusion.org</link>
	<description>Tech Notes and Problem Solutions</description>
	<lastBuildDate>Mon, 02 Jan 2012 03:54:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Random blank/black X sessions with GDM on a Dell GX280 running CentOS 5</title>
		<link>http://techblog.lucidillusion.org/2008/03/06/random-blankblack-x-sessions-with-gdm-on-a-dell-gx280-running-centos-5/</link>
		<comments>http://techblog.lucidillusion.org/2008/03/06/random-blankblack-x-sessions-with-gdm-on-a-dell-gx280-running-centos-5/#comments</comments>
		<pubDate>Thu, 06 Mar 2008 12:15:08 +0000</pubDate>
		<dc:creator>jgraham</dc:creator>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[black]]></category>
		<category><![CDATA[blank]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Dell]]></category>
		<category><![CDATA[GDM]]></category>
		<category><![CDATA[GX280]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[mouse]]></category>
		<category><![CDATA[X]]></category>
		<category><![CDATA[X11]]></category>

		<guid isPermaLink="false">http://techblog.lucidillusion.org/2008/03/06/random-blankblack-x-sessions-with-gdm-on-a-dell-gx280-running-centos-5/</guid>
		<description><![CDATA[While upgrading a lab of Dell GX280 systems to CentOS 5 today I ran into a bit of a snag. Seemingly at random when the system initially started or returned to the GDM login screen the user would get a black screen. The system still responded on the network, could be switched to VTs and [...]]]></description>
			<content:encoded><![CDATA[<p>While upgrading a lab of Dell GX280 systems to <a href="http://www.centos.org/">CentOS</a> 5 today I ran into a bit of a snag.  Seemingly at random when the system initially started or returned to the GDM login screen the user would get a black screen.  The system still responded on the network, could be switched to VTs and the GDM screen would correctly display after a few <tt>gdm-restart</tt> commands.  I found <a href="http://bugs.centos.org/view.php?id=2223">this bug report</a> but no solution.  I did notice that when the screen was blank if the mouse was moved up, till it the cursor (were it visible) would hit the top of the screen, the GDM screen would pop up and function normally.</p>
<p><span id="more-7"></span></p>
<p>I fully realize that this is very hackish and should not be used as a long term solution but it works in this case to eliminate user confusion until a real fix is found.  All instructions assume file paths and conventions in CentOS but should work with minor modifications anywhere else this problem is encountered.</p>
<p>A bit of searching turned up <a href="http://www.semicomplete.com/projects/xdotool/">xdotool</a>, a command for simulating keyboard and mouse input using the X11 XTEST module.</p>
<p>I created an RPM spec file that will download and build and xdotool package, available here: <a href="http://pastie.textmate.org/162710">http://pastie.textmate.org/162710</a></p>
<p>Once <tt>xdrtool</tt> is installed do the following:</p>
<ol>
<li>Edit your <tt>/etc/X11/xorg.conf</tt>, add <tt>Load "xtest"</tt> to the <strong>Module</strong> section</li>
<li>Copy <tt>/etc/gdm/Init/Default</tt> to <tt>/etc/gdm/Init/:0</tt></li>
<li> Edit <tt>/etc/gdm/Init/:0</tt> to include something similar to this towards the bottom: <br />
<blockquote>
<pre>(sleep 1 ; xdotool mousemove 0 0 ; sleep 1 ; xdotool mousemove 640 450) &amp;</pre>
</blockquote>
</li>
</ol>
<p>This will cause the pointer to jump to the upper left corner of the screen and then back to the center just after GDM starts.  At the moment this appears to reliably work around the problem.</p>
]]></content:encoded>
			<wfw:commentRss>http://techblog.lucidillusion.org/2008/03/06/random-blankblack-x-sessions-with-gdm-on-a-dell-gx280-running-centos-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Patching neon on OS X 10.5 for GSSAPI authenticated SubVersion</title>
		<link>http://techblog.lucidillusion.org/2007/11/20/patching-neon-on-os-x-105-for-gssapi-authenticated-subversion/</link>
		<comments>http://techblog.lucidillusion.org/2007/11/20/patching-neon-on-os-x-105-for-gssapi-authenticated-subversion/#comments</comments>
		<pubDate>Tue, 20 Nov 2007 06:46:22 +0000</pubDate>
		<dc:creator>jgraham</dc:creator>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[10.5]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[GSSAPI]]></category>
		<category><![CDATA[Leopard]]></category>
		<category><![CDATA[libneon]]></category>
		<category><![CDATA[neon]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[patch]]></category>
		<category><![CDATA[SSO]]></category>
		<category><![CDATA[Subversion]]></category>
		<category><![CDATA[SVN]]></category>

		<guid isPermaLink="false">http://techblog.lucidillusion.org/2007/11/21/patching-neon-on-os-x-105-for-gssapi-authenticated-subversion/</guid>
		<description><![CDATA[Today I was attempting to configure Apache (2.2) to control access to my SubVersion repositories using mod_auth_kerb and I hit a snag when attempting to access repositories from Leopard clients. I installed mod_auth_kerb and configured apache with the following directives in the /svn location: AuthType Kerberos AuthName "Kerberos Login" KrbMethodNegotiate On KrbSaveCredentials On KrbAuthoritative on [...]]]></description>
			<content:encoded><![CDATA[<p>Today I was attempting to configure <a href="http://httpd.apache.org/">Apache</a> (2.2) to control access to my <a href="http://subversion.tigris.org/">SubVersion</a> repositories using <a href="http://modauthkerb.sourceforge.net/">mod_auth_kerb</a> and I hit a snag when attempting to access repositories from Leopard clients.</p>
<p><span id="more-6"></span></p>
<p>I installed mod_auth_kerb and configured apache with the following directives in the <tt>/svn</tt> location:</p>
<blockquote>
<pre>AuthType Kerberos
AuthName "Kerberos Login"
KrbMethodNegotiate On
KrbSaveCredentials On
KrbAuthoritative on
KrbAuthRealms EXAMPLE.COM
KrbServiceName HTTP
KrbVerifyKDC On
Krb5KeyTab /etc/apache2/apache2.keytab</pre>
</blockquote>
<p>The <tt>/etc/apache2/apache2.keytab</tt> file contains the <strong>HTTP/servername@EXAMPLE.COM</strong> principle.</p>
<p>With the appropriate AuthZ configuration I was able to preform all operations as expected from Linux and OS X 10.4 (Tiger) clients.  However on Leopard clients all operations resulted in:</p>
<blockquote>
<pre>svn: PROPFIND request failed on '/svn/reponame'
svn: PROPFIND of '/svn/reponame': 207 Multi-Status (https://example.com)</pre>
</blockquote>
<p>In the web-server logs everything seemed fine:</p>
<blockquote>
<pre>[client xxx.xxx.xxx.xxx] Access granted: 'princ@EXAMPLE.COM' PROPFIND reponame:/</pre>
</blockquote>
<p>So I set the <tt>neon-debug-mask = 138</tt> in the <strong>[Global]</strong> section of <tt>~/.subversion/servers</tt> and attempted the update again.  Right at the end:</p>
<blockquote>
<pre>Running post_send hooks
ah_post_send (#1), code is 207 (want 401), WWW-Authenticate is Negotiate [output snipped]
gssapi: Not a Negotiate response!
Request ends, status 207 class 2xx, error line:
207 Multi-Status
Running destroy hooks.
Request ends.
svn: PROPFIND request failed on '/svn/reponame'
svn: PROPFIND of '/svn/reponame': 207 Multi-Status (https://example.com)</pre>
</blockquote>
<p>A bit more googling turned up a patch.  So I downloaded the Apple sources form <a href="http://www.opensource.apple.com/darwinsource/tarballs/other/neon-8.tar.gz">http://www.opensource.apple.com/darwinsource/tarballs/other/neon-8.tar.gz</a>, decompressed them and applied a simple 1 line patch to <tt>src/ne_auth.c</tt>:</p>
<blockquote>
<pre>--- ne_auth.c.orig	2007-11-22 00:37:54.000000000 -0600
+++ ne_auth.c	2007-11-22 00:37:38.000000000 -0600
@@ -520,5 +520,5 @@
     int ret;

-    if (strncmp(hdr, "Negotiate", ptr - hdr) != 0) {
+    if (strncmp(hdr, "Negotiate", ptr - duphdr) != 0) {
         NE_DEBUG(NE_DBG_HTTPAUTH, "gssapi: Not a Negotiate response!\n");
         ne_free(duphdr);</pre>
</blockquote>
<p>After a quick compile and install (to a temporary root) I copied the new <tt>usr/lib/libneon.26.0.3.dylib</tt> file into <tt>/usr/lib</tt> [making a backup of the original of course] and now subversion works perfectly.</p>
<p>Bug is radr://5610623</p>
]]></content:encoded>
			<wfw:commentRss>http://techblog.lucidillusion.org/2007/11/20/patching-neon-on-os-x-105-for-gssapi-authenticated-subversion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quicken 2006 and .Mac Backup</title>
		<link>http://techblog.lucidillusion.org/2007/10/14/quicken-2006-and-mac-backup/</link>
		<comments>http://techblog.lucidillusion.org/2007/10/14/quicken-2006-and-mac-backup/#comments</comments>
		<pubDate>Sun, 14 Oct 2007 14:16:20 +0000</pubDate>
		<dc:creator>jgraham</dc:creator>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[.Mac]]></category>
		<category><![CDATA[Backup]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Quicken]]></category>

		<guid isPermaLink="false">http://techblog.lucidillusion.org/2007/10/14/quicken-2006-and-mac-backup/</guid>
		<description><![CDATA[Recently I started getting errors from Quicken 2006 (15.0.5 &#8211; R6) when it attempted to backup data to my .Mac account.  The backup process would launch and then error at Making a copy of the data file and give the following error: Quicken cannot create a copy of your file to upload to .Mac Check to [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I started getting errors from Quicken 2006 (15.0.5 &#8211; R6) when it attempted to backup data to my .Mac account.  The backup process would launch and then error at <span style="font-weight: bold">Making a copy of the data file</span> and give the following error:</p>
<blockquote><p>Quicken cannot create a copy of your file to upload to .Mac</p>
<p>Check to make sure you have sufficient free space on your hard drive and that you have permission to read and write files. Please try again later.</p>
<p>(014)</p></blockquote>
<p><span id="more-3"></span></p>
<p>Apparently a previous run of the backup agent crashed and it left behind a temporary file that was preventing any further runs of the agent from completing. Simply removing the temporary file (which is automatically done on reboot) fixes the issue.</p>
<p>To fix the issue without rebooting just remove the <span style="font-weight: bold">Quicken Data.qdfm.dmg</span> file from <span style="font-weight: bold">/private/var/tmp/folders.XXX/</span> where XXX (may be more than 3 digits) is your user id number.</p>
<p>For people not comfortable working with the command line you can reach this folder by:</p>
<ol id="null">
<li>Choosing <span style="font-weight: bold">Go to Folder&#8230;</span> from the <span style="font-style: italic">Finder</span> <span style="font-weight: bold">Go</span> menu (⇧⌘G)</li>
<li>Enter <span style="font-weight: bold">/private/var/tmp</span></li>
<li>Open the only <span style="font-weight: bold">folders.XXX</span> folder that you have access to</li>
<li>Delete the <span style="font-weight: bold">Quicken Data.qdfm.dmg</span> file</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://techblog.lucidillusion.org/2007/10/14/quicken-2006-and-mac-backup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.393 seconds -->

