|
Edited by kris777 at 2017-2-21 04:40
alternative for tightvncserver : x11vnc
apt-get install x11vnc
.....................
theuser@debian:~$ x11vnc -storepasswd
Enter VNC password: ....
Verify password: ....
Write password to /home/theuser/.vnc/passwd? [y]/n y
Password written to: /home/theuser/.vnc/passwd ... or ......... /root/.vnc/passwd
run the server script for example : vnc.sh
the contents of the script:
- #!/bin/bash
- x11vnc -display :0 -forever -shared -o /root/x11vnc.log -bg -rfbauth /root/.vnc/passwd
Copy code
executable file : chmod +x /root/vnc.sh
run server : /root/vnc.sh
x11vnc Autostart (Armbian)
entry in /etc/rc.local
- /bin/sh /root/vnc.sh &
- exit 0
Copy code
- #!/bin/bash
- sleep 15
- x11vnc -display :0 -forever -shared -o /root/x11vnc.log -bg -rfbauth /root/.vnc/passwd
Copy code
important entry to sleep 15 .... boot time to run Armbian
It works for me :-)
|
|