<?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>Conceptric &#187; Mac User</title>
	<atom:link href="http://www.conceptric.co.uk/category/mac/feed" rel="self" type="application/rss+xml" />
	<link>http://www.conceptric.co.uk</link>
	<description>Ideas and Applications</description>
	<lastBuildDate>Thu, 02 Jul 2009 14:03:39 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>A remote future for my Mac mini</title>
		<link>http://www.conceptric.co.uk/a-remote-future-for-my-mac-mini.htm</link>
		<comments>http://www.conceptric.co.uk/a-remote-future-for-my-mac-mini.htm#comments</comments>
		<pubDate>Fri, 11 Apr 2008 16:18:01 +0000</pubDate>
		<dc:creator>James Whinfrey</dc:creator>
				<category><![CDATA[Everything]]></category>
		<category><![CDATA[Mac User]]></category>
		<category><![CDATA[Personal Perspectives]]></category>
		<category><![CDATA[Posts]]></category>
		<category><![CDATA[mac mini]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[vine server]]></category>
		<category><![CDATA[vnc]]></category>

		<guid isPermaLink="false">http://www.jameswhinfrey.co.uk/?p=46</guid>
		<description><![CDATA[I&#8217;ve come up with a brilliant idea to reuse my old Mac mini. I&#8217;m going to convert it into a server on my local network for development and hosting our personal web projects. 
OK&#8230; not very original, but the key point is that I want to be able to use the wireless networking, stick it [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve come up with a brilliant idea to reuse my old Mac mini. I&#8217;m going to convert it into a server on my local network for development and hosting our personal web projects. </p>
<p>OK&#8230; not very original, but the key point is that I want to be able to use the wireless networking, stick it anywhere, and not have to worry about peripherals. A very mobile server.</p>
<p>I already work with remote servers over public networks, and rarely use anything but the command line. For this project I wanted to be able to use the Mac desktop. This seemed the perfect excuse to play with <abbr title="Virtual Network Computing">VNC</abbr>. Additionally, I frequently use <abbr title="Secure SHell">SSH</abbr> and <abbr title="Public Key Infrastructure">PKI</abbr> for encryption and authentication respectively, but not VNC.</p>
<h3>The Plan.</h3>
<p>It seemed to me that there were several parts to the problem, with only one of which I&#8217;m familiar.</p>
<ol>
<li>Configure a VNC Client on the local machine.</li>
<li>Configure a VNC Server on the remote machine behind a firewall.</li>
<li>Enable SSH communication through the firewall.</li>
<li>Lock it all up using an SSH tunnel through the firewall so the Server and Client could talk.</li>
</ol>
<p>Now to work!</p>
<h3>The Client.</h3>
<p>I settled on <a href="http://sourceforge.net/projects/cotvnc/">Chicken of the VNC</a> (<abbr title="Chicken of the VNC">COTVNC</abbr>), a open source project providing a VNC Client for Mac OS-X. Great, that&#8217;s just what I want and it gets good reviews, but I guess most other clients out there would work too.</p>
<p>Once installed COTVNC takes almost no configuration, that all comes later in the SSH and Server.</p>
<div style="text-align:center;"><img src="http://www.jameswhinfrey.co.uk/wp-content/uploads/cotvnc-login.jpg" title="Connection with COTVNC" alt="Connection set-up dialogue for Chicken of the VNC" width="400" height="247" /></div>
<p>You might be able to see that I set up two connections; one for an unsecured connection, so that I could see if the security measures locked me out later; and this one for the secured connection, that&#8217;s why the host is the local machine.</p>
<h3>The Server.</h3>
<p>First I tried Apple Remote Desktop (<abbr title="Apple Remote Desktop">ARD</abbr>), but found it a little slow, but more importantly I couldn&#8217;t find a way to close the two ports in the firewall that the service automatically opened. While I&#8217;m diligently using SSH tunnelling to avoid compromising the security of my machine, these two ports are sitting there waiting for attack!</p>
<p>Time to try a different approach. I chose to disable the ARD service, closing the firewall again and installed a third party VNC server. The one I selected was <a href="http://www.redstonesoftware.com/products/vine_server">Vine Server from Redstone Software</a>. The reason? Nothing better that I&#8217;d read good things about it in blogs and on message boards, it&#8217;s available for Mac OS-X, and it&#8217;s free.</p>
<div style="text-align:center;"><img src="http://www.jameswhinfrey.co.uk/wp-content/uploads/vine-server-distro.jpg" title="Vine Server for Mac OS-X" alt="What is in the box for Vine Server on Mac OS-X" width="356" height="208" /></div>
<p>For Mac OS-X it downloads as a disk image containing the Server and a Viewer. I just wanted the Server as I&#8217;m using COTVNC, so a drag toward the Applications folder and a double click later I&#8217;m ready to configure things.</p>
<p>Vine server can be run in two different modes; as a System Server that starts automatically whenever the Mac starts up; or as a Desktop Server that can be run like any other application. Since I want to run my Mac mini as a remote headless &#8212; no keyboard, mouse or monitor &#8212; server, I only configured the System Server.</p>
<div style="text-align:center;"><img src="http://www.jameswhinfrey.co.uk/wp-content/uploads/system-server-settings.jpg" title="Vine System Server settings" alt="Settings dialogue for Vine System Server" width="456" height="435" /></div>
<p>Not especially difficult, but the eagle&#8210;eyed out there might have spotted that I didn&#8217;t enable the &#8220;Require Remote Login&#8221; option; in fact I did the first time and bang went any connection. I reasoned that I&#8217;m using SSH tunnelling, so the Server won&#8217;t realise that the connection <em>IS</em> via SSH and block it.</p>
<p>Set the System Server running, checking that it starts up again after a restart, and that&#8217;s the Server done.</p>
<h3>The Secure Protocol.</h3>
<p>Actually, this was pretty easy. Go to <em>System Preferences</em> > <em>Sharing</em> and enable the Remote Login service.</p>
<div style="text-align:center;"><img src="http://www.jameswhinfrey.co.uk/wp-content/uploads/sharing-settings.jpg" title="Sharing settings" alt="Settings to enable the Remote Login service on Mac OS-X" width="400" height="238" /></div>
<p>Make sure that the other services are disabled, unless you have a particular use for them; I&#8217;ll be enabling the Web Sharing service later. This should ensure that the firewall is closed on all ports except the one used for SSH &#8212; port 22.</p>
<h3>The Tunnel.</h3>
<p>The idea of the SSH tunnel was to forward any communications sent between port 5900 &#8212; the default VNC port &#8212; on the local machine and the remote machine, through an encrypted SSH connection.</p>
<p>Now there are lots of utilities to help you manage your SSH world, but I tend to use <a href="http://www.phil.uu.nl/~xges/ssh/">SSH-Agent</a> and the command line. I primarily use SSH-Agent to manage authentication, but it does have the ability to construct tunnels.</p>
<div style="text-align:center;"><img src="http://www.jameswhinfrey.co.uk/wp-content/uploads/ssh-agent-tunnel.jpg" title="SSH-Agent tunnel set-up" alt="Set-up dialogue for SSH tunnels in SSH-Agent" width="500" height="112" /></div>
<p>If you&#8217;ve got PKI set up, you won&#8217;t even need to enter any passwords in order to establish the connection. </p>
<h3>The Result.</h3>
<p>Once your tunnel is connected, you can start up COTVNC, or equivalent, and log&#8210;in!</p>
<div style="text-align:center;"><img src="http://www.jameswhinfrey.co.uk/wp-content/uploads/a-remote-mac1.jpg" title="A desktop over VNC" alt="An image of the desktop on the remote machine" width="400" height="257" /></div>
<p>Everything appears to work and I find Vine Server much more responsive than the Apple free offering.</p>
<p><em>By the way, I tried logging in with the unsecured connection and was kicked out.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.conceptric.co.uk/a-remote-future-for-my-mac-mini.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>First impressions of MarsEdit</title>
		<link>http://www.conceptric.co.uk/first-impressions-of-marsedit.htm</link>
		<comments>http://www.conceptric.co.uk/first-impressions-of-marsedit.htm#comments</comments>
		<pubDate>Thu, 10 Apr 2008 15:56:39 +0000</pubDate>
		<dc:creator>James Whinfrey</dc:creator>
				<category><![CDATA[Everything]]></category>
		<category><![CDATA[Mac User]]></category>
		<category><![CDATA[Posts]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[marsedit]]></category>

		<guid isPermaLink="false">http://www.jameswhinfrey.co.uk/?p=39</guid>
		<description><![CDATA[I&#8217;m writing on the 30 day trial of MarsEdit, the blog editing tool for the Mac.  Given that this is my second post of the day &#8212; very rare, I know &#8212; you might have gathered that I like it.
I&#8217;ve always edited my online content remotely, I have a local copy and can work [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m writing on the <a href="http://www.red-sweater.com/marsedit/">30 day trial of MarsEdit</a>, the blog editing tool for the Mac.  Given that this is my second post of the day &#8212; very rare, I know &#8212; you might have gathered that I like it.</p>
<p>I&#8217;ve always edited my online content remotely, I have a local copy and can work off&#8211;line. I use <a href="http://macromates.com/">TextMate</a> for most of my development work and I&#8217;ve been using it for blogging too.</p>
<p>OK&#8230; I was reluctant to change. I like having full control over mark&#8211;up and haven&#8217;t been impressed by a <acronym title="What You See Is What You Get">WYSIWYG</acronym> editor yet, for Web use at least. Untried, I ranked MarsEdit amongst them.</p>
<p>I must apologise to the developers. It&#8217;s a great and flexible tool. Hope I&#8217;ll be doing a little more blogging!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.conceptric.co.uk/first-impressions-of-marsedit.htm/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Virtualizing my world</title>
		<link>http://www.conceptric.co.uk/virtualizing-my-world.htm</link>
		<comments>http://www.conceptric.co.uk/virtualizing-my-world.htm#comments</comments>
		<pubDate>Thu, 10 Apr 2008 15:38:01 +0000</pubDate>
		<dc:creator>James Whinfrey</dc:creator>
				<category><![CDATA[Everything]]></category>
		<category><![CDATA[Mac User]]></category>
		<category><![CDATA[Personal Perspectives]]></category>
		<category><![CDATA[Posts]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[virtualization]]></category>
		<category><![CDATA[vmware fusion]]></category>
		<category><![CDATA[xen]]></category>

		<guid isPermaLink="false">http://www.jameswhinfrey.co.uk/?p=38</guid>
		<description><![CDATA[Virtualization is definitely a big trend in computing and I&#8217;m growing to love it.
On the Web.
My production server environment is virtualized by the Xen hypervisor; providing a more flexible and cost effective solution.
I like the freedom of complete root access but, given my relatively low traffic volumes, the cost of a dedicated server would be [...]]]></description>
			<content:encoded><![CDATA[<p>Virtualization is definitely a big trend in computing and I&#8217;m growing to love it.</p>
<h3>On the Web.</h3>
<p>My production server environment is virtualized by the <a href="http://xen.xensource.com/">Xen hypervisor</a>; providing a more flexible and cost effective solution.</p>
<p>I like the freedom of complete root access but, given my relatively low traffic volumes, the cost of a dedicated server would be prohibitive. However, Xen provides me with my own little chunk of hardware resources that no other user&#8217;s going to break for me. </p>
<p>The great thing is that these resources can be altered very quickly to respond to changes in my requirements; great scalability in a changeable world.</p>
<h3>On the Desktop.</h3>
<p>I&#8217;m also making extensive use of virtualization on my desktop using VMWare Fusion. I&#8217;m a Mac user, but one of the attractions of the VMWare product is the interchangeability of any virtual machine (<abbr title="Virtual Machine">VM</abbr>) between platforms. </p>
<h4>VMWare Fusion.</h4>
<p>VMWare have been in the business of <a href="http://www.vmware.com/virtualization/">Virtualization</a> of a while now, and have a powerful range of products. Whilst many of these are targeted at the enterprise environment, Fusion is definitely a consumer product; in a good way; and the benefits to me so far&#8230;</p>
<ul>
<li>Surprisingly seamless Windows XP including Office, in my experience a much better product than the sadly neglected Mac version. Fusion has a &#8216;Unity&#8217; mode, which places these applications, running in a Windows environment, right on my Mac desktop.</li>
<li>I&#8217;ve tried different Linux flavours for the desktop and server, and I haven&#8217;t needed multiple machines. A great asset when you like to dabble but don&#8217;t have much free space; small house you see; and want to keep the bills down.</li>
<li>I&#8217;ve tried a whole range of software products without the usual worry of messing up my regular working platform, if it all goes wrong I just delete the VM and start again. If I might want to return to this set&#8210;up again, I can take a snapshot of the current installation, or copy the VM file to a backup location so I don&#8217;t have to start from scratch each time.</li>
<li>Finally, I&#8217;ve build VMs of the production server for deployment testing. I know that they&#8217;re not identical, but they&#8217;ve been good enough to iron out problems in build and deployment scripts before unleashing them on the production server itself.</li>
</ul>
<h4>A virtual network.</h4>
<p>Fusion has a built&#8210;in <abbr title="Dynamic Host Configuration Protocol">DHCP</abbr> server to provide <abbr title="Internet Protocol">IP</abbr> addresses, or they can be assigned by an external network using the bridged network option.</p>
<p>After exploring these options I discovered that I could build a virtual development network right on my laptop and make it as private as I want. Oh, yes, you can fix the IPs the server hands out, making it much easier to edit that hosts file.</p>
<p>The <acronym title="Network Address Translation">NAT</acronym> option can access the outside world, to install updates for example, by sharing the host connection. However it&#8217;s protected from external access. My physical home network uses NAT via an <abbr title="Asymmetric Digital Subscriber Line">ADSL</abbr> router, but this is a great option if you&#8217;re likely to take your laptop network out on the road and I use it for the majority of my installations.</p>
<p>If you&#8217;re even more worried about unauthorised access to your latest development project, you can use the host&#8210;only option; access only from the host machine or other local VMs using this network set&#8210;up.</p>
<p>With all the VMs using the same network option, they can all see and access one another. So now I can write my code on the host Mac, test deployment to a virtual <a href="http://www.centos.org/">CentOS</a> Linux server, and check how it looks on Windows. It&#8217;s self contained, I can flip between machines and it&#8217;s all totally mobile.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.conceptric.co.uk/virtualizing-my-world.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The MacBook&#8217;s back</title>
		<link>http://www.conceptric.co.uk/the-macbooks-back.htm</link>
		<comments>http://www.conceptric.co.uk/the-macbooks-back.htm#comments</comments>
		<pubDate>Fri, 16 Nov 2007 16:31:26 +0000</pubDate>
		<dc:creator>James Whinfrey</dc:creator>
				<category><![CDATA[Everything]]></category>
		<category><![CDATA[Mac User]]></category>
		<category><![CDATA[Posts]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[laptop]]></category>
		<category><![CDATA[macbook pro]]></category>

		<guid isPermaLink="false">http://www.jameswhinfrey.co.uk/the-macbooks-back.htm</guid>
		<description><![CDATA[I went over to the Apple Centre in Solihull, that&#8217;s in the UK, to pick up my newly repaired MacBook Pro this Monday. I thought I&#8217;d wait a bit before posting the results to make sure that the fix actually worked.
I can&#8217;t fault the service I received from the Apple Centre, but the quality of [...]]]></description>
			<content:encoded><![CDATA[<p>I went over to the Apple Centre in Solihull, that&#8217;s in the UK, to pick up my newly repaired MacBook Pro this Monday. I thought I&#8217;d wait a bit before posting the results to make sure that the fix actually worked.</p>
<p>I can&#8217;t fault the service I received from the Apple Centre, but the quality of Apple&#8217;s online and telephone support is appalling. </p>
<p>I went round and round the automated telephone system chasing the status of my repair until I felt like I was about the have a brain haemorrhage. I&#8217;d already tried the online service only to find that it had no more idea about the status of my laptop than I did! Fortunately, I got a call from Solihull to tell me the laptop was ready just as a was beginning to wonder if I&#8217;d ever see it again.</p>
<p>It turns out that is was a failure of the new LED display, and to their credit Apple duly replaced the whole clamshell unit containing the screen. The fix seems to have worked, but my confidence in the design&#8217;s longevity has definitely been shaken. This blow is particularly keen due to the fact that the repair would&#8217;ve cost nearly Â£400 if the laptop wasn&#8217;t under warranty.</p>
<p>The long term question is now whether I should consider taking out the AppleCare extended warranty. It&#8217;s a lot of money, Â£279 for two extra years, but if the equipment is this unreliable&#8230;?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.conceptric.co.uk/the-macbooks-back.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The thing about Apple</title>
		<link>http://www.conceptric.co.uk/the-thing-about-apple.htm</link>
		<comments>http://www.conceptric.co.uk/the-thing-about-apple.htm#comments</comments>
		<pubDate>Fri, 09 Nov 2007 10:24:20 +0000</pubDate>
		<dc:creator>James Whinfrey</dc:creator>
				<category><![CDATA[Everything]]></category>
		<category><![CDATA[Mac User]]></category>
		<category><![CDATA[Posts]]></category>
		<category><![CDATA[apple]]></category>

		<guid isPermaLink="false">http://www.jameswhinfrey.co.uk/the-thing-about-apple.htm</guid>
		<description><![CDATA[Back in the System 6 era, Apple Macs were niche products; well made, often expensive and largely found in academic circles. I always felt the problem was that Apple had a clearly superior product, but were just plain rubbish at marketing themselves. Wow, times sure change! 
My first Apple was back in the days of [...]]]></description>
			<content:encoded><![CDATA[<p>Back in the System 6 era, Apple Macs were niche products; well made, often expensive and largely found in academic circles. I always felt the problem was that Apple had a clearly superior product, but were just plain rubbish at marketing themselves. Wow, times sure change! </p>
<p>My first Apple was back in the days of System 6 and a the Mac Plus, a combination that comprehensively beat the pants off the Windows offering of the day. Apple hardware was better build and more reliable that the generic PC equivalent and the software was more polished and usable. But that Apple was never any good at mass marketing, and the resulting niche market lead to lower volumes with higher costs.</p>
<p>Apple have always had a knack for well executed, innovative design. Their hardware and operating system software has always been inseparable, making their developers jobs a little easier and leading to more complete products; a deliberate move.</p>
<p>In addition, the Apple of today is a more efficient and focused corporate entity with effective marketing at its core. Look at the way they&#8217;ve trained people like Pavlov and his dogs; the website goes down and the Web is full of rumour about fabulous new devices.</p>
<p>But I guess this must come at a price and that is the old business models, where products were released when they were ready. Microsoft has long been marked as an example of the worst excesses of technology corporations, but is Apple much different any longer? I personally don&#8217;t think so, and not just because my bad MacBook Pro experience. </p>
<p>To be fair, the bigger your market share the greater the probability the people will talk about your failures. Yet we&#8217;re all hungry for the next big thing. No wonder technology companies now frequently practice early prototyping, fixing the problems in after-sales. It&#8217;s a tricky tightrope between reputation and lost market share.</p>
<p>In short, the mass marketing Apple has joined Microsoft in the big time and is bound by the same rules. Why should we expect a different result?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.conceptric.co.uk/the-thing-about-apple.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A new MacBook Pro</title>
		<link>http://www.conceptric.co.uk/a-new-macbook-pro.htm</link>
		<comments>http://www.conceptric.co.uk/a-new-macbook-pro.htm#comments</comments>
		<pubDate>Thu, 08 Nov 2007 15:17:30 +0000</pubDate>
		<dc:creator>James Whinfrey</dc:creator>
				<category><![CDATA[Everything]]></category>
		<category><![CDATA[Mac User]]></category>
		<category><![CDATA[Posts]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[laptop]]></category>
		<category><![CDATA[macbook pro]]></category>

		<guid isPermaLink="false">http://www.jameswhinfrey.co.uk/a-new-macbook-pro.htm</guid>
		<description><![CDATA[I&#8217;m an Apple user that recently I splashed out on a 15 inch, 2.2 GHz MacBook Pro. So why am I having to write this on my old Mac mini?
The day came and I received my MacBook Pro; beautifully presented in carefully designed and executed packaging. I opened it up and was immediately impressed by [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m an Apple user that recently I splashed out on a 15 inch, 2.2 GHz MacBook Pro. So why am I having to write this on my old Mac mini?</p>
<p>The day came and I received my MacBook Pro; beautifully presented in carefully designed and executed packaging. I opened it up and was immediately impressed by build quality that put my past laptops, Dell and Toshiba, to shame. The new LED screen was the very impressive, almost as good as my external Dell 2007WFP.</p>
<p>Before you get the impression that I&#8217;m one of those people that get over excited by anything with an Apple on it, I should point out that the MacBook Pro is not without faults. It lacks a few USB ports, could do with more battery life, gets too hot for my liking; though I&#8217;ve never felt in physical danger; and as a result the fan can get a little loud.</p>
<p>However, in use everything was going as well as I had hoped. All my favourite applications worked well and I am a convert to virtualisation, with both Windows XP and CentOS Linux running at the first attempt. </p>
<p>But less than three months later and I&#8217;m using my good old Mac mini again. The display suddenly dimmed and started to flicker. The local Genius bar, 30 miles away, think that either the backlight or display logic board has failed and are going to replace them under warranty. They were helpful and very apologetic, but have had it for six days now and I&#8217;ve not heard anything. </p>
<p>It&#8217;s pretty disappointing for what I previously considered a quality brand. I&#8217;ll be posting how well Apple handle the problem, both this repair and the ongoing MacBook performance.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.conceptric.co.uk/a-new-macbook-pro.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
