some fixes to x11vnc
This commit is contained in:
parent
729f2ea8ea
commit
b5ea01a380
@ -29,11 +29,15 @@ xrandr | grep disconnected | awk '{print $1}'
|
|||||||
echo "---------------"
|
echo "---------------"
|
||||||
read -p 'Enter one of the ports to be used for VNC: ' PORT
|
read -p 'Enter one of the ports to be used for VNC: ' PORT
|
||||||
|
|
||||||
|
echo Adding new display
|
||||||
xrandr --addmode $PORT $RESOLUTION
|
xrandr --addmode $PORT $RESOLUTION
|
||||||
sleep 2
|
sleep 2
|
||||||
|
echo Activating new display
|
||||||
|
sleep 2
|
||||||
xrandr --output $PORT --mode $RESOLUTION
|
xrandr --output $PORT --mode $RESOLUTION
|
||||||
|
echo "---------------"
|
||||||
echo Configure the new diplay where you want
|
echo Configure the new diplay where you want
|
||||||
|
echo "---------------"
|
||||||
sleep 3
|
sleep 3
|
||||||
arandr >> /dev/null
|
arandr >> /dev/null
|
||||||
GEO=$(xrandr | grep $PORT | awk '{print $3}')
|
GEO=$(xrandr | grep $PORT | awk '{print $3}')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user