Archive for the ‘OSX’ Category

Turn on Screen Sharing via SSH Terminal Command Line

Monday, February 25th, 2013

To Turn on Screen Sharing

/System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -on -clientopts -setvnclegacy -vnclegacy yes -clientopts -setvncpw -vncpw mypasswd -restart -agent -privs -all

To Turn off Screen Sharing
/System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -deactivate -configure -access -off

Install Mac Mini Server without a DVD ROM Remotely

Sunday, August 29th, 2010

There is a number of ways to install a Mac Mini Server Remotely. I found the following way seems to be the easiest among the others.

Pre-requistics:
1. you have a Mac Mini Server connected to a Network (preferably over Gigabit Ethernet)
2. you have a Mac Book connected to a the same Network with the Mac Mini Server (preferably over Gigabit Ethernet)

Procedures:
1. Insert the Installation DVD onto the Mac Book.
2. on your Mac Book, Open the HDD > Applications > Utilities, Start Remote Install Mac OS X
3. Press and Hold the “OPTION” key (or “ALT” on a PC Keyboard) on the Mac Mini Server and turn on the power
4. Select the Target Installation Disc to start up the computer

Running OSX on VMWare Fusion

Monday, June 7th, 2010

The following steps describe how you can install OS X on VMware Fusion.

sudo su –
cd “/Library/Application Support/VMware Fusion/isoimages”
mkdir original
mv *.sig original
mv darwin.iso original
sed “s/ServerVersion.plist/SystemVersion.plist/g” < original/darwin.iso > darwin.iso
openssl genrsa -out tools-priv.pem 2048
openssl rsa -in tools-priv.pem -pubout -pubout -out tools-key.pub
openssl dgst -sha1 -sign tools-priv.pem < darwin.iso > darwin.iso.sig
for A in *.iso ; do openssl dgst -sha1 -sign tools-priv.pem < $A > $A.sig ; done
exit