yashsingh1/xdaforums huggingface dataset:
[Android Software Development] radekula:
Yes. I know that there are some apps that still need shared memory to work properly and I saw that fstab in ubuntu image still have entry about /dev/shm (Fedora 17 on PC also mount this) so I'm curious why this mount is missing in boot scripts :) I know that this will take more memory from Android even when shm is not used but for devices with 768MB or more RAM few more MB for /dev/shm shouldn't be a problem. Maybe a configuration option will be a good idea.

I will try this soon and I will give You a feedback.

EDIT:

devpts /dev/ptmx devpts rw,relatime, mode=600,ptmxmode=666 0 0
devpts /dev/tty1 devpts rw,nosuid,noexec, relatime,gid=5,mode=620,ptmxmode=000 0 0
devpts /dev/tty2 devpts rw,nosuid,noexec, relatime,gid=5,mode=620,ptmxmode=000 0 0
devpts /dev/tty3 devpts rw,nosuid,noexec, relatime,gid=5,mode=620,ptmxmode=000 0 0
devpts /dev/tty4 devpts rw,nosuid,noexec, relatime,gid=5,mode=620,ptmxmode=000 0 0

This didn't work because of missing entries/folders in /dev in ubuntu image and I think this is fine. Better solution will be to automount directly from $mnt/etc/fstab (in bootscript.sh) filesystems like tmpfs, devpts, fusectl etc. This should be solution not only for ubuntu but for other distribution as well.
[Android Software Development] devwithzachary:
This is a known issue with tegra devices please read the FAQ here:

https://linuxonandroid.uservoice.com/knowledgebase/articles/74681-unity-does-not-render-correctly
[Android Software Development] japzone:
That explains that. However, I'm still having the problem on the Small image where both Chromium and Firefox crash without loading a page.
[Android Software Development] devwithzachary:
Ok, its possible they are not getting enough RAM, I suggest trying to install another browser like iceweasel or something that uses even less ram to check
[Android Software Development] radekula:
I have similar bug (Ubuntu core) and when I check firefox bug report it looks like GLX extention is missing (GLXtext process failed, exited with status 1). With core or small images there can be some missing dependences/packages because apt will not install all needed libs. Running firefox from terminal will show with ones are missing (in most cases).

It looks more like Ubuntu/apt bug.
[Android Software Development] dragondgold:
Hello, I am trying to run Ubuntu small on my Xperia X8 whit MiniCM7 ROM and nAa kernel. I know it's crazy for the very low ram this device has but I want to give it a try :) I am getting an error message when trying to boot, segmentation fault, here is the terminal log:

$ export PATH=/data/local/bin:$PATH

$ cd /sdcard/ubuntu

$ su

# roid/files/bootscript.sh /sdcard/ubuntu/ubuntu.img

Checking loop device... FOUND

No user defined mount points

net.ipv4.ip_forward = 1

Segmentation fault

Shutting down Ubuntu ARM

umount: can't umount /data/local/mnt/external_sd: Invalid argument

#

Sent from my Xperia X8 MiniCM7
[Android Software Development] Hanz Wurst:
Hello,

installed Ubuntu 10 on my SE Xperia mini pro and everything seems to work quite fine. There is only one thing. I'm using "Avast mobile Security" App along with its firewall which I set on a white list. I can't get Internetaccess with the firewall turned on, though I allowed Internetaccess to the Ubuntu-Installer, the VNC-App and the Terminalemulator.

Wenn I turn the firewall off, I can browse the Net, but wen I turn it on, I can't. Also played around and gave various Android-services permission too, but I can't find a proper Setup...

What Android-Services are needed to have Networkaccess to get this running? Don't want to turn off the Firewall completely...

