From Round Hog, 3 Weeks ago, written in Plain Text.
Embed
  1. yay -S x11vnc
  2. wget https://gitweb.gentoo.org/repo/gentoo.git/plain/x11-misc/x11vnc/files/x11vnc.conf.d
  3. wget https://gitweb.gentoo.org/repo/gentoo.git/plain/x11-misc/x11vnc/files/x11vnc.init.d
  4. doas mv x11vnc.conf.d /etc/conf.d/x11vnc
  5. doas mv x11vnc.init.d /etc/init.d/x11vnc
  6. doas chmod 755 /etc/init.d/x11vnc
  7.  
  8. doas nvim /etc/conf.d/x11vnc
  9. X11VNC_OPTS="-clip xinerama0 -noxdamage -noxrecord -noxfixes"
  10. doas cp ~/.Xauthority /root/
  11. doas rc-service xdm stop
  12. doas rc-service x11vnc start