ReverseFlux

kjl

Feb 19th, 2017
117
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. After=x@vt7.service systemd-user-sessions.service
  4. Wants=x@vt7.service
  5. Conflicts=getty@tty7.service
  6.  
  7. [Service]
  8. User=%i
  9. TTYPath=/dev/tty7
  10. PAMName=login
  11. Environment=DISPLAY=:0
  12. WorkingDirectory=/home/%I
  13. Nice=0
  14. ExecStart=/bin/bash -l -c "cd; startx >/dev/null 2>&1"
  15.  
  16. [Install]
  17. WantedBy=graphical.target
Add Comment
Please, Sign In to add comment