On the raspberrypi.com site they had a link to a guy who showed how to set up your pi as headless. It had a decidedly windows bent. But that is OK because on the mac it is much easier :)
On the pi:
On the pi:
pi@raspberrypi ~ $ ifconfig | grep HWaddr
eth0 Link encap:Ethernet HWaddr b8:27:eb:43:91:0c
# Take that HWaddr and then log in to the router and set a reserved ip address for that address
# I set the name to raspberrypi.localnet
On the mac in a terminal session:
ssh pi@raspberrypi -X
# This will allow you to run X back to your mac through the ssh tunnel.
# Prove that it all goes through the tunnel
lxterminal# Works but why use a lxterminal rather than the Mac Terminal program?
# run scratch
scratch
# Get a big blank screen and errors in the terminal session
Executing: /usr/lib/squeak/4.4.7-2357/squeakvm -encoding UTF-8 -vm-display-x11 -xshm -plugins /usr/lib/scratch/plugins/:/usr/lib/squeak/4.4.7-2357/ -vm-sound-alsa /usr/share/scratch/Scratch.image
XShmAttach: BadAccess (attempt to access private resource denied)
X Error: BadShmSeg (invalid shared segment parameter)
Major opcode of failed request: 132
Minor opcode of failed request: 3
Serial number of failed request: 85
X Error: BadShmSeg (invalid shared segment parameter)
Major opcode of failed request: 132
Minor opcode of failed request: 3
Serial number of failed request: 86
X Error: BadShmSeg (invalid shared segment parameter)
Major opcode of failed request: 132
Minor opcode of failed request: 3
Serial number of failed request: 87
# Look at the errors and notice that it has -xshm as an option the errors all seem to be about Shared Memory segments so lets lose the -xshm option
/usr/lib/squeak/4.4.7-2357/squeakvm -encoding UTF-8 -vm-display-x11 -plugins /usr/lib/scratch/plugins/:/usr/lib/squeak/4.4.7-2357/ -vm-sound-alsa /usr/share/scratch/Scratch.image
# Runs dog slow but it runs!