BeagleBone Screen Sharing on OSX

Screen Shot 2013-10-24 at 3.29.58 AM


Debian 7 TightVNC Setup

This tutorial assumes you’ve either completed the basic beaglebone black networking tutorial and/or have Netatalk and the Avahi-daemon installed. Basically you need to be able to access the machine running TightVNC Server via AFP:// and your Mac’s Finder.

If your at all unsure about any of that, read this tutorial first. It covers setting up a minimal XFCE4 gui with debian 7, Otherwise you will need some sort of gui like Unity or LXDE.

First you will need to install tightvnc server with this command.
apt-get install tightvncserver

Next you will need to configure it and start it up. To do this, you can run this command, simply swap the values for whatever you like.
vncserver -geometry 1024x600 -depth 24

To easily access a your TightVNC machine you will need to add a config file to the avahi-daemon.
sudo nano /etc/avahi/services/rfb.service

<?xml version="1.0" standalone='no'?>
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
  <name replace-wildcards="yes">%h</name>

Once you’ve gotten this file setup, restart the service with this command

sudo /etc/init.d/avahi-daemon restart
Now the service should show up in your sidebar as a monitor. Click that will result in a networking error unless you have tightVNC installed and running. If you do have tightvnc running then everything should load up and you’re good to go.

Don’t forget that you’ll have to login using the credentials you entered when you setup your tightvnc server, this includes the relevant username.


You may also like...