131 lines
4.1 KiB
Plaintext
131 lines
4.1 KiB
Plaintext
[supervisord]
|
|
user=root
|
|
nodaemon=true
|
|
|
|
[program:ssh]
|
|
autostart=true
|
|
priority=10
|
|
directory=/
|
|
command=/usr/sbin/sshd -D
|
|
user=root
|
|
autorestart=true
|
|
stopsignal=QUIT
|
|
|
|
[program:dbus]
|
|
autostart=true
|
|
priority=10
|
|
directory=/
|
|
command=dbus-daemon --config-file=/usr/share/dbus-1/system.conf --nofork --nopidfile
|
|
user=%(ENV_USER)s
|
|
environment=HOME="/home/%(ENV_USER)s",USER="%(ENV_USER)s"
|
|
autorestart=true
|
|
stopsignal=QUIT
|
|
|
|
[program:pulseaudio]
|
|
autostart=true
|
|
priority=10
|
|
directory=/
|
|
command=/usr/bin/pulseaudio -vvvv --disallow-module-loading --disallow-exit --exit-idle-time=-1
|
|
user=%(ENV_USER)s
|
|
environment=HOME="/home/%(ENV_USER)s",USER="%(ENV_USER)s"
|
|
autorestart=true
|
|
stopsignal=QUIT
|
|
stdout_logfile=/home/%(ENV_USER)s/.cache/log/pulseaudio.log
|
|
stderr_logfile=/home/%(ENV_USER)s/.cache/log/pulseaudio.err
|
|
|
|
[program:audiostream]
|
|
autostart=true
|
|
priority=10
|
|
command=tcpserver localhost 5901 gst-launch-1.0 -q pulsesrc server=/tmp/pulseaudio.socket ! audio/x-raw, channels=2, rate=24000 ! cutter ! opusenc ! webmmux ! fdsink fd=1
|
|
autorestart=true
|
|
stopsignal=QUIT
|
|
stdout_logfile=/home/%(ENV_USER)s/.cache/log/audiostream.log
|
|
stderr_logfile=/home/%(ENV_USER)s/.cache/log/audiostream.err
|
|
|
|
[program:audiowebsock]
|
|
autostart=true
|
|
priority=10
|
|
command=/usr/local/bin/websockify 32123 localhost:5901
|
|
autorestart=true
|
|
stopsignal=QUIT
|
|
stdout_logfile=/home/%(ENV_USER)s/.cache/log/audiowebsock.log
|
|
stderr_logfile=/home/%(ENV_USER)s/.cache/log/audiowebsock.err
|
|
|
|
[program:xorg]
|
|
autostart=true
|
|
priority=20
|
|
directory=/
|
|
command=/usr/bin/Xorg vt7 -novtswitch -sharevts -dpi "%(ENV_DISPLAY_DPI)s" +extension "MIT-SHM" %(ENV_DISPLAY)s
|
|
#command=/usr/bin/Xorg -novtswitch -sharevts -dpi "%(ENV_DISPLAY_DPI)s" +extension "MIT-SHM" "%(ENV_DISPLAY)s"
|
|
user=%(ENV_USER)s
|
|
environment=HOME="/home/%(ENV_USER)s",USER="%(ENV_USER)s",DISPLAY="%(ENV_DISPLAY)s",XDG_RUNTIME_DIR="/tmp/xdg",RUNLEVEL="3"
|
|
autorestart=true
|
|
stopsignal=QUIT
|
|
stdout_logfile=/home/%(ENV_USER)s/.cache/log/xorg.log
|
|
stderr_logfile=/home/%(ENV_USER)s/.cache/log/xorg.err
|
|
|
|
# Dont use xvfb as it does not work with nvidia X11 configuration
|
|
# [program:xvfb]
|
|
# autostart=false
|
|
# priority=20
|
|
# directory=/
|
|
# command=/usr/bin/Xvfb %(ENV_DISPLAY)s -screen 0 1920x1080x24
|
|
# user=%(ENV_USER)s
|
|
# environment=HOME="/home/%(ENV_USER)s",USER="%(ENV_USER)s"
|
|
# autorestart=true
|
|
# stopsignal=QUIT
|
|
# stdout_logfile=/home/%(ENV_USER)s/.cache/log/xvfb.log
|
|
# stderr_logfile=/home/%(ENV_USER)s/.cache/log/xvfb.err
|
|
|
|
[program:x11vnc]
|
|
autostart=true
|
|
priority=30
|
|
directory=/
|
|
#command=/usr/bin/x11vnc -display %(ENV_DISPLAY)s -xkb
|
|
command=/usr/bin/x11vnc -display %(ENV_DISPLAY)s -rfbport 5900 -shared -forever
|
|
user=%(ENV_USER)s
|
|
autorestart=true
|
|
stopsignal=QUIT
|
|
stdout_logfile=/home/%(ENV_USER)s/.cache/log/x11vnc.log
|
|
stderr_logfile=/home/%(ENV_USER)s/.cache/log/x11vnc.err
|
|
|
|
[program:de]
|
|
autostart=true
|
|
priority=50
|
|
directory=/home/%(ENV_USER)s
|
|
command=/usr/bin/startxfce4
|
|
#command=/usr/bin/mate-session
|
|
#command=/usr/bin/startlxqt
|
|
#command=/usr/bin/dbus-launch startxfce4
|
|
#command=/usr/bin/dbus-launch xfce4-session
|
|
#command=/usr/bin/dbus-launch startplasma-x11
|
|
user=%(ENV_USER)s
|
|
autorestart=true
|
|
stopsignal=QUIT
|
|
environment=HOME="/home/%(ENV_USER)s",USER="%(ENV_USER)s",DISPLAY="%(ENV_DISPLAY)s"
|
|
stdout_logfile=/home/%(ENV_USER)s/.cache/log/de.log
|
|
stderr_logfile=/home/%(ENV_USER)s/.cache/log/de.err
|
|
|
|
## Experimental launch directly to steam big picture... (this is cool, but not ideal for headless)
|
|
# [program:steam]
|
|
# autostart=true
|
|
# priority=50
|
|
# directory=/home/%(ENV_USER)s
|
|
# command=/usr/bin/steam -bigpicture
|
|
# user=%(ENV_USER)s
|
|
# autorestart=true
|
|
# stopsignal=QUIT
|
|
# environment=HOME="/home/%(ENV_USER)s",USER="%(ENV_USER)s",DISPLAY="%(ENV_DISPLAY)s"
|
|
# stdout_logfile=/home/%(ENV_USER)s/.cache/log/steam.log
|
|
# stderr_logfile=/home/%(ENV_USER)s/.cache/log/steam.err
|
|
|
|
[program:novnc]
|
|
autostart=true
|
|
priority=100
|
|
command=/opt/noVNC/utils/launch.sh --vnc localhost:5900 --listen 8083
|
|
#command=/usr/share/novnc/utils/launch.sh --vnc localhost:5900 --listen 8083
|
|
#command=/usr/local/bin/websockify -D --web=/usr/share/novnc/ --cert=/etc/ssl/novnc.pem 8083 localhost:5900
|
|
user=%(ENV_USER)s
|
|
environment=HOME="/home/%(ENV_USER)s",USER="%(ENV_USER)s"
|
|
autorestart=true
|