Advertisement
xyzn

x11vnc Error

Sep 3rd, 2013
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.25 KB | None | 0 0
  1. e/someuser/.Xauthority -display :0
  2. x11vnc -auth /tmp/.gdmzndVlR -display :0
  3. you must have read permission for the auth file.
  4. See also '-auth guess' and '-findauth' discussed below.
  5.  
  6. ** If NO ONE is logged into an X session yet, but there is a greeter login
  7. program like "gdm", "kdm", "xdm", or "dtlogin" running, you will need
  8. to find and use the raw display manager MIT-MAGIC-COOKIE file.
  9. Some examples for various display managers:
  10.  
  11. gdm: -auth /var/gdm/:0.Xauth
  12. -auth /var/lib/gdm/:0.Xauth
  13. kdm: -auth /var/lib/kdm/A:0-crWk72
  14. -auth /var/run/xauth/A:0-crWk72
  15. xdm: -auth /var/lib/xdm/authdir/authfiles/A:0-XQvaJk
  16. dtlogin: -auth /var/dt/A:0-UgaaXa
  17.  
  18. Sometimes the command "ps wwwwaux | grep auth" can reveal the file location.
  19.  
  20. Starting with x11vnc 0.9.9 you can have it try to guess by using:
  21.  
  22. -auth guess
  23.  
  24. (see also the x11vnc -findauth option.)
  25.  
  26. Only root will have read permission for the file, and so x11vnc must be run
  27. as root (or copy it). The random characters in the filenames will of course
  28. change and the directory the cookie file resides in is system dependent.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement