yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] hadobac:
Hi guys, it appears that I failed to launch Ubuntu lite on Desire HD.

After manually download the lite image, and the boot script v5 (actually neither v5 or v6 worked), I extract them to /sdcard/ubuntu.

Now in the folder, it has ubuntu.img and ubuntu.sh.

As I attempted to activate the sh, it failed, as in the the snapshot:

I'm currently using Ice Cold Sandwich 3.0 testOMX on Desire HD, with Lords 8.6 beta kernel =)

Thanks for any helps in advance.
[Android Apps and Games] hadobac:
I figured out the issue. You better leave the "address" box blanked. That helps on my case.
[Android Apps and Games] xathras:
Your commands are wrong. They should be:-

cd sdcard/ubuntu

sh ubuntu.sh
[Android Apps and Games] DarkhShadow:
He did do that
[Android Apps and Games] hyperdude111:
Anyone know how to switch between gnome and lxde environments? Whenever I start it defaults to lxde

Edit: Disregard this, just read that using 12.04 only supports lxde for now.
[Android Apps and Games] b3nman:
Hi thanks so much for making this app/guide. I have a Java problem.

I have java working in firefox, but when i connect to the projectors at my job which have a java web interface, it gives and error about a missing class and the applet doesn't start. is there anything different about this java implementation? is there a way to install the Oracle version, as from what i gather your image uses Open JDK right?

Thanks!
[Android Apps and Games] galrock:
ATRIX touchpad input problam

can't choose touchpad input in ATRIX on the ADT KANG cm9 rom ... is there a solution or is it because of cm9
[Android Apps and Games] devwithzachary:
for some reason people are starting to report this, if you change the scaling mode in vnc (press menu button then scaling) to 1:1 it is selectable
[Android Apps and Games] hhenault:
Just give a try with : sh -x ubuntu.sh

and attach the snapshot; maybe we will see where it breaks ...
[Android Apps and Games] Coffeebeans:
Are there any better VNC viewers in the market? I'd like to use a bluetooth mouse and keyboard but they don't seem to work that well in androidVNC.
[Android Apps and Games] hdlopesrocha:
try pocket cloud.

for me its the best.
[Android Apps and Games] barryflanagan:
I don't think Oracle have released an Arm version of the JDK
[Android Apps and Games] chiefwhosm:
I'm using the paid version (don't know if it makes any difference) off the market today and had a similar thing, the problem was in my case that the file isnt called ubuntu.sh but ubuntuV6.sh, a quick rename and all was fine, so check the name of the .sh file in your sdcard folder :)

Though all I got was a blank grey screen and a nice black cross of a pointer with the large 12.04 image, 10.10 free was fine so gotta have another go at it anyway :D

I had the same thing on vegantab rom, but vnc did at least bring up a warning saying it was having to disable certain inputs so I knew how to guess the fix.

Chief :)
[Android Apps and Games] dinoc:
I have installed 10.10 on my Samsung Galaxy S2, but is kind of slow (connected from another PC via tight vnc viewer) especially with Gnome with the other Desktop Manager it's a little bit better

If the slowness can be solved in the future this will be awesome, having a full working PC in your pocket.
[Android Apps and Games] DarkhShadow:
That's probably your internet connection, since you have a 1.5ghz dual core phone....
[Android Apps and Games] Quinny899:
Might be his RAM...

It runs on 512mb of ram (~150 free), so it should work

Nice sig btw ;)
[Android Apps and Games] hhenault:
ubuntuV5 full image

Reverted to ubuntuV5 full image, until 12.07 with sshd (or telnetd ...)

Q1 : which Ubuntu version in V5 full img ? 9.something ? 10.something ?

Q2 : Ubuntu's video is working (a xvid encoded clip with kplayer), but no sound.

Looks like one or several sound modules are missing.

