Remote Access to Apple Desktops
How to access your OS X computer via the command line
To access you OS X computer via the command line you will need to first open a gateway service to the physics department, you can do this two different ways.
Open a VPN Connection
Via SSH
Once you have opened a gateway into the Physics department you can then SSH into your machine. Remember to type the full DNS path for your system e.g:
ssh -X username [at] computername [dot] physics [dot] ox [dot] ac [dot] uk
How to Remotely Access the graphical interface of your OS X computer via VNC
VNC allows you to take control of the graphical interface of OS X. When using VNC please be aware that your screen is still visible to other people and they can take control of the mouse and keyboard.
To use VNC you need to do the following:
Before you leave the Department.
Make sure that Vine VNC Server is installed on your computer, it will either be in the following locations:
/Applications/Vine Server.app
/Applications/Physics/Vine Server.app
DO NOT log out of your system but make sure that you screen is locked.
Once you are external to the Department
Open a gateway into the Physics Department as described in the SSH section and open a SSH connection to your system
From the command line type the following:
/Applications/Physics/Vine\ Server.app/storepasswd password pwdfile
replacing password with a password for the VNC connection.
/Applications/Physics/Vine\ Server.app/OSXvnc-server -rfbauth pwdfile
this starts the VNC Server with the password specified above
Open a VNC Viewer (it's called Screen Sharing in OS X) and type in the full DNS name of your OS X system you will then be prompted for the VNC password.
You should now be connected to the graphical interface of your machine.
Categories: Astrophysics | Mac | Remote Access | Theory
