antimof / UxPlay

AirPlay Unix mirroring server
GNU General Public License v3.0
1.27k stars 177 forks source link

UxPlay start on boot #71

Closed abdullahaltun70 closed 2 years ago

abdullahaltun70 commented 2 years ago

Is there any way to start uxplay automatically on boot? I am running Ubuntu 21.10.

fduncanh commented 2 years ago

Difficult: the Bounjour (dns-sd) service detection doesnt seem to work (for me) if the client isnt already looking for a connection when UxPlay is started. (Maybe my dns-sd setup is not right, I dont understand the problem). The uxplay -t option is designed to deal with that, but right now only starts the timer after at least one connection has been made.

abdullahaltun70 commented 2 years ago

I managed to get it working using "startup application preferences". in the command field I referred to the ./uxplay in the build. So I filled in e.g: /home/user/Downloads/UxPlay-master/build/uxplay the path may differ from mine. Hope this helps someone out!.