--- (Edit: zac said that's normal, sorry ...) --------------

Anybody with a V5's working sounds, could give a 'lsmod' both in Android and Ubuntu?

Attached below : my lsmod's for a Galaxy Note, Stock ROM KKA + kernel 2.6.35.7 + Android 2.3.6, and Ubuntu Image V5
[Android Apps and Games] dinoc:
There is no internet connection involved, I'm connecting tu Ubuntu/android via a vnc viewer from another PC from the same local WLAN

700~800 Mega of RAM are occupied out of 800 Mega, as reported by top command from ubuntu, so it might be an issue with insufficient RAM (and this is with the LXDE version and the largest ubuntu image)

Tough the task manager from Touchwiz reports only 300-400 megs in used out of 800 so who is reporting wrong ?
[Android Apps and Games] devwithzachary:
Indeed at the moment sound is not working as vnc only carry's video I believe, but if I can get native X11 running then I will working on native sound
[Android Apps and Games] b3nman:
http://www.oracle.com/technetwork/java/embedded/downloads/javase/index.html

im pretty sure this is it

[EDIT]

I got it to work by using the ARMv7 Linux - Headful tarball from the above link. After you download copy the tarball from the sdcard wherever you like in your ubuntu and follow the instructions from the old post http://xdaforums.com/showpost.php?p=17436196&postcount=3, just make sure you cd into the directory you copied the tarball.

after you verify the install, use this guide from Oracle to create a link to the plugin, make sure you use the full path of the java install. http://java.sun.com/javase/embedded/reference/release6/EmbeddedReleaseNotes_6.html#plugin

also if you installed icetea before make sure you uninstall, you dont have to uninstall openjdk.
[Android Apps and Games] fizban9:
No vnc connection, Motorola Xoom

I cant seem to connect with the VNC client. I am on a rooted Xoom Wifi running the Team EOS rom.

Run Script:

Vnc client settings:

VNC on the tablet keeps giving me a connection failed message. From the attached info it looks like the problem is the lack of an eth0 device?

The entire reason I rooted my Xoom was to get this running so I could play Race for the Galaxy. Thanks for any help. :)
[Android Apps and Games] motopuk:
Did you put password set to ubuntu in the vnc connection?
[Android Apps and Games] motopuk:
I'm on an Atrix and having the same behavior. Grey screen with black cross. Running v6 script, 12.04 image large and CM9 with faux kernel.
[Android Apps and Games] fizban9:
Thanks...that did it. I swore I didn't read anything about a password.

I have linux on my linux....I can die happy now :D

---------- Post added at 07:58 PM ---------- Previous post was at 07:12 PM ----------

Got everything working on my Xoom...almost. I can run it, vnc in from both my tablet and my computer, and it all seems fine.

Except the terminal in LXDE. It opens but just sits at an empty terminal. No prompt or anything.

Suddenly this forum wont let me attach my pic or a link even though I could attach them to my last post.... But heres a "link" to the pic.

dl.dropbox.com/u/64281936/deleteMe3.png
[Android Apps and Games] amitabhr:
Hi Zac, Thanks for this great app, really simplifies things for us.

I have a small problem:-

I have installed the paid version on an Allwinner A10 tablet (ployer momo9) with ICS.

I need to get an external USB NFC reader (SCM's SCL3711) working on this tablet and since the ICS nfclib doesn't support any NFC reader except those based on PN544 NFC chip so I am trying to run chrooted ubuntu and use a script to read and pass the NFC tag ID to a text file which can be read by Android App.

I have libnfc compiled and running on Arm Ubuntu running on efika smartbook (genesi-usa.com)

Now, my problem is that this tablet only shows 2GB SDCard (internal) while the 8GB microSD card that i insert is mounted as /mnt/extsd

So i have unzipped the ubuntu.img on /mnt/extsd along with ubuntuv6.sh

First I tried to swap the mount entries for sdcard and extsd in vold.fstab but it didn't work (maybe because i am on ICS as the topic on this at xda has most people getting it to work on froyo & gingerbread - will downgrade to check sometime)

Failing that, I opened ubuntuv6.sh - from what i can understand it will read the directory from where its executed and then look for ubuntu.img there.

Is that correct ?

In which case it shouldn't matter where I keep ubuntu.img as it will loop mount it from anywhere ?

Second problem is that ubuntuv6.sh or ubuntu.sh both give me an error that 'cut' was not found. Probably because this is ployer's custom ROM or because its ICS. Any way i can copy 'cut' to my tablet (if someone can attach that)

Or can I copy cut from an arm netbook i have ?

I have also emailed you with a small proposal if you could integrate libnfc into your image. Please do have a look.
[Android Apps and Games] zot71:
I'm a Galaxy S2 owner too and i've the same situation of you: it is slow on my phone :( I tried overclocking to 1,6Ghz but nothing has changed.

Slowness is the same from android vnc viewer or from vnc viewer on my pc connected to the same wlan. No memory problems, i've kept in execution Firefox+Thunderbird+NetBeans (YES!!!) and all of them was working (slowly).. and the phone continues working too (got phone calls, messages and twitter updates).

I tried with the 10.10 full image with Gnome and the 12.04 (not last update).

Anyways... COMPLIMENTS, GREAT WORK!
[Android Apps and Games] karthiknr:
It would be really awesome if you somehow got it working on an ARMv6.:) I tried a month back,and it didn't work. So hopefully someday you'll manage to do it. Great work,indeed.:)
[Android Apps and Games] devwithzachary:
Hi yes you can now with the V6 script place the files anywhere and it will work so long as both the script and image are in the same directory. I shall email you about the NFC stuff

