1
0
Fork 0
forked from ahurac/dotfiles

Correction : le serveur VNC ne pouvait pas se lancer si l'écran virtuel existait déjà

This commit is contained in:
Hippolyte Chauvin 2023-05-21 20:22:58 +02:00
parent 944dcd3818
commit d1ee55498e

View file

@ -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