From 750b1aa541c6b74fa7d2c5b96d4d62455c079022 Mon Sep 17 00:00:00 2001 From: Hippolyte Chauvin Date: Sat, 20 May 2023 10:42:13 +0200 Subject: [PATCH] =?UTF-8?q?Ajout=20:=20options=20pour=20le=20serveur=20VNC?= =?UTF-8?q?=20sans=20t=C3=AAte?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/headlessvnc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bin/headlessvnc b/bin/headlessvnc index 2ea4362..426bbf3 100755 --- a/bin/headlessvnc +++ b/bin/headlessvnc @@ -42,8 +42,10 @@ is_running() { start() { if ! is_running; then set -e - vncserver > /dev/null - echo 'export DISPLAY=:1;' + vncserver \ + -localhost \ + -alwaysshared \ + -securitytypes none else error "The VNC server is already running!" 4 fi