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 -foreverThe terminal will return the following message:
Step 3: Install xvncviewer in Ubuntu as the client viewer.
Step 4: Run xvncviewer and use ``192.168.7.2:5900'' to connect to BBB.
Here is the desktop of BBB:
No comments:
Post a Comment