Yes really there are two limitations, the fact you have to use VNC to connect so there is no use of graphics acceleration ie the CPU has to do all the work and thus slows it down, and the lack of free ram most devices have, I am experimenting in 12.04 with using extra swap memory build into the image but we shall see if that works well or not

I believe the last version of the arm stuff to support V6 was 9.10 maybe even 9.04 as such I don't think it will ever happen, armv6 is simply to old now
[Android Apps and Games] amitabhr:
Thanks Zac.

What should I do about the script complaining that it can't find 'cut' (am on ICS) ?
[Android Apps and Games] IVIadness:
so after removing ubuntu off my phone all the data it used is still taken how can I fix this?
[Android Apps and Games] DarkhShadow:
You must have some problem because if you deleted it off SD card then it should be gone
[Android Apps and Games] IVIadness:
Yep I did, maybe it was still mounted when I did... how can I clear the mount?

---------- Post added at 06:50 PM ---------- Previous post was at 06:43 PM ----------

found it, was cached in a lost.dir location. thanks :)
[Android Apps and Games] devwithzachary:
I am not sure about this one seems a little odd its possible you busybox is corrupted try reinstalling it

Yup alot of the time android sucks at really deleting files it tends to move them to lost.dir
[Android Apps and Games] dinoc:
Just look how smooth it runs here http://www.youtube.com/watch?v=gRoYlgOC9z0&feature=player_embedded#!

The Canonical team advances very fast.

On my SGS2 is running very slow with Gnome desktop
[Android Apps and Games] devwithzachary:
yes but this uses the GPU, once they drop a release and hopefully the source (or I work it out myself) and we can get the desktop to run with GPU acceleration all will run smoothly :)
[Android Apps and Games] dinoc:
That will be great !
[Android Apps and Games] IVIadness:
ok issue, I am running Serendipity with Entropy daily (On Galaxy S2 I777), I copy it (The contents of ubuntuV5-image.zip and the script) to my SD card in the ubuntu folder run the commands in terminal and it get's to the place root@localhost:/# but won't let me connect with VNC using the ubuntu password says connection refused

I made sure I was not at the max app number, I am at 216 apps so I don't think it's that. I have 7 gigs of free space so I don't feel that is the issue.. I have ran rm -r /data/local/mnt and still same issues even after a reboot says it's starting finishes how it shows me in your video but then I can't connect with VNC I get connection refused it's weird, could it be my Kernel?.

Any ideas would be awesome this looks like it will be fun to play with.
[Android Apps and Games] fizban9:
Blank terminal in LXDE

I've got the image running on my Xoom but the terminal inside of LXDE (i installed the small image) just comes up as a black box.

Sorry, cant link an image....

dl.dropbox.com/u/64281936/deleteMe3.png
[Android Apps and Games] DarkhShadow:
Just use the emulator instead, tons easier
[Android Apps and Games] fizban9:
I want to be able to use the vnc client on my computer so I can use it's keyboard and mouse. For that I need the terminal in GUI.
[Android Apps and Games] IVIadness:
I can remote into it on my PC without issues so I know it's running so I am guessing it has something to do with localhost..

Update, I can connect to it using 192.168.2.6 but not the local loopback addy or localhost..
[Android Apps and Games] devwithzachary:
give my 12.04 releases a shoot sure they are still 'alpha' but everything thats installed pretty much works just missing stuff for the moment but should be every you need (GUI terminal is working)

Very odd will recommend those that can't connect try this!
[Android Apps and Games] devwithzachary:
A question for you all

So after Canonical posted about there 'amazing' 'new' ubuntu running on android, I started thinking about some of the features they where offering and thought that for the best part it would be quite easy to integrate some stuff e.g pictures and videos taken on the android device, must stored on the device etc etc, after all the sdcard is already mounted might as well put it to use.

But the question is does anyone really want this?

Perhaps it should wait for my stable 12.04 and I should work more on getting unity and native X11 working first?

Please let me know what you want to see first in the next few releases, after all we have a good few months until stable 12.04 might as well see what we can cram in before then :)
[Android Apps and Games] devwithzachary:
So I have decided to start setting up 'official' social media pages for the project (I have been posting through my google+ and twitter), This gives everyone easier ways to follow whats going on in the project, and a range of ways to contact me and users if you have any problems or questions/ideas etc etc.