(I'm on 4.04, Stockrom, RageKernel3.2)
[Android Software Development] xda-echou:
Can't get MySQL server to start

Hi, I installed Ubuntu 12.04 small image on Nexus 7. Everything seems to be working ok. However after installing mysql-server I'm not able to get it to run.

When I try to start it:

sudo /etc/init.d/mysql start

or

sudo service mysql start

Nothing happens...

Is there something else I need to setup? Or does mysql server not work in chroot environment?
[Android Software Development] Trickster03:
Screen Resolution???

I can't get my screen resolution to be exactly the size of my screen..960x800 (Samsung Infuse 4G) It gets close to it, But I still have to scroll around on the screen I want it 100% Full Screen..No scrolling at all..I even have the $2 Donate key..Yet I see nothing about extra options or anything that it says it should have...I tried editing the .conf manually no go, Tried various other Linux commands. None at all seemed to work...If someone can tell me whats going on with it, That would be great...
[Android Software Development] devwithzachary:
Ok, did you give the install app root access?

Never tried running it behind a firewall, and as it dosnt technically run in a app its not that easy, are you able to open ports etc in the firewall?

mysql is not installed by default as lots of kernels are missing required modules for it to run. You can try installing it and see if it will work on your device

If you device has a permanent statues bar ie the vnc app dosnt take up the full screen then you will need to adjust the rez accordingly. If you have the key in the luancher app within the launch menu item you should see a new button that says config (if you dont try restarting the app). However any screen change you make you will then need to restart ubuntu to take effect as once the vnc starts it cant be changed within shutting it down
[Android Software Development] Leesam:
I had this exact issue trying to install ubuntu yesterday. I don't know if anyone posted this further down the thread but i fixed it by changing permissions in the folder:

/data/data/com.zpwebsites.ubuntuinstall/files/

The permissions on all 3 files were only Read Write. When i added execute permissions ubuntu checksum passes and booted perfectly!

I'm on a Razr with ICS 4.0.4 Stock + Root (6.16.XT912).

The other issue i had with the razr is that /sdcard/ is actually INTERNAL storage. Would it be possible to launch ubuntu from /sdcard-ext/ubuntu ? I had to delete quite a bit to make room for the ubuntu image.
[Android Software Development] devwithzachary:
Yup if you do not give the install app root on its launch it can not copy the script and give it executable permissions, so if root is not given you will get this error.

Yes you could put the image on the external and then edit the launch (press menu button in the launcher and select edit) to point to the new directory of the image
[Android Software Development] Leesam:
Thanks!
[Android Software Development] case-sensitive:
swap + minimal install + framebuffer

I've installed "ubuntu small" on my note color, running CM7.1 off the sdcard. It works well! A few questions:

(1) After I launch ubuntu small -- still in terminal mode, vnc not started yet -- "top" says that I only have 5M of ram left (out of 512M). Also, there is no /swap. I do have room on my sdcard.

Request: Could you add the option for users to add a /swap on their sdcard (and with a user-specified swap partition size)?

(2) I tried to get save memory by first installing "ubuntu core" and then add just a few packages to get an x-window. No dice: I don't get the line

New 'X' desktop is localhost:0

and when I exit and then return to the lauch screen, I do not see the "configure linux" button (so I don't get to reactively ask to start vnc). While I can remove packages I don't want/need, apt-get remove does not remove all the libraries installed along the way, and those (and the associated services) take up resources.

Question: How do I install the "ubuntu core" and then add window manager later?

Alternative suggestion/request: Could you prepare a 'barebones install' with x-window (and nothing else), like http://www.psychocats.net/ubuntu/minimal and obviously do NOT include firefox :) Extra-bonus request: use lxde instead of icemw :)

(3) Have you seen http://xdaforums.com/showthread.php?t=1605095? It runs xorg via framebuffer instead of VNC; the graphics is much smoother. Keyboard and mouse work well, touch screen is not so clear -- but see the comments in the original post http://thomaspolasek.blogspot.ca/2012/04/arch-linux-lxde-w-xorg-mouse-keyboard_16.html

THANKS!
[Android Software Development] dragondgold:
Terminal Emulator has root access. Complete Linux Installer app never asked me for root acces.
[Android Software Development] case-sensitive:
Looks great!

I tried to use pocketcloud but I couldn't figure out how to set it up. I used manual setup, press "+" to create my own conection (I picked vnc), for host address I used "ubuntu:localhost", and for port, "5900". When I tried to initiate connection it says "Connection failed: Could not find server". I also tried the host address "ubuntu:localhost:0" (as in androidvnc) but to no avail.

Thanks for your help!
[Android Software Development] devwithzachary:
1) We where talking about this in IRC early and I plan to build it into the next script, HOWEVER your kernel will need to support swap, which alot of kernels do not on android.

2) you will need to install tightvncserver, and a desktop environment thats all, and sorry no I can not create another image the core image I already make you can use a base, make it larger and add a desktop environment, if I take requests for images I will spend the rest of my life making different images for people to dont take its personally just something I havnt the time for.

