Compare commits
1 Commits
280c97d21a
...
d6649fa249
| Author | SHA1 | Date | |
|---|---|---|---|
| d6649fa249 |
@@ -1193,12 +1193,10 @@ EOF"
|
|||||||
|
|
||||||
_setVNCPass
|
_setVNCPass
|
||||||
|
|
||||||
echo "finished _setVNCPass"
|
|
||||||
|
|
||||||
if [[ -n $_novncauth ]]; then
|
if [[ -n $_novncauth ]]; then
|
||||||
_exec_start_cmd="/usr/bin/vncserver $_next_display -geometry 1440x900 -alwaysshared -name jriver$_next_display -SecurityTypes None -autokill -xstartup /usr/bin/mediacenter$_mversion"
|
_exec_start_cmd="/usr/bin/vncserver $_next_display -geometry 1440x900 -alwaysshared -fg -SecurityTypes None -xstartup /usr/bin/mediacenter$_mversion"
|
||||||
else
|
else
|
||||||
_exec_start_cmd="/usr/bin/vncserver $_next_display -geometry 1440x900 -alwaysshared -rfbauth $HOME/.vnc/jrmc_passwd -autokill -xstartup /usr/bin/mediacenter$_mversion"
|
_exec_start_cmd="/usr/bin/vncserver $_next_display -geometry 1440x900 -alwaysshared -fg -rfbauth $HOME/.vnc/jrmc_passwd -xstartup /usr/bin/mediacenter$_mversion"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
_bash_cmd "cat <<-EOF > $_service_fname
|
_bash_cmd "cat <<-EOF > $_service_fname
|
||||||
@@ -1212,7 +1210,6 @@ $_user_specifier
|
|||||||
ExecStartPre=/bin/sh -c '/usr/bin/vncserver -kill $_next_display > /dev/null 2>&1 || :'
|
ExecStartPre=/bin/sh -c '/usr/bin/vncserver -kill $_next_display > /dev/null 2>&1 || :'
|
||||||
ExecStart=$_exec_start_cmd
|
ExecStart=$_exec_start_cmd
|
||||||
ExecStop=/usr/bin/vncserver -kill $_next_display
|
ExecStop=/usr/bin/vncserver -kill $_next_display
|
||||||
Restart=always
|
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|||||||
Reference in New Issue
Block a user