diff --git a/firefox/entrypoint b/firefox/entrypoint index f40a4ef..4fe185e 100755 --- a/firefox/entrypoint +++ b/firefox/entrypoint @@ -26,7 +26,7 @@ then chmod 0600 ~/.config/tigervnc/passwd fi else - MYVNC_PASSWORDLESS="-SecurityTypes none" + echo "SecurityTypes=none" >~/.config/tigervnc/config 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 ${MYVNC_PASSWORDLESS} :0 +/usr/bin/dbus-launch vncserver :0 diff --git a/i3/entrypoint b/i3/entrypoint index e7d4797..258c2d3 100755 --- a/i3/entrypoint +++ b/i3/entrypoint @@ -26,7 +26,7 @@ then chmod 0600 ~/.config/tigervnc/passwd fi else - MYVNC_PASSWORDLESS="-SecurityTypes none" + echo "SecurityTypes=none" >~/.config/tigervnc/config 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 @@ -84,4 +84,4 @@ tztime local { i3status # Launch Tigervnc -/usr/bin/dbus-launch vncserver ${MYVNC_PASSWORDLESS} :0 +/usr/bin/dbus-launch vncserver :0 diff --git a/plasma/entrypoint b/plasma/entrypoint index 747ebbc..f32cc42 100755 --- a/plasma/entrypoint +++ b/plasma/entrypoint @@ -26,7 +26,7 @@ then chmod 0600 ~/.config/tigervnc/passwd fi else - MYVNC_PASSWORDLESS="-SecurityTypes none" + echo "SecurityTypes=none" >~/.config/tigervnc/config fi # Remove VNCPASS env @@ -49,7 +49,7 @@ else fi # VNC config -cat >~/.config/tigervnc/config <<- vncconfig +cat >>~/.config/tigervnc/config <<- vncconfig session=plasmax11 dpi=192 geometry=1920x1080 @@ -70,4 +70,4 @@ kscreenlockerrc exec "${@}" & # Launch Tigervnc -/usr/bin/dbus-launch vncserver ${MYVNC_PASSWORDLESS} :0 +/usr/bin/dbus-launch vncserver :0