Ajout : options pour le serveur VNC sans tête

This commit is contained in:
Hippolyte Chauvin 2023-05-20 10:42:13 +02:00
parent 065843206a
commit 750b1aa541

View file

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