x11vnc arch/arco sddm (rolling)
Posted 11-22-2023 at 08:55 PM by kleinde66
Updated 01-18-2024 at 12:38 PM by kleinde66 (this set up has quit working)
Updated 01-18-2024 at 12:38 PM by kleinde66 (this set up has quit working)
x11vnc arch/arco sddm (rolling)
as of recently this is not working, changes to tigervnc and maybe systemd (01-18-24)
install x11vnc
create your password
create the file:
open the file:
then copy and past the below lines into nano and save:
lets make sure root owns the new file:
give the file the right permission:
reload the daemon:
then start x11vnc:
as of recently this is not working, changes to tigervnc and maybe systemd (01-18-24)
install x11vnc
Code:
$ sudo pacman -S x11vnc
Code:
$ sudo x11vnc -storepasswd (yourpassword) /etc/x11vnc.pass
Code:
$ sudo touch /etc/systemd/system/x11vnc.service
Code:
$ sudo nano /etc/systemd/system/x11vnc.service
Code:
[Unit] Description=x11vnc VNC Server for X11 Requires=display-manager.service After=display-manager.service StartLimitIntervalSec=0 [Service] ExecStartPre=/bin/sleep 30 Type=forking ExecStartPre=/usr/bin/bash -c "/usr/bin/systemctl set-environment SDDMXAUTH=$(/usr/bin/find /var/run/sddm/ -type f)" ExecStart=/usr/bin/x11vnc -wait 50 -display :0 -auth ${SDDMXAUTH} -ncache 10 -forever -shared -bg -o /var/log/x11vnc.log -rfbauth /etc/x11vnc.passwd -xkb -norc -noxrecord -noxdamage -nomodtweak -multiptr ExecStop=/usr/bin/killall x11vnc Restart=on-failure #Restart-sec=10 [Install] WantedBy=graphical.target
Code:
$ chown root:root /etc/systemd/system/x11vnc.service
Code:
$ chmod 700 /etc/systemd/system/x11vnc.service
Code:
$ systemctl daemon-reload
Code:
$ systemctl start x11vnc
Total Comments 0