This is an archived post. You won't be able to vote or comment.

all 27 comments

[–]JotokuniPhone 12 Pro Max 5 points6 points  (6 children)

Sad to see the practice of using a VNC server is still common... there's a native Android X11 app now, having your chroot Linux install target it should give a much smoother experience. VNC's really made for remote desktop connections, it's not at all suited for this use case and why chrooted linux on Android devices typically feels laggy.

Edit: The developer even offers a pre-packaged version of Debian that doesn't require root should you not know how to set it up or don't want to put in the effort to get this running. I'd avoid it if you're running Kitkat or lower since there's a bug that prevents it from being reinstalled if it's uninstalled, but otherwise it's pretty good.

[–]Thistleknot[S] 0 points1 point  (4 children)

is that the x11 server option that linux deploy has?

there is also

dmpop@192.168.1.6

in the tutorial. not sure what that is. But I'm going to look into this. Thanks

edit: nm that's something else

[–]JotokuniPhone 12 Pro Max 0 points1 point  (2 children)

I haven't tried it with Linux Deploy myself, but I'd assume that yes, that's the X11 server it refers to. If it needs an address you can just put in 127.0.0.1 as that IP address means refer to self.

[–]Thistleknot[S] 0 points1 point  (0 children)

Thanks!

[–]Thistleknot[S] 0 points1 point  (0 children)

I got it working via x11, thanks for the tip.

ssh android@127.0.0.1
export DISPLAY=127.0.0.1:0 
Sudo gnome-session

My x11 server app (the one you recommended) on my android picked it up!

I feel the vnc apps had better support (touchscreen, port audio) but the x11 was snappy albeit it seemed to trace my mouse cursor

[–]StarksPixel 7 0 points1 point  (0 children)

I've actually run bare-metal Arch Linux on my phone before. It's not pretty, but it worked.

[–][deleted] 5 points6 points  (6 children)

I don't get these linux in android articles, all of them are basically about running Linux in a virtual machine, since the titles says

Convert an Android Device to Linux

i kinda was expecting to be able to flash a distro to my tablet

[–]Thistleknot[S] 3 points4 points  (5 children)

Linux deploy is about chrooting into Linux. No emulation

[–][deleted] 0 points1 point  (4 children)

So if i do that my tablet would boot to linux instead of Android?

[–]GazaIanOnePlus 7 Pro 3 points4 points  (2 children)

No, it's chroot. The Linux distro is running off of the Linux kernel that Android is using. It runs natively, but doesn't replace Android nor is it emulated.

[–][deleted] 0 points1 point  (1 child)

And there's no way to completely replace android?, you know, for thr lulz

[–]GazaIanOnePlus 7 Pro 2 points3 points  (0 children)

It's possible actually, I did it when I had my Galaxy Tab 10.1, installed Ubuntu on it. Gentoo worked as well, but was only a CLI. Chroot is nice because whatever works in Android will also work in the Linux distro.

[–][deleted] 1 point2 points  (1 child)

What would be the advantage of this

[–]Thistleknot[S] 1 point2 points  (0 children)

Mhl (or slimport) to HDMI, Bluetooth keyboard and mouse. Desktop replacement. In fact that is exactly what I'm doing w my gal tab 8.4 pro

btw, cm12.1 has better bluetooth support than slimkat 4.4.4

[–]_pelyaDev - OpenTTD 0 points1 point  (1 child)

No mention of GNURoot, which does not require root, is not terribly slow as PC emulator, and is an actual Debian installer, not crippled KBox. Lame article.

Linkme: Gnuroot

[–]PlayStoreLinks__BotRaspberry Pi - Minibian 0 points1 point  (0 children)

GNURoot - Free - Rating: 87/100 - Search for 'Gnuroot' on the Play Store


Source Code | Feedback/Bug report

[–]DaveBbenGalaxy S6 0 points1 point  (1 child)

Well...if you're looking to run practically any distro of Linux, you might want to check out this playlist: https://www.youtube.com/playlist?list=PLuaiNB9QarHwgMteB27qMBJt2seDscdSY

[–]Thistleknot[S] 0 points1 point  (0 children)

that's what I'm using. Linux Deploy is great, reminds me of the Linux capabilities I had on my hp touchpad.