Scrcpy not working
Hey all,
Just installed scrcpy with
It's not launching, neither the regular executable, nor the (console) version.
Any help would be appreciated, thanks!
6 Replies
try and launch it from the distrobox terminal.
Sometimes it will launch and fail immediately because you need to accept the connection on your phone. But at least you'll see what the error message is if you launch it via the terminal
Yeah it's just saying server connection failed. Could not find any ADB device. My phone has debugging enabled, and it's turned on and unlocked. Dunno if it's important, but I'm running GrapheneOS.
Not all USB cables work for connecting your phone to the PC. Does the cable that you are using work on a different machine?
It works on my windows partition, and it worked on all previous linux distros I tried
Hmm maybe try a scrcpy in another Distrobox in Bazzite and see if that works instead of the Fedora Distrobox one that gets installed with the ujust script.
Chiming in (late) with the solution that works for me.
Every time I want to run scrcpy, I have to open a terminal window and run the following commands:
distrobox enter fedora
adb kill-server
adb start-server
scrcpy
If I close the scrcpy window after that, I can't just run scrcpy
again, I have to restart the adb server before it will work. Killing and starting the server was also the only way I was able to get my tablet to show the prompt to authorize the connection after enabling USB debugging.
I felt like I was going insane just constantly getting ERROR: Could not find any ADB device
despite using the ujust to set it up. I also ran into the issue where the .desktop files for scrcpy (old ones, I think) had an errant hyphen which caused running them to show the error failed to find executable /usr/bin/distrobox--nter: no such file or directory
. Even after replacing the hyphen with a space, they do nothing unless I've just killed and restarted adb.
I would write my own .desktop file that implements the above solution but I haven't learned how that works yet with distroboxes, so I'll settle for adding to this thread for easier searchability.