Ajout : options pour le serveur VNC sans tête
This commit is contained in:
parent
065843206a
commit
750b1aa541
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue