Compare commits
1 次程式碼提交
d6649fa249
...
0882cfba59
| 作者 | SHA1 | 提交日期 | |
|---|---|---|---|
| 0882cfba59 |
13
installJRMC
13
installJRMC
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user