Guest User

Untitled

a guest
Sep 14th, 2018
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. sudo apt-get install x11vnc
  2. sudo x11vnc -storepasswd /etc/x11vnc.pass
  3.  
  4. sudo nano /lib/systemd/system/x11vnc.service
  5.  
  6. [Unit]
  7. Description=Start x11vnc at startup.
  8. After=multi-user.target
  9. [Service]
  10. Type=simple
  11. ExecStart=/usr/bin/x11vnc -auth guess -forever -loop -noxdamage -repeat -rfbauth /etc/x11vnc.pass -rfbport 5900 -shared
  12. [Install]
  13. WantedBy=multi-user.target
  14.  
  15. sudo systemctl enable x11vnc.service
  16. sudo systemctl daemon-reload
  17.  
  18. ...
  19. [xrdp1]
  20. name=Remote Session
  21. lib=libvnc.so
  22. username=ask
  23. password=ask
  24. ip=127.0.0.1
  25. port=ask-1
  26.  
  27. [xrdp2]
  28. name=Local Session
  29. lib=libvnc.so
  30. username=
  31. password=ask
  32. ip=127.0.0.1
  33. port=5900
  34. ...
  35.  
  36. sudo shutdown -r now
Add Comment
Please, Sign In to add comment