forked from ahurac/dotfiles
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() {
|
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
|
||||||
|
|
Loading…
Reference in a new issue