<?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>James Badger&#039;s Personal Site &#187; Engineering</title>
	<atom:link href="http://jamesbadger.ca/category/university/engineering/feed/" rel="self" type="application/rss+xml" />
	<link>http://jamesbadger.ca</link>
	<description></description>
	<lastBuildDate>Wed, 21 Mar 2012 00:45:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Remote Login</title>
		<link>http://jamesbadger.ca/2005/10/21/remote-login/</link>
		<comments>http://jamesbadger.ca/2005/10/21/remote-login/#comments</comments>
		<pubDate>Sat, 22 Oct 2005 00:08:39 +0000</pubDate>
		<dc:creator>James Badger</dc:creator>
				<category><![CDATA[Engineering]]></category>
		<category><![CDATA[University]]></category>

		<guid isPermaLink="false">http://www.jamesbadger.ca/?p=12</guid>
		<description><![CDATA[How to remote login into your UofC Engineering account - and use XEmacs! <a href="http://jamesbadger.ca/2005/10/21/remote-login/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Well, I discovered something pretty useful recently.</p>
<p>I&#8217;ve known for awhile that you can use the Terminal program bundled with Mac OS X to connect to the engineering lab, and access your account. If you have an account there, you can try it by typing this command into the terminal:</p>
<p><code>ssh yourlogin@remote.engg.ucalgary.ca</code></p>
<p>Replace &#8220;yourlogin&#8221; with the username you use to log into the lab computers. It will prompt you for the corresponding password. Once you&#8217;re in, you can use the Terminal just like you were at the lab computer, which means you have access to all your files. This is really handy for moving around files, but you may quickly notice one problem: you can&#8217;t launch any application that requires a GUI, like xemacs. This kinda sucks.</p>
<p>But there is a solution (for Mac OS X)!<br />
<span id="more-12"></span><br />
It requires a program called X11, which is either in your Applications folder, or in your Utilities folder in your Applications folder. If it isn&#8217;t, you might have to install it from your Mac OS X installer disk (it usually is on the last disk).</p>
<p><img src="/wp-downloads/x11_1.png" title="The default X11 terminal - xterm" style="border: 1px solid #000" /></p>
<p>When you launch it, you will notice it looks like the terminal. Well, it&#8217;s a bit more than that. It can run programs with GUIs!<br />
(Want to see an example? Type <code>xeyes</code> in the window and press enter.)</p>
<p>Now, let&#8217;s log into the Engineering lab using this program, but we&#8217;re going to use a slightly different command:</p>
<p><code>ssh -X yourlogin@remote.engg.ucalgary.ca</code></p>
<p>As before, you&#8217;ll want to replace <code>yourlogin</code> with the username you use to login, and then enter your password when it asks you for it. And when you login, it will look like what we had before with the Terminal. Now, try to use xemacs:</p>
<p><code>xemacs writeup</code></p>
<p><img src="/wp-downloads/x11_2.png" title="XEMACS running over SSH" style="border: 1px solid #000" /></p>
<p>Excellent, we can now edit our files as if we were using one of the lab computers. Good luck!</p>
<p>Note: I hit a snag with the fonts not showing up properly in XEmacs. The longer way to fix it: If you know what fink is, you can use that to install these packages (at least one of them fixes it):</p>
<ul>
<li>root-freetype
<li>freetype
<li>intlfonts
<li>type1inst
<li>freetype
<li>freefonts
<li>xfontpath</ul>
<p>If you don&#8217;t know what fink is, don&#8217;t bother installing it just for this, that would be too much of a hassle. I&#8217;ll figure something out, or maybe somebody else will.</p>
]]></content:encoded>
			<wfw:commentRss>http://jamesbadger.ca/2005/10/21/remote-login/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