3) I havnt seen it working right but that blog post is very interesting and something I will have to try yes.

Odd it should have asked on first boot, try wiping its cache and data and run it again :)

YOu should only need to type in localhost or 127.0.0.1
[Android Software Development] case-sensitive:
How do I determine if my kernel supports swap? According to android setting I'm running CM7.1 with kernel 2.6.32.9, "erik@myhost #151".

Thanks! One more thing: How do I set/reset my vnc password? I tried to uninstall/reinstall the installer apk but it still retains the old vnc password (which I forgot). I have the donated version of the installer, but I can't find any option to reset the vnc password.

Thanks!
[Android Software Development] dragondgold:
I wiped cache and data whit Link2SD and now i was asked to grant root permission, but I keep getting the same error :(
[Android Software Development] japzone:
It's localhost or 127.0.0.1 for Host Address and 5900 for the port. Also set the OS to Windows.
[Android Software Development] Trickster03:
THE ingucke

Thanks for the reply, I re-installed didn't work even tried a different VNC program still didn't work. And when I start Backtrack from the terminal it says that VNC is running and tells me what display its running on etc, But then I have to hit the home button and go into VNC manually.

It's not a perm status bar, The VNC app goes into full screen etc. Everything works that way. its just backtrack itself that has a weird rez. I have to scroll down and side to side..It just won't FIT on my screen as a whole...Also Restarted the app 100 times etc still won't show a "Config button"..So I have no idea whats wrong with it...
[Android Software Development] FranceIsBacon:
The configure option is in the "Launch" menu. I wish I could be of more help, but my knowledge was exhausted when you dropped by the support thread. A dev will see this and keep trying to help. (:
[Android Software Development] Trickster03:
Thanks for trying to help me in there though! I looked everywhere in the "Launch" Menu and the whole damn program for a Config option its no where...
[Android Software Development] basily:
I'm running the ubuntu lite on my Captivate with Slim rom and it works beautifully. Thanks so much for all your work!

I'm just installing gimp on it - not sure how useful it will be, but cool that you can do it (so far so good, still installing...).

I'm wondering, what if anything applications are people installing and using on their linux's? What's actually useful?
[Android Software Development] FranceIsBacon:
d you try launching the app from the pro key?

---------- Post added at 11:49 PM ---------- Previous post was at 11:46 PM ----------

Someone installed and used Eclipse on their install. Not sure if that makes him a mad man, or if it makes me a mad man for wanting to do the same and set it up as a build environment. You know, for science. If I can get a ROM build done in less than 5 hours, I will consider it a success.

Glad you like the app!
[Android Software Development] pyfviperx:
Hi, i just tried this on my atrix 4g, everything went fine but all my getting on the vnc viewer is a white/grey checkered image and a black X wich moves with the mouse. Help ?
[Android Software Development] radekula:
Which image do You use? Core, small, full? Which distro?

It looks like window menager is not starting. You can search google to find out how to install full graphical environment in distribution You use.
[Android Software Development] pyfviperx:
Yep, thats what i just checked but the strange thing is that it happens on the big one and one the medium one! how do i install lxde ? apt-get install lxde ? or can i even put another window manager like xfce ?

EDIT: just ran an apt-get install lxde and it looks like im already on the latest version and it is just not starting :/
[Android Software Development] devwithzachary:
This is a known issue with the atrix, which I cant work on very easily due to the lack of a atrix to test on.
[Android Software Development] radekula:
The simplest way to start LXDE will be to do this from terminal:

su ubuntu

echo 'lxsession' > /home/ubuntu/.Xsession

Works for me.

---------- Post added at 12:20 PM ---------- Previous post was at 12:11 PM ----------

It's not atrix issue - it's ubuntu image/installation issue where X server is starting (grey backgroud, black mouse cursor) but none of installed window managers starts (see my preview post).

Install images (I can confirm that only for core image) are configured to start X session in VNC without lightdm (or GDM etc.) but with GNOME/Unity directly so when there is no GNOME/Unity installed X session will 'stuck' at display menager from X Window System. You need to specify with DM You want to use (one solution is via ~/.Xsession).
[Android Software Development] devwithzachary:
Thank you, I will get this fixed in the next image then
[Android Software Development] Facuricaud:
Yes, same thing, i'll stick with the small 10.10 image, it works just fine, except for one problem, all web browsers crash very often, any solution for that?
[Android Software Development] steveguk:
Apache?

Any ideas how to get apache web server to run?
[Android Software Development] markfid:
The same things that Canonical are talking about?

Is this the same package and way of doing things that Canonical are talking about on the Ubuntu site at slash devices slash android (I would post a link but this is my first post on XDA, despite being a member and long term watcher of quite a while)?

It seems from the explanation on the Ubuntu site that they are doing things a slightly different way to what you have implemented in the package available in the play store, or am I just getting a bit confused with Canonical's marketing speak :)

If this is different, could you explain what you are doing and what they are doing in idiot proof terms for me ;)

Cheers,

Mark.
[Android Software Development] DarkhShadow:
This method is running a ARM version of Linux inside of android via chroot

The ubuntu on android is a different project that when completed, will be FULL ubuntu on phones when docked

Sent from my ice cream powered Nexus S
[Android Software Development] markfid:
Do you know where to find out more about the native implementation of ubuntu on android?
[Android Software Development] DarkhShadow:
Try YouTube, not much information has been released apart from what was at that event(idk what its called as I'm in UK)

Sent from my ice cream powered Nexus S
[Android Software Development] devwithzachary:
From the little information we have had about it, the only real difference is they have a team of well paid 'professionals' working on it while I am just a poor first year computer science student ;).

The big changes between the two are that with theres you must connect the phone to a monitor to use ubuntu, the phone must be dual core and have HDMI out.

While having the need for a monitor allows you to solve the graphics issues (mine the GUI runs over a vnc connection theres is native through the HDMI port) it means the ubuntu is not really truly portable.

At the end of the day I am not completely sure how there method works as they have released very very little information on it, but I bet my money on the fact it is still just a chrooted environment with some fancyness with the graphics out etc.
[Android Software Development] mscion:
Hi Zacthespack. I'm still waiting for official ICS to show up for Galaxy note before I root and try your app. In the meanwhile I have the following question. Has there been any success getting linux to properly work on android phone that has a hwkb? Perhaps there are some difficulties with key mappings. In general, I would think that the vkb takes up too much space on screen to do a lot things as easily as with the hwkb. For example, editing an open office document must be painful with vkb as it would sit on top of most of the page. Galaxy Note screen is big enough so that vkb can coexist with, say, a document application. Anyways, I might consider getting an android with hwkb if getting linux to work well is possible.
[Android Software Development] deeciple97:
Or ChromeOS?!:D
[Android Software Development] devwithzachary:
Hardware keyboard work well, so long as they work with android, now I have my note I also have a bluetooth keyboard to use with it and it makes life so much easier when deving :)
[Android Software Development] NOMIOMI:
is there any way to run the ubuntu on sgs2 ICS?????
[Android Software Development] DarkhShadow:
Try it?

