A short step through on how to install VNC on Beaglebone Black.
SSH into your Beaglebone.
ssh [email protected]
(Or whatever your BBB IP address is)
opkg install x11vnc
sudo apt-get install x11vnc
Start the VNC server
x11vnc -bg -o %HOME/.x11vnc.log.%VNCDISPLAY -auth /var/run/gdm/auth-for-gdm*/database -display :0 -forever
x11vnc -bg -o %HOME/.x11vnc.log.%VNCDISPLAY -auth /var/run/lightdm/root/:0 -forever
Create a script file to make life easier to start the VNC server.
Add this to the file:
#!/bin/bash x11vnc -bg -o %HOME/.x11vnc.log.%VNCDISPLAY -auth /var/run/lightdm/root/:0 -forever
Save the file using commands Ctrl+o press Enter and the Ctrl+x.
Make the script executable:
chmod a+x startVNC.sh
Execute the script:
2 thoughts to “How to install VNC on Beaglebone Black”
It worked for me.. and thank you..
I understand these frist step, but how i get to open the screnn and seen my beaglebone desktop? thanks four your anwser…