How can I use a computer as the display instead of the phone itself?
So, I've tried VNC, and while it works well to control Linux from the phone itself, it lags too much if I connect via a PC, because it's not there natively.
So I'm trying to use X11 to control my Linux installation on Android from a PC, but I'm not sure how to export the display over there rather than on the phone itself.
I'm also thinking of ways to do this by connecting my phone to the PC via ADB but I'm not succeeding right now.
Thanks.
I'd try VNC on a 5GHz network (if you're not already on one), or, since you say it runs fine on the phone itself, maybe scrcpy will get you better results, since it works wired over adb.
By using XManager or other X Server software, you could control your phone from PC. I have no idea about X11 forwarding, so I could only do manual settings in the terminal:
- Set environment variables in your Linux environment:
DISPLAY=PC_IP_ADDR:0to set X serverPULSE_SERVER=tcp:PC_IP_ADDR:PORTif you have a PulseAudio running
- Start X Server in your PC.
- Execute the command to start your desktop, e.g.
mate-sessionfor starting MATE.
download realVNC for pc.