Skip to content
View in the app

A better way to browse. Learn more.

Learn more

x11vnc Autostart

Featured Replies

Hello.

I´ve buyed an Odrid c2 and installed armbian. Now i installed the x11vnc server and it works only when i start it manual.

 

It start in putty with:       sudo x11vnc -usepw -forever -display :0          or with the Desktop gui version. Then i can connect from my Windows PC.

 

I installed it with these: http://www.gtkdb.de/index_36_2265.html(yes, i renamed it with my account name) but the autostart doesn´t work.

 

Then i edit the /etc/rc.local file and wrote            x11vnc -display :0 -forever -usepw -ultrafilexfer            before the exit 0 command. but it doesn´t start after reboot.

 

Can anyone help me with this please?

 

Sorry for my bad english^^

trick works for me:
entry in /etc/rc.local
/bin/sh /root/vnc.sh &

exit 0

create a script in /root/vnc.sh

executable file : chmod +x /root/vnc.sh

Sample contents of the file:

#!/bin/bash
sleep 15
x11vnc -display :0 -forever -shared -o /root/x11vnc.log -bg -rfbauth /root/.vnc/passwd

important entry to sleep 15 .... boot time to run Armbian 

It works for me :-)

ps. but I use orange pi lite / Armbian 5.20

Guest
This topic is now closed to further replies.

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.