Reload all systemd daemons sudo systemctl daemon-reloadĮnable rvice at boot time. ![]() Now X11 VNC Server is installed, but we need to configure it to auto start on system boot.įor that we will create systemd service to launch X11 VNC Server at boot time.Ĭreate new file named rvice cat <<EOF | sudo tee /lib/systemd/system/rviceĮxecStart=$( which x11vnc ) -auth guess -forever -noxdamage -repeat -rfbauth /etc/x11vnc/vncpwd -o /var/log/x11vnc.log -rfbport 5900 -shared Then enter password and confirm and press Y to write password to file. Sudo x11vnc -storepasswd /etc/x11vnc/vncpwd ![]() Then create encrypted password file sudo mkdir -vp /etc/x11vnc Manual install sudo apt update & sudo apt install -y x11vnc Installation and configuration Install using scriptĬopy this code your terminal: wget -O /tmp/remote-desktop-vnc-server-install.sh & bash /tmp/remote-desktop-vnc-server-install.sh & rm /tmp/remote-desktop-vnc-server-install.sh ![]() How to force ntpd to update date after boot
0 Comments
Leave a Reply. |