Run UxPlay as a systemd service This method gives you: systemctl start uxplay systemctl stop uxplay systemctl restart uxplay Optional auto‑start on boot Clean background operation with no terminal needed   Create a systemd service file   Open Service file sudo nano /etc/systemd/system/uxplay.service In Nano Paste following command editing yoursuername [Unit] Description=UxPlay AirPlay Receiver After=network.target [Service] Type=simple User=YOURUSERNAME ExecStart=/usr/bin/uxplay Restart=on-failure [Install] WantedBy=multi-user.target Reload systemd sudo systemctl daemon-reload Optional: Enable auto start on boot sudo systemctl enable uxplay   Systemd Commands for UxPlay   Start sudo systemctl start uxplay Stop sudo systemctl stop uxplay sudo systemctl stop uxplay