#!/usr/bin/env bash set -euo pipefail DISPLAY=:0 x11vnc \ -display :0 \ -auth /run/user/1000/lyxauth \ -clip 1366x768+1920+0 \ -viewonly \ -noshm \ -noxdamage \ -nowf \ -forever \ -shared \ -rfbauth "$HOME/.config/vnc/passwd" # x11vnc \ # -display :0 \ # -auth /run/user/1000/lyxauth \ # -clip 1366x768+1920+0 \ # -xwarppointer \ # -noshm \ # -noxdamage \ # -forever \ # -shared \ # -rfbauth "$HOME/.config/vnc/passwd" \ # -debug_pointer # x11vnc \ # -display :0 \ # -auth /run/user/1000/lyxauth \ # -clip 1366x768+1920+0 \ # -noshm \ # -noxdamage \ # -nowf \ # -forever \ # -shared \ # -rfbauth "$HOME/.config/vnc/passwd" \ # -debug_pointer