Guest User

Untitled

a guest
Dec 30th, 2017
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. ==== AUTHENTICATING FOR org.freedesktop.policykit.exec ====
  2. Authentication is needed to run `/usr/sbin/env' as the super user
  3. Authenticating as: we
  4. Password:
  5.  
  6. [Unit]
  7. Description=Remote desktop service (VNC)
  8. After=syslog.target network.target
  9.  
  10. [Service]
  11. Type=simple
  12. User=we
  13. Environment=XAUTHORITY=/home/we/.Xauthority
  14.  
  15. ExecStartPre=/bin/sh -c '/usr/bin/vncserver -kill %i >/dev/null 2>&1 || true'
  16. ExecStart=/usr/bin/vncserver %i -fg -securitytypes none -xstartup /home/we/.vnc/xstartup
  17. ExecStop=/usr/bin/vncserver -kill %i
  18.  
  19. [Install]
  20. WantedBy=multi-user.target
  21.  
  22. #!/bin/bash
  23. dbus-launch startxfce4
  24.  
  25. securitytypes=none
Add Comment
Please, Sign In to add comment