Jump to content

x11vnc auto start script


Martin Gazda

Recommended Posts

Hello,
I'd have a question, please. My goal is to setup the VNC server on Pine64 board to be able to connect to it remotely via RealVNC.
Steps already done:
(1) Armbian_22.11.1_Pine64_jammy_current_5.15.80_xfce_desktop.img.xz burn on 32GB micro sdcard
(2) Armbian works well, it auto starts to nice grafic enviroment XFACE
(3) I am able to connect to Pine64 remotely via Putty and SSH
(4) I have followed this cookbook (#1) to install the x11vnc which works well when starting manually from command line (#2)
#1:https://forum.armbian.com/topic/10330-remote-desktop-with-x11vnc/

#2

/usr/bin/x11vnc -rfbauth /home/bdn/.vnc/passwd -shared -ultrafilexfer -bg -o /var/log/x11vnc.log 

(5) now I need to adjust the script "x11vnc.service" to run the x11vnc at startup. There (#1) is remark
"I use lightdm as display manager. If you use another display manager, change the line "After=lightdm.service" with your display manager."
So the question is how shall I change this line in my case if I use XFACE?
Thank you.

After=lightdm.service
Edited by Martin Gazda
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines