{"version":1,"collection":"articles","slug":"vnc-from-your-mac-to-your-raspberry-pi","title":"VNC from your Mac to your Raspberry Pi","summary":"While setting up my RaspberryPi as a media server I thought I’d write a quick article on how I used the Rpi as a headless machine.","publishedAt":"2012-08-14","url":"https://mitchmalone.com/insights/vnc-from-your-mac-to-your-raspberry-pi","markdown":"https://mitchmalone.com/insights/vnc-from-your-mac-to-your-raspberry-pi.md","json":"https://mitchmalone.com/content/articles/vnc-from-your-mac-to-your-raspberry-pi.json","category":"Engineering","subheading":null,"tags":["development","code"],"link":null,"image":{"src":"https://mitchmalone.com/assets/images/articles/940c4326b6b9","variants":{"400":"https://mitchmalone.com/assets/images/articles/940c4326b6b9-400w.webp","800":"https://mitchmalone.com/assets/images/articles/940c4326b6b9-800w.webp","1200":"https://mitchmalone.com/assets/images/articles/940c4326b6b9-1200w.webp","1600":"https://mitchmalone.com/assets/images/articles/940c4326b6b9-1600w.webp"}},"body":[{"_type":"block","_key":"2133d7d179ad81618562f359e6f59c8f","style":"normal","markDefs":[],"children":[{"_type":"span","_key":"s0","text":"Today I received my Raspberry Pi in the mail and I was stoked to power it up. There is something cool about having an open circuit board sitting on your desk and it loaded with only a bare bones Linux distro. As a result I am likely going to write a lot of posts over the coming weeks about my experiences with getting it up and running.","marks":[]}]},{"_type":"block","_key":"2133d7d179ad81edb3e1d45c3ba270b0","style":"normal","markDefs":[],"children":[{"_type":"span","_key":"s0","text":"The first thing I did was plug it in, but due to wanting to conserve power and be good the environment, I am mostly going to use the device via SSH / VNC, so the first thing I wanted to do was configure that. Naturally it didn’t work out of the box right away, but with a little bit of playing around it was up and running in no time.","marks":[]}]},{"_type":"block","_key":"2133d7d179ad81029671c64fca5ebcf1","style":"normal","markDefs":[],"children":[{"_type":"span","_key":"s0","text":"So, just to recap….","marks":[]}]},{"_type":"block","_key":"2133d7d179ad81648ebed3624ee1abc5","style":"normal","markDefs":[],"children":[{"_type":"span","_key":"s0","text":"Host:","marks":["strong"]},{"_type":"span","_key":"s1","text":" Raspberry Pi, default Ubuntu distro ","marks":[]},{"_type":"span","_key":"s2","text":"Client:","marks":["strong"]},{"_type":"span","_key":"s3","text":" Mac","marks":[]}]},{"_type":"block","_key":"2133d7d179ad817f99cccdb870b64662","style":"normal","markDefs":[{"_type":"link","_key":"m0","href":"http://elinux.org/RPi_VNC_Server"}],"children":[{"_type":"span","_key":"s0","text":"The first thing you need to do is install TightVNC. The instructions ","marks":[]},{"_type":"span","_key":"s1","text":"are borrowed from eLinux","marks":["m0"]},{"_type":"span","_key":"s2","text":", but I’ve made a nice little Gist you should be able to just copy and run.","marks":[]}]},{"_type":"block","_key":"2133d7d179ad8151b789c9b7a18ebbba","style":"normal","markDefs":[],"children":[{"_type":"span","_key":"s0","text":"The next thing you want to do is create a nifty little VNC shortcut somewhere. This allows you to quickly launch your native Mac OS X Screen Sharing app. Remember to replace ","marks":[]},{"_type":"span","_key":"s1","text":"pi","marks":["strong"]},{"_type":"span","_key":"s2","text":" with your username, ","marks":[]},{"_type":"span","_key":"s3","text":"your.ip.address.here","marks":["strong"]},{"_type":"span","_key":"s4","text":" with your Raspberry Pi’s IP address, and ","marks":[]},{"_type":"span","_key":"s5","text":"5901","marks":["strong"]},{"_type":"span","_key":"s6","text":" with your port if you used a non-standard port.","marks":[]}]}]}