<?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>Tech Trivia &#187; Apple OS X</title>
	<atom:link href="http://www.alethe.com/brad/category/tech-notes/apple-os-x/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.alethe.com/brad</link>
	<description>For those who know just enough to be dangerous</description>
	<lastBuildDate>Sun, 28 Feb 2010 04:45:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Create an ISO image from a DVD in Mac OS X</title>
		<link>http://www.alethe.com/brad/2009/05/create-an-iso-image-from-a-dvd-in-mac-os-x/</link>
		<comments>http://www.alethe.com/brad/2009/05/create-an-iso-image-from-a-dvd-in-mac-os-x/#comments</comments>
		<pubDate>Sun, 10 May 2009 00:26:12 +0000</pubDate>
		<dc:creator>Brad</dc:creator>
				<category><![CDATA[Apple OS X]]></category>
		<category><![CDATA[Tech Notes]]></category>

		<guid isPermaLink="false">http://www.alethe.com/brad/?p=50</guid>
		<description><![CDATA[1. Insert CD/DVD 2. Open a terminal window and use the following command to determine your DVD device: $ drutil status Vendor Product Rev HL-DT-ST DVDRW GSA-S10N AP09 Type: DVD-ROM Name: /dev/disk1 3. Umount the disk with the following command: $ diskutil unmountDisk /dev/disk1 Disk /dev/disk1 unmounted 4. Use the dd command to create the [...]]]></description>
			<content:encoded><![CDATA[<p>1. Insert CD/DVD</p>
<p>2. Open a terminal window and use the following command to determine your DVD device:<br />
<code><br />
$ drutil status<br />
 Vendor   Product           Rev<br />
 HL-DT-ST DVDRW   GSA-S10N   AP09</code><br />
<code><br />
     Type: DVD-ROM              Name: /dev/disk1<br />
</code></p>
<p>3. Umount the disk with the following command:<br />
<code><br />
$ diskutil unmountDisk /dev/disk1<br />
Disk /dev/disk1 unmounted<br />
</code></p>
<p>4. Use the dd command to create the ISO file:<br />
<code><br />
$ dd if=/dev/disk1 of=file.iso bs=2048<br />
</code></p>
<p>5. Mount the ISO file to verify that it is readable:<br />
<code><br />
$ hdid file.iso<br />
</code></p>
<p>If you&#8217;re looking for a utility to allow you to read ISO files on the Windows platform, try <a href="http://www.slysoft.com/en/virtual-clonedrive.html">Virtual Clone drive</a> from SlySoft.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.alethe.com/brad/2009/05/create-an-iso-image-from-a-dvd-in-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using rsync over ssh</title>
		<link>http://www.alethe.com/brad/2009/05/using-rsync-over-ssh/</link>
		<comments>http://www.alethe.com/brad/2009/05/using-rsync-over-ssh/#comments</comments>
		<pubDate>Fri, 08 May 2009 00:58:46 +0000</pubDate>
		<dc:creator>Brad</dc:creator>
				<category><![CDATA[Apple OS X]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tech Notes]]></category>
		<category><![CDATA[rsync]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://www.alethe.com/brad/?p=43</guid>
		<description><![CDATA[You can securely synchronize directory structures between two Linux computers by using the following command: rsync -ave ssh --delete myhost.example.com:Documents/ Documents/ The &#8722;&#8722;delete option ensures that any files or directories that no longer exist on the source are also removed from the destination.]]></description>
			<content:encoded><![CDATA[<p>You can securely synchronize directory structures between two Linux computers by using the following command:</p>
<p><code>rsync -ave ssh --delete myhost.example.com:Documents/ Documents/</code></p>
<p>The &#8722;&#8722;delete option ensures that any files or directories that no longer exist on the source are also removed from the destination.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.alethe.com/brad/2009/05/using-rsync-over-ssh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VNC over SSH</title>
		<link>http://www.alethe.com/brad/2007/05/vnc-over-ssh/</link>
		<comments>http://www.alethe.com/brad/2007/05/vnc-over-ssh/#comments</comments>
		<pubDate>Sat, 26 May 2007 03:12:32 +0000</pubDate>
		<dc:creator>Brad</dc:creator>
				<category><![CDATA[Apple OS X]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tech Notes]]></category>

		<guid isPermaLink="false">http://www.alethe.com/brad/?p=34</guid>
		<description><![CDATA[Sometimes it is useful to manage a Linux server remotely using VNC. A simple and secure method for doing so is to tunnel the VNC connection using Secure Shell. The following instructions have been tested on Redhat Enterprise Linux 5 AS. On the server side: First, we need to ensure the vncserver is actually running. [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes it is useful to manage a Linux server remotely using VNC.  A simple and secure method for doing so is to tunnel the VNC connection using Secure Shell.  The following instructions have been tested on Redhat Enterprise Linux 5 AS.</p>
<p><strong>On the server side:</strong><br />
First, we need to ensure the vncserver is actually running.  SSH to the server or logon at the console as your regular user account.  No root privileges are necessary.  Once logged in, just type <code>vncserver</code>.  You should see something like this:<br />
<span id="more-34"></span><br />
<code>
<pre>[bm@app3 ~]$ vncserver 

You will require a password to access your desktops.

Password:
Verify:
xauth:  creating new authority file /home/bm/.Xauthority

New 'app3.domain.com:1 (app3)' desktop is app3.domain.com:1

Creating default startup script /home/bm/.vnc/xstartup
Starting applications specified in /home/bm/.vnc/xstartup
Log file is /home/bm/.vnc/app3.domain.com:1.log
</pre>
<p></code></p>
<p>If this is the first time you&#8217;ve run the application, you&#8217;ll be prompted to set a password for vnc clients, and it will also create default X Windows session configurations.  You probably don&#8217;t want to use the defaults, so kill the current vnc server instance and edit those files.<br />
<code><br />
[bm@app3 ~] vncserver -kill :1<br />
Killing Xvnc process ID 29181<br />
[bm@app3 ~]$ cat .vnc/xstartup<br />
#!/bin/sh</p>
<p># Uncomment the following two lines for normal desktop:<br />
<strong># unset SESSION_MANAGER<br />
# exec /etc/X11/xinit/xinitrc</strong></p>
<p>[ -x /etc/vnc/xstartup ] &#038;&#038; exec /etc/vnc/xstartup<br />
[ -r $HOME/.Xresources ] &#038;&#038; xrdb $HOME/.Xresources<br />
xsetroot -solid grey<br />
vncconfig -iconic &#038;<br />
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &#038;<br />
twm &#038;<br />
</code></p>
<p>Uncomment the lines in bold and then start <code>vncserver</code> again.</p>
<p><strong>On the client side:</strong><br />
Open up a shell window (on your Linux/Mac OS X client) and configure your tunnel to forward the server&#8217;s VNC port (e.g., 5901/tcp) to your localhost.  Please note that the VNC port range starts at 5900 and increases by screen number.  For example, if you are trying to connect to myserver.domain.com:23 (i.e., screen 23), you will need to reference port 5923/tcp.  For the purpose of this article, we&#8217;re assuming there is only one VNC instance running on the server, and the screen number is :1.</p>
<p><code>client:~ user$ ssh remoteserver.domain.com -L 5901/127.0.0.1/5901</code></p>
<p>Now, use your VNC client to connect to localhost:1 or localhost port:5901.</p>
<p>There are several good VNC clients for Mac OS X and Windows, and most distributions of Linux already have VNC installed.</p>
<p><strong>Free VNC Applications:</strong></p>
<ul>
<li><a href="http://www.tightvnc.com/">TightVNC</a>(multi-platform)</li>
<li><a href="http://sourceforge.net/projects/cotvnc/">Chicken of the VNC</a>(Mac OS X)</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.alethe.com/brad/2007/05/vnc-over-ssh/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Flush DNS Cache</title>
		<link>http://www.alethe.com/brad/2006/04/flush-dns-cache/</link>
		<comments>http://www.alethe.com/brad/2006/04/flush-dns-cache/#comments</comments>
		<pubDate>Wed, 12 Apr 2006 16:32:47 +0000</pubDate>
		<dc:creator>Brad</dc:creator>
				<category><![CDATA[Apple OS X]]></category>

		<guid isPermaLink="false">http://www.alethe.com/brad/?p=7</guid>
		<description><![CDATA[You can clear the DNS cache on OS X by entering the following command at the shell prompt. lookupd -flushcache On a windows 2000/XP/2003 system you would type the following from a command prompt. ipconfig /flushdns]]></description>
			<content:encoded><![CDATA[<p>You can clear the DNS cache on OS X by entering the following command at the shell prompt.</p>
<pre>lookupd -flushcache</pre>
<p>On a windows 2000/XP/2003 system you would type the following from a command prompt.</p>
<pre>ipconfig /flushdns</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.alethe.com/brad/2006/04/flush-dns-cache/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Widgets on the Desktop</title>
		<link>http://www.alethe.com/brad/2006/03/widgets-on-the-desktop/</link>
		<comments>http://www.alethe.com/brad/2006/03/widgets-on-the-desktop/#comments</comments>
		<pubDate>Tue, 14 Mar 2006 16:48:06 +0000</pubDate>
		<dc:creator>Brad</dc:creator>
				<category><![CDATA[Apple OS X]]></category>

		<guid isPermaLink="false">http://www.alethe.com/brad/?p=9</guid>
		<description><![CDATA[Sometimes you may want to display widgets on your regular desktop, rather than accessing them through Dashboard. Thankfully, achieving this is pretty easy. Type the followin in a Terminal window: defaults write com.apple.dashboard devmode YES Log out of your session, and then login again to restart the Dashboard process. That&#8217;s it! You now have the [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes you may want to display widgets on your regular desktop, rather than accessing them through Dashboard. Thankfully, achieving this is pretty easy. Type the followin in a Terminal window:</p>
<pre>defaults write com.apple.dashboard devmode YES</pre>
<p>Log out of your session, and then login again to restart the Dashboard process. That&#8217;s it! You now have the capability of displaying widgets on your regular desktop. How do you get them there?</p>
<ul>
<li>Hit F12 to bring up your Dashboard</li>
<li>Find the widget you want on your desktop</li>
<li>While dragging the widget across the Dashboard, hit F12 to return to your regular desktop and drop the widget</li>
<li>To remove the widget from your desktop, just reverse the process. Hit F12 as you&#8217;re dragging the widget, and then drop it back on your Dashboard screen</li>
</ul>
<p>Alternatively, you can just use the <a href="http://widgets.yahoo.com/">Yahoo Widget Engine</a> (works on Windows as well!).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.alethe.com/brad/2006/03/widgets-on-the-desktop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Eject CD from Open Firmware</title>
		<link>http://www.alethe.com/brad/2005/05/eject-cd-from-open-firmware/</link>
		<comments>http://www.alethe.com/brad/2005/05/eject-cd-from-open-firmware/#comments</comments>
		<pubDate>Mon, 09 May 2005 17:12:37 +0000</pubDate>
		<dc:creator>Brad</dc:creator>
				<category><![CDATA[Apple OS X]]></category>

		<guid isPermaLink="false">http://www.alethe.com/brad/?p=14</guid>
		<description><![CDATA[Turn the power on with the power button and hold Command-Option-O-F &#8212; this will boot you into open firmware. Now type eject cd and wait until the CD pops out. Type mac-boot to reboot.]]></description>
			<content:encoded><![CDATA[<p>Turn the power on with the power button and hold Command-Option-O-F &#8212; this will boot you into open firmware. Now type eject cd and wait until the CD pops out. Type mac-boot to reboot.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.alethe.com/brad/2005/05/eject-cd-from-open-firmware/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
