aboutsummaryrefslogtreecommitdiff
path: root/scripts/vnc-extend.sh
blob: 6004958f999e144818f0ff13111b6b3bcb7f461c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#!/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