mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2024-11-28 02:53:41 +01:00
Refactor easy start script
This commit is contained in:
parent
f8bcfcc493
commit
3584d8c3cb
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user