LibVNC / x11vnc

a VNC server for real X displays
GNU General Public License v2.0
687 stars 139 forks source link

Running x11vnc -findauth (and -auth guess as well) doesn't detect lightdm XAuthority file #239

Open Firm opened 8 months ago

Firm commented 8 months ago

Version: 0.9.16

To Reproduce

  1. Log as root at the node with lightdm running
  2. Run x11vnc -findauth
  3. See xauth: file /root/.Xauthority does not exist error

Expected Behavior

  1. Log as root at the node with lightdm running
  2. Run x11vnc -findauth
  3. See XAUTHORITY=/var/run/lightdm/root/:0 (or XAUTHORITY=/var/run/lightdm/root/\:0) output

Screenshots (none)

Desktop (please complete the following information):

Additional context

Firm commented 8 months ago

Looks as I found and fix the issue.