espes / Slave-in-the-Magic-Mirror

Open source implementation of AirPlay Mirroring. WIP.
610 stars 122 forks source link

Working only first time on Linux after restarting machine #19

Open himankgupta31 opened 8 years ago

himankgupta31 commented 8 years ago

Hi All

I built code on ubuntu 14.04 LTS (64 bit). When i run airplay.py first time everything is working fine but after killing all process then, i run it 2nd time it gets detected by iPAD (iOS 8) but i am not able to mirror the screen. Is there any problem regarding socket binding for a particular process ?

Initially when i faced problem i just killed the process by running following command and free port on which it was running: ps -a sudo kill -9 pid namp -Pn "ip of iPAD" (i get port no by this command) sudo fuser -k portno/tcp

But now this method is not working. Can any body help me ??

TejeshwarGill commented 8 years ago

Even I am having the same issue. The mirroring works only once on a single start. After that I have to restart the machine to make it work again. Please help !! Thanks.