Monday, November 03, 2014

Connect to Beaglebone Black via VNC client in Ubuntu 12.04

I am planning to run OpenCV sample code in the BBB, and some graphic outputs are necessary.

After some searches and tests, I made it. Here is the minimal steps.

Step 1: Make sure there's x11vnc in BBB which acts as the VNC server.

Step 2: SSH to BBB and run the following command:
x11vnc -bg -o %HOME/.x11vnc.log.%VNCDISPLAY -auth /var/run/gdm/auth-for-gdm*/database -display :0 -forever
The terminal will return the following message:

Step 3: Install xvncviewer in Ubuntu as the client viewer.

Step 4: Run xvncviewer and use ``'' to connect to BBB.

Here is the desktop of BBB:

No comments:

Post a Comment