Refactor easy start script

This commit is contained in:
Dmitry Maksyoma 2021-07-18 23:05:11 +12:00
parent f8bcfcc493
commit 3584d8c3cb

View File

@ -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