Xserver XSDL X Window Server for Android Allows You to Run Linux Apps in Android

Orange Pi Development Boards

It has been feasible to run Linux apps in Android by installing a Linux distribution in a chroot using some app such as Complete Linux Installer, and accessing the graphical application via VNC. I tested this solution with Ubuntu in Android using ODROID-X development board, and it worked fine, except the performance was rather poor. There’s now another solution with XServer XSDL app, X Window System server for Android, that can be used to stream application from a Linux PC or to launch app from a Linux distribution installed in your Android device.

I’ve given a quick try in my Android phone, and after installing and running the app, it will give instructions to launch gimp in your Linux PC to use it in the phone:

Launch these commands on your Linux PC

env DISPLAY=192.168.0.100:0 metacity &
env DISPLAY=192.168.0.100:0 gimp

Just type this command line into a terminal, and gimp will show up in your phone.

Gimp running in Android via XServer XSDL (Click for Original Size)
Gimp running in Android via XServer XSDL (Click for Original Size)

The keyboard will not appear by default, but pressing the back key will invoke it. I’ve also tried xterm and chromium-browser which both worked fine. You need to move the mouse pointer by sliding your finger on the screen, you can’t just expect the pointer to move where your finger is. As expected YouTube is not working so well as many frames are skipped, and the audio is still outputted in the PC. Pushing a bit more I tried SuperTuxKart, but the application failed to start. It may have limited use in smartphones due to their small display, but cold be useful to some Android tablets and mini PCs.

XServer XSDL is an open source application, and the code can be found in github.

Support CNX Software - Donate via PayPal or become a Patron on Patreon

12
Leave a Reply

avatar
12 Comment threads
0 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
9 Comment authors
funtikarsvartalfadecnxsoftPopolon Recent comment authors
  Subscribe  
newest oldest most voted
Notify of
trackback

[…] (via) […]

manny
Guest
manny

hmm I think I prefer it the other way around.

but this might serve some case scenarios, so is good to have.

onebir
Guest
onebir

So this is like VNC without a VNC server on the Linux PC? (Android talks direct to X server on the Linux PC instead?…)

JotaMG
Guest
JotaMG

Actually is the other way round, the android app is the X server and the PC programs are the clients that send their graphic output to the server (so the DISPLAY directive)

Paul
Guest
Paul
Popolon
Guest
Popolon

SuperTuxKart failed to start, just because that’s OpenGL application, and only few of new ARM SoC’s GPU manages full OpenGL, other only manage OpenGL ES…

After the video the Galaxy Note II Wacom stylus pressure seems to be managed :).

After the note on applcation page, that’s also possible to launch locally installed X11/linux applications, should be faster… really interesting 🙂

Popolon
Guest
Popolon

@cnxsoft
In X11 system, server is the display system, client is the application, that ask to the server to display it. So that’s an X11 server, not an X11 client.

I just remember, to test OpenGL ES, it should be a problem too, if hardware is not the same :
* server detect for example Mali/PowerVR GPU
* client application host (if that’s not local), detect an intel/nvidia/ati gpu, so this can make some conflicts (tried between X11/Cubieboard2 with X11/x86 achitecture)

ade
Guest
ade

@Paul
Yes, android-xserver has been available for a while. However it is a full X server implemented from scratch in Java. It may launch toys like xclock and it is already a quite impressive work, but doing anything really serious (launch a whole KDE session or OpenOffice, or games) is impossible at the moment, to my knowledge. On the other hand, this xsdl seem to be based on the real xorg codebase, if I understand correctly. This is a huge improvement.

Member

Heh… There’s a result of having two differing mostly there X11 servers on Android. X2Go can have an Android client (which for a tablet would rock…)

funtikar
Guest

this majorly improved the performance chroot linux on my China Tablet. The VNC thingy was really crappy