31
submitted 1 year ago by phx@lemmy.ca to c/linux@lemmy.ml

Does anyone use X11 forwarding with Android devices, so that they can access their UI apps remotely?

If so, what apps do you use and what issues have you run across?

There's a "MobaXterm ssh" app and while I do love that app on other OS's it doesn't seem to be made by the same company so I don't really trust it

top 10 comments
sorted by: hot top controversial new old

After years of looking at this and working with x11 forwarding off and on. Honestly, just setup a VNC server and use the plethora of VNC clients for android. In my environment it performs better, and significantly easier to maintain. For my desktop I even find myself just using Steam Remoteplay if I need actual GPU performance over the internet.

Virtualgl +VNC is excellent if you get it working.

[-] phx@lemmy.ca 1 points 1 year ago

Yeah I might still go that route, but there's a lot of stuff where I just need to run a single app and the rest is all terminal so a full VNC session is overboard.

Also, it's for a server so the less open ports and daemons running, the better

Totally fair, but you don't have to open a port and could do ssh port forwarding if you are already going the ssh X forwarding route. I would try to measure the performance difference between X forwarding and a something like tigervnc. Depending on the specs of your server/clients it might not be very noticeable.

[-] redcalcium@lemmy.institute 4 points 1 year ago* (last edited 1 year ago)

This might work:

  • install an x server app in your phone (e.g. XSDL) and start it
  • install Termux from f-droid (the one in play store hasn't been updated due to changes in play store policy that prevents Termux package manager from working)
  • in Termux, run something like DISPLAY=127.0.0.1:0 ssh -Y user@hostname
[-] lemmyvore@feddit.nl 3 points 1 year ago
[-] phx@lemmy.ca 1 points 1 year ago

The play store entry for that looks even more sketchy

[-] Mixel@feddit.de 2 points 1 year ago

Source code is available at GitHub but it require you to have your phone by yourside e.g. connected via usb or in the same network so you can connect via IP

[-] averyminya@beehaw.org 1 points 1 year ago

SCRCPY is phenomenal.

I use it daily at work and it's fine. It does everything you're looking for in the way you're looking for it.

Android natively supports video out for screen recording on your local machine. This just ingests the stream and plays it live instead of saving it.

[-] mariah@feddit.rocks 1 points 1 year ago
this post was submitted on 09 Nov 2023
31 points (91.9% liked)

Linux

48366 readers
1692 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS