Switch back to user service

This commit is contained in:
2023-03-24 20:34:46 -04:00
parent e4a2e3f031
commit 61a53c79dc

View File

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