From 3584d8c3cb19d266166937046bdcaeb498edc807 Mon Sep 17 00:00:00 2001 From: Dmitry Maksyoma Date: Sun, 18 Jul 2021 23:05:11 +1200 Subject: [PATCH] Refactor easy start script --- builder/startup/deb/kasmvncserver-easy-start | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/builder/startup/deb/kasmvncserver-easy-start b/builder/startup/deb/kasmvncserver-easy-start index ad0d773..bcd9383 100755 --- a/builder/startup/deb/kasmvncserver-easy-start +++ b/builder/startup/deb/kasmvncserver-easy-start @@ -130,10 +130,14 @@ if [[ "$action" = "kill" ]]; then exit fi +setup_de_to_run_via_xstartup() { + generate_xstartup "$de_name" +} + detect_desktop_environments ask_user_to_choose_de debug "You selected $de_name desktop environment" -generate_xstartup "$de_name" +setup_de_to_run_via_xstartup vncserver $display -interface $interface vncserver -kill $display