LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Mobile
User Name
Password
Linux - Mobile This forum is for the discussion of all topics relating to Mobile Linux. This includes Android, Tizen, Sailfish OS, Replicant, Ubuntu Touch, webOS, and other similar projects and products.

Notices


Reply
  Search this Thread
Old 10-09-2022, 10:55 AM   #1
shams
Member
 
Registered: Jan 2004
Posts: 537

Rep: Reputation: 30
scrcpy ERROR: Server connection failed


I want to cast android mobile wirelessly to arch linux laptop, all the necessary step was done successfully, my linux laptop name is shown under the PAIRED DEVICES under the Wireless debugging and adb connecting successfully:
Code:
$ adb connect 192.168.10.8:38667
connected to 192.168.10.8:38667
adb can list the device:
Code:
$ adb devices
List of devices attached
192.168.10.8:38667	device
But scrcpy cannot connect to the device this is the output of command:
Code:
$ scrcpy -V verbose -s 192.168.10.8:38667
scrcpy 1.24 <https://github.com/Genymobile/scrcpy>
DEBUG: ADB device found:
DEBUG:     --> (tcpip)  192.168.10.8:38667              device  M2102J20SG
DEBUG: Device serial: 192.168.10.8:38667
DEBUG: Using server: /usr/share/scrcpy/scrcpy-server
/usr/share/scrcpy/scrcpy-server: 1 fil...ed. 169.9 MB/s (41159 bytes in 0.000s)
[server] INFO: Device: Xiaomi M2102J20SG (Android 12)
[server] DEBUG: Using encoder: 'OMX.qcom.video.encoder.avc'
[server] DEBUG: Controller stopped
[server] DEBUG: Screen streaming stopped
[server] DEBUG: Device message sender stopped
DEBUG: Interrupting socket
DEBUG: Server disconnected
DEBUG: Server terminated
ERROR: Server connection failed
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Helper GUI For scrcpy, The Android Desktop Display And Remote Control Tool LXer Syndicated Linux News 0 09-05-2019 09:41 AM
LXer: scrcpy 1.9 Released (View And Control Your Android From A Linux, Windows Or macOS Desktop) LXer Syndicated Linux News 0 06-13-2019 06:41 AM
LXer: Control Android Devices From Your Desktop With scrcpy (Ubuntu, Fedora, Debian, Linux Mint Installation) LXer Syndicated Linux News 2 03-29-2019 10:42 AM
LXer: Install scrcpy on Linux From Snap Package (App To Display And Remote Control Android From PC) LXer Syndicated Linux News 0 03-29-2019 09:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Mobile

All times are GMT -5. The time now is 08:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration