Guest User
a guest
Apr 20th, 2016
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. [Unit]
  2. Description=Xorg server on %I
  3. Documentation=man:Xorg(1)
  4. Conflicts=getty@%i.service
  5. After=systemd-user-sessions.service
  6.  
  7. [Service]
  8. User=pi
  9. PAMName=login
  10.  
  11. StandardOutput=journal
  12. StandardInput=tty-fail
  13.  
  14. ExecStart=/usr/bin/xinit /usr/bin/chromium-browser --temp-profile --app=http://127.0.0.1/ --incognito --kiosk --disable-translate --window-size=1400,1050 --window-position=0,0 -- -nocursor -nolisten tcp :0 vt${XDG_VTNR}
  15. #ExecStart=/usr/bin/xinit /usr/bin/xterm -geometry 1920x1080 -- -nocursor -nolisten tcp :0 vt${XDG_VTNR}
  16.  
  17. Type=simple
  18.  
  19. Restart=always
  20. RestartSec=0
  21.  
  22. UtmpIdentifier=:0
  23.  
  24. TTYPath=/dev/%I
  25. TTYReset=yes
  26. TTYVHangup=yes
  27. TTYVTDisallocate=yes
  28.  
  29. IgnoreSIGPIPE=no
  30.  
  31. [Install]
  32. WantedBy=graphical.target[\code]
Advertisement
Add Comment
Please, Sign In to add comment