1
0
Fork 0
forked from ahurac/dotfiles

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() { start() {
if ! is_running; then if ! is_running; then
set -e set -e
vncserver > /dev/null vncserver \
echo 'export DISPLAY=:1;' -localhost \
-alwaysshared \
-securitytypes none
else else
error "The VNC server is already running!" 4 error "The VNC server is already running!" 4
fi fi