<?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>transfixed but not dead! &#187; X11</title>
	<atom:link href="http://transfixedbutnotdead.com/tag/x11/feed/" rel="self" type="application/rss+xml" />
	<link>http://transfixedbutnotdead.com</link>
	<description>my ramblings on life, work &#38; anything left in-between</description>
	<lastBuildDate>Tue, 08 May 2012 09:57:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='transfixedbutnotdead.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/0a317653027efb1ab2bf8adde3dcb067?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>transfixed but not dead! &#187; X11</title>
		<link>http://transfixedbutnotdead.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://transfixedbutnotdead.com/osd.xml" title="transfixed but not dead!" />
	<atom:link rel='hub' href='http://transfixedbutnotdead.com/?pushpress=hub'/>
		<item>
		<title>Installing X11 apps with MacPorts</title>
		<link>http://transfixedbutnotdead.com/2007/03/27/installing-x11-apps-with-macports/</link>
		<comments>http://transfixedbutnotdead.com/2007/03/27/installing-x11-apps-with-macports/#comments</comments>
		<pubDate>Tue, 27 Mar 2007 11:34:43 +0000</pubDate>
		<dc:creator>draegtun</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[Mac OSX]]></category>
		<category><![CDATA[Tiger]]></category>
		<category><![CDATA[X11]]></category>

		<guid isPermaLink="false">http://draegtun.wordpress.com/2007/03/27/installing-x11-apps-with-macports/</guid>
		<description><![CDATA[If u come across any problems then chances are you don&#8217;t have the X11 SDK installed on your Mac ;-( I probably didn&#8217;t select it when I installed Xcode. U can find the individual package on the install disk 1&#8230;. go into folder &#8220;Xcode Tools&#8221; and then &#8220;Packages&#8221; and double click on X11SDK.pkg.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=transfixedbutnotdead.com&#038;blog=351142&#038;post=16&#038;subd=draegtun&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If u come across any problems then chances are you don&#8217;t have the X11 SDK installed on your Mac ;-(</p>
<p>I probably didn&#8217;t select it when I installed Xcode.   U can find the individual package on the install disk 1&#8230;. go into folder &#8220;Xcode Tools&#8221; and then &#8220;Packages&#8221; and double click on X11SDK.pkg.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/draegtun.wordpress.com/16/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/draegtun.wordpress.com/16/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/draegtun.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/draegtun.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/draegtun.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/draegtun.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/draegtun.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/draegtun.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/draegtun.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/draegtun.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/draegtun.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/draegtun.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/draegtun.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/draegtun.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/draegtun.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/draegtun.wordpress.com/16/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=transfixedbutnotdead.com&#038;blog=351142&#038;post=16&#038;subd=draegtun&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://transfixedbutnotdead.com/2007/03/27/installing-x11-apps-with-macports/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/29cb106071d163d703484e63839d89cb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">draegtun</media:title>
		</media:content>
	</item>
		<item>
		<title>Installing X-Window (X11) on the iMac</title>
		<link>http://transfixedbutnotdead.com/2007/01/18/installing-x-window-x11-on-the-imac/</link>
		<comments>http://transfixedbutnotdead.com/2007/01/18/installing-x-window-x11-on-the-imac/#comments</comments>
		<pubDate>Thu, 18 Jan 2007 19:20:00 +0000</pubDate>
		<dc:creator>draegtun</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[Mac OSX]]></category>
		<category><![CDATA[UNIX]]></category>
		<category><![CDATA[X11]]></category>

		<guid isPermaLink="false">http://draegtun.wordpress.com/2007/01/18/installing-x-window-x11-on-the-imac/</guid>
		<description><![CDATA[Can&#8217;t recall how I got X11 onto my Powerbook (probably from dev discs?) but where is it on my iMac (Tiger) discs? Well if u&#8230;.. insert the first install disc scroll down to u see the &#8220;Optional Installs&#8221; PKG icon &#38; double click on it Follow through options (answering the obvious!) till u get to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=transfixedbutnotdead.com&#038;blog=351142&#038;post=12&#038;subd=draegtun&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Can&#8217;t recall how I got X11 onto my Powerbook (probably from dev discs?) but where is it on my iMac (Tiger) discs?</p>
<p>Well if u&#8230;.. </p>
<ol>
<li>insert the first install disc</li>
<li>scroll down to u see the &#8220;Optional Installs&#8221; PKG icon &amp; double click on it</li>
<li>Follow through options (answering the obvious!) till u get to &#8220;Installation Type&#8221;</li>
<li>Click on &#8220;Applications&#8221; in the Package window</li>
</ol>
<p>And u should see this&#8230;..</p>
<p><a href="http://www.flickr.com/photos/67882191@N00/361678655/" title="Photo Sharing"><img src="http://farm1.static.flickr.com/161/361678655_169e74b93d_m.jpg" width="240" height="170" alt="X11 install" /></a></p>
<p>Just check on X11 and install <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>Now all I do now is &#8220;ssh -Y username@server&#8221; and I can open an X-window app on the server  (on Panther you needed &#8220;ssh -X username@server&#8221;). </p>
<p>However I prefer to work in iTerm and not the xterm app that came with X11.   For this to work you need to set the DISPLAY variable correctly.  I groked this from <a href="http://http://xanana.ucsc.edu/xtal/sample.bashrc">http://xanana.ucsc.edu/xtal/sample.bashrc</a></p>
<pre>
# Set the DISPLAY variable -- works for Apple X11 with Fast User Switching

if [[ -z $DISPLAY &amp;&amp; -z $SSH_CONNECTION ]]; then
    disp_no=($( ps -awx | grep -F X11.app | awk '{print $NF}' 
                     | grep -e ":[0-9]"  ))
    if [[ -n $disp_no ]];then
        export DISPLAY=${disp_no}.0
    else
        export DISPLAY=:0.0
    fi
    echo "DISPLAY has been set to $DISPLAY"
fi
</pre>
<p>There r ways of getting X11 up headless from iTerm&#8230;   but my usage of X11 is just occasional so I&#8217;ll leave that to another day.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/draegtun.wordpress.com/12/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/draegtun.wordpress.com/12/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/draegtun.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/draegtun.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/draegtun.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/draegtun.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/draegtun.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/draegtun.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/draegtun.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/draegtun.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/draegtun.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/draegtun.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/draegtun.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/draegtun.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/draegtun.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/draegtun.wordpress.com/12/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=transfixedbutnotdead.com&#038;blog=351142&#038;post=12&#038;subd=draegtun&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://transfixedbutnotdead.com/2007/01/18/installing-x-window-x11-on-the-imac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/29cb106071d163d703484e63839d89cb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">draegtun</media:title>
		</media:content>

		<media:content url="http://farm1.static.flickr.com/161/361678655_169e74b93d_m.jpg" medium="image">
			<media:title type="html">X11 install</media:title>
		</media:content>
	</item>
	</channel>
</rss>