Sent from my ice cream powered Nexus S
[Android Software Development] razerblader:
This is as dirty as it can get, have a donation version with more features, and build it on open source (both Linux and Android), WTF?!

This just getting sicker and sicker :/

I thought you all bought Android cuz it had the ability to build nearly annything since it's based on open source, but this is proof of how wrong I was when expecting that, this was the lowest I have seen anyone sink, better tell ppl that they do can donate to the project to keep it alive rather than having one pay-version.

This just makes me ill, never seen something like this, okay if it was an real app that you had write all of the source for, but this is more like an little shortcut to get Linux OS on your phone/tablet, not your work buddy, just telling.

And BTW, if I was you, I had rather motivate other ppl to donate if they want.

But enough about the bad part, the good part is that it looks interesting, but I don't want to even test it cuz it's so dumb with a paid-version.

Best regards RazerBlader, and I hope you have my suggestion in mind anyhow.
[Android Software Development] DarkhShadow:
So no devs on android should have donate/pro versions? Some people do this to earn extra money, some do it as a full time job, some just do it because they can in there spare time(in the case of Zack?), why shouldn't anyone be able to do it? He's at uni so any extra cash is helpful

Sent from my ice cream powered Nexus S
[Android Software Development] razerblader:
Because it isn't his work, he just offers a shortcut to a work that isn't his, and about that PRO-version, it offers more features, I donät see that as a donating version, I see it as "Buy this if you want the whole cake or stay with half of it" as always, but this time, it jsut feels dumb to take money for open source, it should have been okay if it was an whole new experience of Linux and a whole new distro with a full android-developement with his own packages zipped witin it and all and such, but not this time when it's just a little shortcut, that's the part that disturbs me a lot.

