Skip to content
Snippets Groups Projects
Select Git revision
  • a2b7d470204898b8297469f9e9b6a3bb26bbc8cd
  • master default
  • v1
  • btrfs-backup
4 results

xorg.service

Blame
  • xorg.service 809 B
    [Unit]
    Description=X Windows display server
    After=systemd-user-sessions.service
    
    # D-Bus is necessary for contacting logind. Logind is required.
    Wants=dbus.socket
    After=dbus.socket
    
    Conflicts=getty@tty7.service
    Before=graphical.target
    
    # On systems without virtual consoles, don't start
    ConditionPathExists=/dev/tty7
    
    [Service]
    User=kodi
    SupplementaryGroups=tty
    PAMName=login
    ExecStart=startx
    Type=simple
    Restart=on-abort
    RestartSec=5
    KillMode=control-group
    
    # A virtual terminal is needed.
    TTYPath=/dev/tty7
    TTYReset=yes
    TTYVHangup=yes
    TTYVTDisallocate=yes
    
    # Fail to start if not controlling the tty.
    StandardOutput=tty
    StandardInput=tty
    StandardError=journal
    
    # Log this user with utmp, letting it show up with commands 'w' and 'who'.
    UtmpIdentifier=tty7
    UtmpMode=user
    
    [Install]
    WantedBy=graphical.target