[Unit] Description=Xpra Socket on Student's computer (server) After=network.target [Service] Type=simple ExecStart=/usr/bin/xpra \ --bind-tcp=0.0.0.0:4648 \ --pidfile=/run/xpra/proxy/server.pid \ --daemon=no \ shadow #rely on SIGKILL which returns 128+15=143 SuccessExitStatus=0 143 Restart=always PIDFile=/run/xpra/proxy/server.pid ProtectKernelTunables=true ProtectControlGroups=true [Install] WantedBy=multi-user.target # based on xpra.service from upstream of xpra