Check for wayland first
这个提交包含在:
@@ -1387,9 +1387,9 @@ service_jriver-x11vnc() {
|
||||
|
||||
# If .Xauthority file is missing, generate a dummy for x11vnc -auth guess
|
||||
if [[ ! -f "$HOME/.Xauthority" ]]; then
|
||||
debug "Generating $HOME/.Xauthority"
|
||||
[[ $XDG_SESSION_TYPE == "wayland" ]] &&
|
||||
askOk "Unsupported Wayland session detected for x11vnc, continue?" || return 1
|
||||
debug "Generating $HOME/.Xauthority"
|
||||
execute touch "$HOME/.Xauthority"
|
||||
execute chmod 644 "$HOME/.Xauthority"
|
||||
xauth generate "$DISPLAY" . trusted
|
||||
|
||||
在新工单中引用
屏蔽一个用户