I have decided there will be a google+ and twitter accounts along with the facebook just set up, so get liking :) and I shall update with info of google+ and twitter accounts tomorrow!

Thank you all

https://www.facebook.com/pages/Linux-on-Android/203421269765824
[Android Apps and Games] mohitrocks:
This app seems to be really promising, but I just had a really quick question. I bought the app, and after I pick my screen size in VNC, it goes to

root@localhost:/#

What am I supposed to type here?

EDIT: It says New 'X' desktop is localhost:0

still not sure what to do..

EDIT2: I'm an idiot. Got it working. Huge props to dev for this!

Thanks,

Mosh
[Android Apps and Games] devwithzachary:
glad all is working now :)
[Android Apps and Games] mohitrocks:
Everything works flawlessly. Wow, never expected it to be this good.. should have bought the app earlier! ;D

Just two minor issues though, on the Galaxy Nexus running Franco Kernel 18.6 on AOKP Build 25, everything works but when I set the resolution to 1280x720, the animations are jittery. Is there any way I could take up the entire screen but have a lower resolution?

Also, it gets annoying to have to scroll to the right side of the page because of the soft-keys getting in the way.. Is there any quick fix for this?

Aside from those two minor issues, everything is working flawlessly.
[Android Apps and Games] devwithzachary:
I would suggest changing the resolution to include the size of the soft keys, I found on my archos I had to give 75 less pixels for the width that way there was no scrolling
[Android Apps and Games] devwithzachary:
On twitter and google+

We are now live on twitter and google+ :D

https://plus.google.com/b/113616906427358521992/

https://twitter.com/#!/Linuxonandroid
[Android Apps and Games] amitabhr:
OK, I have got Ubuntu chrooted by commenting out line 9 from ubuntuv6.sh as it was using 'cut' (for finding out if we have root) which was giving an error on my android version at least (ICS custom rom of ployer momo9).

Now when I try vncviewer it says connection refused. If i try to run vncserver from commandline I see that its giving an error 'password too short'.

But if I try to fix this by running vncpasswd it doesn't ask for new password but just exits after saying 'using /root/.vnc/passwd password too short' deleting the empty file passwd doesn't have any effect.

During init I can see 2 error messages:

- groups: can not find name for group ID 1015 (and same for 3003)

- You will require a password to access your desktop. Pasword too short. /dev/null is not a character device

Any ideas ?
[Android Apps and Games] DarkhShadow:
Did you enter "ubuntu" as the password?
[Android Apps and Games] IVIadness:
Any ideas? I mean it's not to hard when I get the system all booted to run Ifconfig and get the IP of the system so it's not that big of deal but any ideas why i can't use local host while on wifi, but off of wifi I can 127.0.0.1 and it works fine?
[Android Apps and Games] barryflanagan:
I'd love to see native X11 working. I have a Transformer Prime and the ability to dual boot is my nirvana.
[Android Apps and Games] Cellulario:
How can I make my custom img file? is there any guid? I assume you created a virtual disk with, for example virtual box and you enabled virtual desktop by default, is this the procedure? I'd like to play I bit with distros
[Android Apps and Games] DarkhShadow:
Its in the paid app how he did it
[Android Apps and Games] devwithzachary:
No its very odd that localhost dosnt work yet it works over the normal IP

In the paid version there is a build guide, you need ubuntu installed on a computer and use a program called rootstock
[Android Apps and Games] fizban9:
What do I do to switch to the 12.04 version? I've downloaded the image. Do I just reaplce the other image and use the same start script?
[Android Apps and Games] DarkhShadow:
Yup
[Android Apps and Games] networx2002:
Question how do i setup vnc on ubuntu 12.04 full script 6

password: ubuntu

address: localhost

port: 5900

color format: 24-bit color (4 bpp)

I keep getting connect refused...
[Android Apps and Games] s14evil:
Has anyone got this running on a streak7
[Android Apps and Games] mykid:
First, thanx for the good job :)

Second, i have 2 problems :

- 1) it seems that i can't umount my ubuntu.img : "ressource busy".

- 2) i can't install french language :

i installed french language thanx to the tool "language support" in ubuntu.

to be sure, i used "apt-get install locales" and "dpkg-reconfigure locales",

but i am still in english.

Is it because when you use chroot, you never restart ubuntu really and installing a new language needs a full reboot of ubuntu ??

Thanx for your help :)

oh and a 3rd problem : how to print a "é and è" on the screen ?? :)