And if I had been one of the developers of the Ubuntu distro for example, I hadnätliked to see it in a work like this and to see someone making money on my work, the dev have maybe been working some days on it, but the other devs that has put their job into this has putted even more into it to get it to work, and they did it from

scratch

, this giy just did nothing more than adding some ARM-support for it and for it to work with a boot-loop or such and that's nothing in my eyes compared to all the code-lines and all the days for getting the whole Linux to work.

I stand still at my point, I dislike this

A LOT

, but hey, that's just me, if you wanna pay the wrong giy for a work, fine, if you wanna donate him as a dev that makes this possible, then it's more reasonable IMO, over and out, keep your aspect at this job if you like it, I just feel that it's real dirty.
[Android Software Development] bryandrummer:
i normally dont post alot and when i do it is almost never to respond to a post like this but i feel this is a little disrespectful. i know everyone is entitled to their opinion but this going a little far. there are plenty of people here following this thread and appreciate this project. even though most of this project is open sourced and anyone could potentially create much of this, there are individuals like myself that don't have nearly enough computer or programming knowledge to even think that this is possible yet implement it. for doing the leg work i feel he is entitled to a donation if someone wants to and this is fully functional without donating so it isn't mandatory to gain a full experience. this thread is to share ideas and help each other and the developer with the advancement of the project and if you don't agree or like it there is no one forcing you to follow this thread. i'm not trying to preach, i'm just saying there there is really no need to hate on the dev if you don't like his project when all the people of this thread want to do is make it better.
[Android Software Development] devwithzachary:
Its a shame theres still so much disrespect on XDA. Did you mum never tell you if you don't have anything nice to say don't say anything at all. Why does some many people think that because android is a open source OS the apps should be free as well?

My free apps provide you with EVERYTHING you need to run ubuntu/backtrack/debian on your device, the paid versions are there for you to donate, no one is forcing you to buy anything so why ***** about it?

Sure the paid version have a few extra features but these have nothing to do with the linux builds, these are freely available on my source forge site (so you dont even have to install the free app if your really that worried about it). The paid version features are all features I have worked hard on including the boot widgets etc, other features like the faster download cost me money to run which is why they are only in the paid version.

Everything that I have taken from else where is freely available and so is most of the work I have done (including the boot script which has taken months to get just right, and I am still improving) so you argument is pretty invalid.

But anywho over 50,000 people seem to like the project so one person dosnt really make alot of difference, you are entitled to your views but I just dont understand why you feel the need to post them here.
[Android Software Development] devwithzachary:
I am in the process of creating a new working device table which is being powered by a google docs form.

This way you can all simply enter your device/rom/kernel etc and help keep the list up to date as lately I have been working hard on the app/images and forgot about the working device list.

SO please fill out this form here with your device information if you have got any of the distros running on your device. Thank you for your time

https://docs.google.com/spreadsheet/viewform?formkey=dERVaEJUNVhPbjlTaGs3N0JLU2JQRHc6MQ#gid=0