1 Commits

Author SHA1 Message Date
0882cfba59 testing _next_display 2020-04-26 23:49:05 -04:00

View File

@@ -1182,10 +1182,19 @@ EOF"
_installPackage tigervnc-server
local _next_displaynum=$(( _displaynum + 1 ))
_getNextAvailableDisplay() {
:
}
_getNextAvailableDisplay
_next_displaynum=$(( _displaynum + 1 ))
_next_display=":$_next_displaynum"
#local _service_port=$(( _port + 1 ))
[[ -n $_debug ]] && echo "_next_display: $_next_display"
_setVNCPass
if [[ -n $_novncauth ]]; then
@@ -1232,7 +1241,7 @@ EOF"
debug "Running: ${FUNCNAME[0]}"
installPackage xorg-x11-utils
_installPackage xorg-x11-utils
_res=$(xdpyinfo | grep dimensions | awk '{print $2}')
}
_getResolution