<?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: Respect my ~/.Xauthority !#@$!</title>
	<atom:link href="http://prefetch.net/blog/index.php/2008/04/05/respect-my-xauthority/feed/" rel="self" type="application/rss+xml" />
	<link>http://prefetch.net/blog/index.php/2008/04/05/respect-my-xauthority/</link>
	<description>Blog O' Matty</description>
	<lastBuildDate>Tue, 07 Feb 2012 02:31:44 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: michelsberg</title>
		<link>http://prefetch.net/blog/index.php/2008/04/05/respect-my-xauthority/comment-page-1/#comment-829213</link>
		<dc:creator>michelsberg</dc:creator>
		<pubDate>Fri, 02 Apr 2010 10:14:25 +0000</pubDate>
		<guid isPermaLink="false">http://prefetch.net/blog/?p=867#comment-829213</guid>
		<description>Thanks a lot for this helpful post!

I put your info into a single change-user-command so you do not have to repeat the whole process of finding the MIT cookie and adding it as the other user.
This works fine for me:

su username -c &quot;xauth add ${HOSTNAME}/unix:${DISPLAY//[a-zA-Z:_-]/} $(xauth list &#124; grep -o &#039;[a-zA-Z0-9_-]*\ *[0-9a-zA-Z]*$&#039;); bash&quot;</description>
		<content:encoded><![CDATA[<p>Thanks a lot for this helpful post!</p>
<p>I put your info into a single change-user-command so you do not have to repeat the whole process of finding the MIT cookie and adding it as the other user.<br />
This works fine for me:</p>
<p>su username -c &#8220;xauth add ${HOSTNAME}/unix:${DISPLAY//[a-zA-Z:_-]/} $(xauth list | grep -o &#8216;[a-zA-Z0-9_-]*\ *[0-9a-zA-Z]*$&#8217;); bash&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amen</title>
		<link>http://prefetch.net/blog/index.php/2008/04/05/respect-my-xauthority/comment-page-1/#comment-825764</link>
		<dc:creator>Amen</dc:creator>
		<pubDate>Wed, 02 Sep 2009 12:00:40 +0000</pubDate>
		<guid isPermaLink="false">http://prefetch.net/blog/?p=867#comment-825764</guid>
		<description>O&#039;Matty
Thanks for your article. It&#039;s simple for understand and helpful at the same time.
Be happy )</description>
		<content:encoded><![CDATA[<p>O&#8217;Matty<br />
Thanks for your article. It&#8217;s simple for understand and helpful at the same time.<br />
Be happy )</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://prefetch.net/blog/index.php/2008/04/05/respect-my-xauthority/comment-page-1/#comment-403680</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Sun, 27 Apr 2008 02:22:44 +0000</pubDate>
		<guid isPermaLink="false">http://prefetch.net/blog/?p=867#comment-403680</guid>
		<description>THANKS!</description>
		<content:encoded><![CDATA[<p>THANKS!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mike</title>
		<link>http://prefetch.net/blog/index.php/2008/04/05/respect-my-xauthority/comment-page-1/#comment-374813</link>
		<dc:creator>mike</dc:creator>
		<pubDate>Sat, 05 Apr 2008 19:56:47 +0000</pubDate>
		<guid isPermaLink="false">http://prefetch.net/blog/?p=867#comment-374813</guid>
		<description>Lawina:  Yes, this will work with pretty much any unix or linux O/S that supports ssh.  There are a few different variants of clients that used -Y to initiate a X11 session instead of -X

I&#039;m waiting for Google&#039;s android linux based phone to be released.  It would be really cool to ssh into your mobile device and fire up GUI applications.

On Windows, putty supports X11 forwarding in the configuration tab. Google on where to find it.

Unfortunatly, windows doesn&#039;t have a native embedded X server so you have to run a 3rd party application like hummingbird exceed.  Cgywin also has a X server and its free.</description>
		<content:encoded><![CDATA[<p>Lawina:  Yes, this will work with pretty much any unix or linux O/S that supports ssh.  There are a few different variants of clients that used -Y to initiate a X11 session instead of -X</p>
<p>I&#8217;m waiting for Google&#8217;s android linux based phone to be released.  It would be really cool to ssh into your mobile device and fire up GUI applications.</p>
<p>On Windows, putty supports X11 forwarding in the configuration tab. Google on where to find it.</p>
<p>Unfortunatly, windows doesn&#8217;t have a native embedded X server so you have to run a 3rd party application like hummingbird exceed.  Cgywin also has a X server and its free.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas Stromberg</title>
		<link>http://prefetch.net/blog/index.php/2008/04/05/respect-my-xauthority/comment-page-1/#comment-374305</link>
		<dc:creator>Thomas Stromberg</dc:creator>
		<pubDate>Sat, 05 Apr 2008 12:15:07 +0000</pubDate>
		<guid isPermaLink="false">http://prefetch.net/blog/?p=867#comment-374305</guid>
		<description>Thanks! I&#039;ve often wondered how to do this, but never seen it done before.

As a side note, while I am a bit of a sudo nazi, if managed correctly, I think having root ssh keys is not a bad thing. So long as the ssh keys are password protected, centrally managed and associated with a person, and all commands are logged and associated with that person, and the hosts are only available internally, it&#039;s not a terrible compromise. That&#039;s an awful lot of ifs, but it&#039;s handy for recovering hosed machines.

I&#039;ll still prefer sudo, myself.</description>
		<content:encoded><![CDATA[<p>Thanks! I&#8217;ve often wondered how to do this, but never seen it done before.</p>
<p>As a side note, while I am a bit of a sudo nazi, if managed correctly, I think having root ssh keys is not a bad thing. So long as the ssh keys are password protected, centrally managed and associated with a person, and all commands are logged and associated with that person, and the hosts are only available internally, it&#8217;s not a terrible compromise. That&#8217;s an awful lot of ifs, but it&#8217;s handy for recovering hosed machines.</p>
<p>I&#8217;ll still prefer sudo, myself.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lawina</title>
		<link>http://prefetch.net/blog/index.php/2008/04/05/respect-my-xauthority/comment-page-1/#comment-373701</link>
		<dc:creator>lawina</dc:creator>
		<pubDate>Sat, 05 Apr 2008 06:15:20 +0000</pubDate>
		<guid isPermaLink="false">http://prefetch.net/blog/?p=867#comment-373701</guid>
		<description>Does this work under Solaris 10?</description>
		<content:encoded><![CDATA[<p>Does this work under Solaris 10?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

