ReverseFlux

kjl

Feb 19th, 2017
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. [Unit]
  2. Description=startx for user %i
  3. [email protected] systemd-user-sessions.service
  4.  
  5. [Service]
  6. User=%i
  7. TTYPath=/dev/tty7
  8. PAMName=login
  9. Environment=DISPLAY=:0
  10. WorkingDirectory=/home/%I
  11. Nice=0
  12. ExecStart=/bin/bash -l -c "cd; startx >/dev/null 2>&1"
  13.  
  14. [Install]
  15. WantedBy=graphical.target
Add Comment
Please, Sign In to add comment