I have been trying to connect from my laptop to my desktop (2 monitors) and only show one of the monitors to my laptop but 2 monitors are always shown beside each other.
What I have tried:
x11vnc -display :0.0Instead of just 0. Which just shows both monitorsx11vnc -display :0.1Which gives an errorXOpenDisplay failed (:0.1)x11vnc -display :1Which gives the same error as above but :1
I have tried to show the options for display peramiter by doing both
(cd /tmp/.X11-unix && for x in X*; do echo ":${x#X}"; done) Which only gives :0
And
for m in $(xrandr --query | grep " connected" | cut -d" " -f1)
do
echo $m
done
Which gives
HDMI-0
DP-0
I have also read x11vnc's wiki and xorg's wiki
Also, I have looked at nvidia settings and it shows only 1 screen under x server information which if confusing as it recognised 2 monitors. (I have looked for answers to this but nothing I have found works). For further info, I am running arch and i3. With my xserver running at login with This