mirror of
https://git.myvelabs.com/novnc/archlinux.git
synced 2026-06-17 05:19:17 +00:00
Add passwordless login
This commit is contained in:
parent
308f10a35d
commit
07b4f54d8d
3 changed files with 23 additions and 27 deletions
|
|
@ -26,7 +26,7 @@ then
|
|||
chmod 0600 ~/.config/tigervnc/passwd
|
||||
fi
|
||||
else
|
||||
echo "SecurityTypes=none" >~/.config/tigervnc/config
|
||||
MYVNC_PASSWORDLESS="-SecurityTypes none"
|
||||
fi
|
||||
|
||||
# Remove VNCPASS env
|
||||
|
|
@ -49,7 +49,7 @@ else
|
|||
fi
|
||||
|
||||
# VNC config
|
||||
cat >>~/.config/tigervnc/config <<- vncconfig
|
||||
cat >~/.config/tigervnc/config <<- vncconfig
|
||||
session=i3
|
||||
dpi=192
|
||||
geometry=1920x1080
|
||||
|
|
@ -150,4 +150,4 @@ done
|
|||
startup
|
||||
|
||||
# Launch Tigervnc
|
||||
/usr/bin/dbus-launch vncserver :0
|
||||
/usr/bin/dbus-launch vncserver :0 ${MYVNC_PASSWORDLESS}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue