Correction : le serveur VNC ne pouvait pas se lancer si l'écran virtuel existait déjà
This commit is contained in:
parent
944dcd3818
commit
d1ee55498e
1 changed files with 3 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/bin/bash -x
|
||||||
|
|
||||||
colored_star_message() {
|
colored_star_message() {
|
||||||
local color="$1"
|
local color="$1"
|
||||||
|
@ -55,6 +55,8 @@ create() {
|
||||||
"${resolution}@$(get_mainmon_refrate)," \
|
"${resolution}@$(get_mainmon_refrate)," \
|
||||||
"${position}," \
|
"${position}," \
|
||||||
1
|
1
|
||||||
|
else
|
||||||
|
vscreen_name="$(get_vscreen_name)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! vnc_running; then
|
if ! vnc_running; then
|
||||||
|
|
Loading…
Reference in a new issue