blinksh / blink

Blink Mobile Shell for iOS (Mosh based)
https://blink.sh
GNU General Public License v3.0
6.18k stars 577 forks source link

Rudimentary XServer implementation #1378

Open davidradkowski opened 2 years ago

davidradkowski commented 2 years ago

I've been using Blink for years now; it is my daily driver and I love it - it covers 95% of my daily linux routine. However, there's a class of problems I'm unable to solve with this tool - a headless (GFX less) connections which occasionally require to run X apps. On a linux laptop I can easily open my local XServer for the remote connections and export the DISPLAY=... for the remote X apps. I'd absolutely love it if Blink could provide a rudimentary XServer functionality allowing remote connections. I'm aware there's an Xvfb/vnc solution to this problem, but there are times when installing new packages is not an option and those are missing 🤷🏻‍♂️

I'm not even sure if that is physically (OS constraints) possible on an iOS device, but one could hope, no? 😄

Anyway, cheers guys, and thanks for the great job you are doing 👍

.

lukemcdo commented 2 years ago

I don't know if you saw but webvm.io just launched yesterday -- I'd rather see efforts integrating that project. I'm going to open a separate issue suggesting integration ideas.

Such an implementation could have "recipes" that include your scenario, at least in the near future. Since the entirety of webvm.io runs on iOS Safari just fine and already plans to implement XServer support, that seems like the most cost-effective way to add the feature you're looking for, as well as a myriad of other benefits.

The other note is that since webvm.io is web-based, it makes the risk for the project lower. There's less surface area that will be subjected to an app store review when that version lands.

davidradkowski commented 2 years ago

Oh wow! Thanks for the info! WebVM looks very promising!