Switch back to user service
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user