PS : for those with scripts problems (many "failed"), reinstall busybox with another installer from the market helps..

And update superuser...
[Android Apps and Games] networx2002:
anyone..............:)
[Android Apps and Games] Edwrib:
nice!

Running perfect here in SGS2 stock ICS LPH ROM.
[Android Apps and Games] AliensDroid:
runs perfectly on the nexus s.

thanks !!!
[Android Apps and Games] Edwrib:
What I need do to run from /sdcard/external_sd/Ubuntu, just changing all mentions in script of /sdcard to /sdcard/external_sd ?

Ty.
[Android Apps and Games] devwithzachary:
if you use the V6 no changes are needed it should work
[Android Apps and Games] RickROM:
Running 12.04 on my Galaxy Nexus with no issues so far. Thanks!
[Android Apps and Games] DarkhShadow:
gonna try app on my AN9G2 tablet later :D

It should be fine with a cramfs /system shouldn't it?
[Android Apps and Games] dragon_76:
I have been waning native X11 ever since I had to leave WebTop support for CM7 on my Atrix. Something akin to the way Mac OS X runs X11. Please could you tell me if this is something likely to happen soon, or just eventually?

Cheers!

-M

Xda member since 2007
[Android Apps and Games] devwithzachary:
define 'soon' I really hope to have something useable by the time 12.04 stable is dropped but we shall have to see how it goes, as with all dev work can not give any solid ETA's
[Android Apps and Games] hadobac:
Is there anyway to customise the images on desktop? I'm using Ubuntu, will Virtual Box work with the Ubuntu image?
[Android Apps and Games] dragon_76:
Soon would be within a month or two.

Cheers!

-M

Xda member since 2007
[Android Apps and Games] vasiaeva:
Yes I did.
[Android Apps and Games] devwithzachary:
well the only way you can get that error is if there isnt the folder ubuntu on the sdcard.

Check either via the computer or a file manager that it is infact there
[Android Apps and Games] devwithzachary:
Small update, now uploading 'lighter' ubuntu images, that are only 500MB to download and 2.5GB once extracted, they have less programs but do still give a little under 1GB free space for your own apps etc!

Will be updating the paid app likely tomorrow and the free app in the next few days with the new images and a few UI tweaks for the app
[Android Apps and Games] vasiaeva:
No luck for me. Keep trying ...
[Android Apps and Games] cwhitney24:
Can't wait to see a working one here on my inspire 4G! Tried both of the sh files and they didn't work. Awaiting your next release! :)

I got your 10 char right here
[Android Apps and Games] devwithzachary:
Looks like its a clash with where busybox is installed (can be installed in xbin/bin etc) but I am working on a new script hopefully will get there soon!
[Android Apps and Games] devwithzachary:
I have finally sorted my website to include the info of the two apps, and have started a page with data on devices that have been tested, please have a look, if your device isnt there please either post here or email me with the information needed for the table (working or not!)

http://zpwebsites.com/android-app/ubuntu-install-guide/devices/

and my email is

zac@zpwebsites.com
[Android Apps and Games] jsphoto:
Still on rocket ROM, but tried with CF kernel.

Vnc won't connect.

Would love to get this working.

update: I got the sm-1024 version working!
[Android Apps and Games] devwithzachary:
Glad to hear! How did you get it working this might give insite to get it working for others
[Android Apps and Games] cwhitney24:
Could you possibly upload the Ubuntu.sh that was in the download from last week? I had it then swapped it out for the other one you posted. I'm testing all my different kernels for cm7 roms on the inspire 4G then moving to the sense roms.

I got your 10 char right here
[Android Apps and Games] devwithzachary:
Sure thing, heres the download link

http://www.multiupload.com/PN22BWLCKY
[Android Apps and Games] cwhitney24:
Thanks man

I got your 10 char right here
[Android Apps and Games] stephen dagostino:
1280 working well on stock kka 2.3.6

Just bough the app, thanks.
[Android Apps and Games] devwithzachary:
Glad to hear it, does seem the GT-N7000 is a good device to be running on.

For those that cant get it running I have nearly finished another stab at a working script, will hopefuly upload for testing today!
[Android Apps and Games] devwithzachary:
Ok heres a new version of the script, this one should hopefully fix problems with it not working, and also for everyone else it has a new feature, basically unlike the old script which froze when it boot ubuntu this one now will bring your to the ubuntu prompt.

e.i. if everything boots ok you should see

root@localhost:/#

from here you can carry out any command you like, and you can still then connect to the GUI from VNC

Download it here

please let me know how it works!