From b5ea01a380246e15fe2ba6ac1a410989e2f1c743 Mon Sep 17 00:00:00 2001 From: Shiham Abdul Rahman Date: Thu, 10 Nov 2022 08:57:01 +0500 Subject: [PATCH] some fixes to x11vnc --- x11vnc-remote-extended-display/extended-display.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/x11vnc-remote-extended-display/extended-display.sh b/x11vnc-remote-extended-display/extended-display.sh index b4c0ea7..70e069a 100755 --- a/x11vnc-remote-extended-display/extended-display.sh +++ b/x11vnc-remote-extended-display/extended-display.sh @@ -29,11 +29,15 @@ xrandr | grep disconnected | awk '{print $1}' echo "---------------" read -p 'Enter one of the ports to be used for VNC: ' PORT +echo Adding new display xrandr --addmode $PORT $RESOLUTION sleep 2 +echo Activating new display +sleep 2 xrandr --output $PORT --mode $RESOLUTION - +echo "---------------" echo Configure the new diplay where you want +echo "---------------" sleep 3 arandr >> /dev/null GEO=$(xrandr | grep $PORT | awk '{print $3}')