To install it, simply run the following command on your tinkerboard
sudo apt-get update
sudo apt-get install x11vnc
Once installed you can start the vnc server using:
x11vnc -noxrecord -forever
If you want to run it with the password, first set a password using the following command
x11vnc -storepasswd
Now you can run the x11vnc with the password, run the command
x11vnc -noxrecord -forever -usepw
Now, on the mac if you want to connect to the tinkerboard in the terminal type
open vnc://ip_address_of_tinkerboard:5900
sudo nano /etc/systemd/system/x11vnc.service
Insert text:
[Unit]
Description=x11vnc remote desktop server
After=multi-user.target
[Service]
Type=simple
ExecStart=/usr/bin/x11vnc -auth guess -forever -loop -noxdamage -repeat -rfbauth /home/per/.vnc/passwd -rfbport 5900 -shared
Restart=on-failure
[Install]
WantedBy=multi-user.target
Run service:
sudo systemctl daemon-reload
sudo systemctl start x11vnc
sudo systemctl status x11vnc
sudo systemctl enable x11vnc.service