Switch back to user service

This commit is contained in:
2023-03-24 20:33:23 -04:00
parent 652c638d30
commit e4a2e3f031

View File

@@ -1386,7 +1386,7 @@ service_jriver-x11vnc() {
setVNCPass x11vnc setVNCPass x11vnc
# If .Xauthority file is missing, generate a dummy for x11vnc -auth guess # If .Xauthority file is missing, generate a dummy for x11vnc -auth guess
if [[ ! -f $HOME/.Xauthority ]]; then if [[ ! -f "$HOME/.Xauthority" ]]; then
echo "Generating $HOME/.Xauthority" echo "Generating $HOME/.Xauthority"
[[ $XDG_SESSION_TYPE == "wayland" ]] && [[ $XDG_SESSION_TYPE == "wayland" ]] &&
askOk "Unsupported Wayland session detected for x11vnc, continue?" || return 1 askOk "Unsupported Wayland session detected for x11vnc, continue?" || return 1