yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] neo5468:
Still grey screen. But no more the error in top left. Now I have error on top of the screen:

"Semantic Data Storage. Nepomuk Semantic Desktop needs the Virtuoso RDF server to store its data. Installing the Virtuso Soprano plugin is mandatory for using Nepomuk."

But if I double click somewhere in grey space, I get pop up menu. "Terminal emulator, Web browser (which I cant access), Desktops, ObConf, Reconfigure, Restart, Exit.

I clicked Terminal emulator and it does in fact brings up terminal. If i double tap inside terminal, i can click on file manager and it does open it up. So there is some kind of desktop. But it seems like it is bugged somehow. It is hard to explain. Here is screenshot:

www. shrani.si/f/3S/Da/bj9oEMI/screenshot2013-11-28-21-. png
[Android Q&A, Help & Troubleshooting] k3v0:
What is the last line of

vi /home/ubuntu/.vnc/xstartup

It should be either openbox-kde-session

Edit: If not, make sure you launch Ubuntu from ext4 v2 by editing the link in the Complete Linux Installer. The images have different names so unzipping it in the same folder will not replace your existing ext2 v1 image. I just downloaded and checked the image on my Nexus 7 and xstartup launches openbox-kde-session.
[Android Q&A, Help & Troubleshooting] neo5468:
It says:

------------------------------------------------

u0_a130@flo:/ $

u0_a130@flo:/ $ cd /sdcard/Ubuntu

u0_a130@flo:/sdcard/Ubuntu $ su

sh /data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh /sdcard/Ubuntu/ubuntu-13.10.LARGE.ext4.img

sh /data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh /sdcard/Ubuntu/ubuntu-13.10.LARGE.ext4.img

ipt.sh /sdcard/Ubuntu/ubuntu-13.10.LARGE.ext4.img <

/data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh[39]: dirname: not found

Checking loop device... MISSING

Creating loop device... OK

/data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh[151]: dirname: not found

mount: can't read '/etc/fstab': No such file or directory

mount: mounting /storage on /data/local/mnt/external_sd failed: Invalid argument

No user defined mount points

net.ipv4.ip_forward = 1

/data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh[231]: basename: not found

Start VNC server? (y/n)

y

Start SSH server? (y/n)

y

Now enter the screen size you want in pixels (e.g. 800x480), followed by [ENTER]:

1920x1200

Password:

New 'X' desktop is localhost:0

Starting applications specified in /home/ubuntu/.vnc/xstartup

Log file is /home/ubuntu/.vnc/localhost:0.log

If you see the message 'New 'X' Desktop is localhost:0' then you are ready to VNC into your ubuntu OS..

If connection from a different machine on the same network as the android device use the address below:

95.87.189.219

If using androidVNC, change the 'Color Format' setting to 24-bit colour, and once you've VNC'd in, change the 'input mode' to touchpad (in settings)

* Starting OpenBSD Secure Shell server sshd [ OK ]

Save settings as defaults? (y/n) (You can always change it later in the app)

n

To shut down the Linux environment, just enter 'exit' at this terminal - and WAIT for all shutdown routines to finish!

root@localhost:/# exit

exit

Password:

Killing Xtightvnc process ID 6984

* Stopping OpenBSD Secure Shell server sshd [ OK ]

Shutting down Linux ARM

umount: can't umount /data/local/mnt/root/cfg: Invalid argument

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

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

1|root@flo:/storage/emulated/legacy/Ubuntu #

------------------------------
[Android Q&A, Help & Troubleshooting] neo5468:
I deleted all previouse .img files. I have only 1 folder in Ubuntu folder now. And its name is "ubuntu-13.10.LARGE.ext4.img".
[Android Q&A, Help & Troubleshooting] xda23:
Is 13.10 one of the most stable programs to use. Thanks
[Android Q&A, Help & Troubleshooting] k3v0:
What does your /home/ubuntu/.vnc/xstartup look like? Particularly the last line. It should be openbox-kde-session. If it is not replace the last line with that.

---------- Post added at 04:58 PM ---------- Previous post was at 04:56 PM ----------

I feel that 13.04 is slightly more stable than 13.10. Currently, Arch Linux is the most stable imho, but also bleeding edge and therefore may break when you update via pacman.
[Android Q&A, Help & Troubleshooting] satanic666:
Application update new permissions query

I have been using this app ever since this project begin and have been supporting & promoting it within my friends :p ;). I am not getting suspicious about this app :angel: just have a query about the new update :confused:.

New update is requesting permission for location access, can you please explain why is it necessary for location access & what if I use "permission denied" app to not to grant the permission of location access. As I see this app don't have maps in it to grant permission for location.
[Android Q&A, Help & Troubleshooting] henslo:
Am stuck have been reading and searching. Get connection errors in vnc, and in terminal

Sent from my SGH-T999l
[Android Q&A, Help & Troubleshooting] devwithzachary:
as per the apps description:

------------------Permissions Explained------------------

android.permission.INTERNET - Used to download the image files

android.permission.ACCESS_NETWORK_STATE - Used to download the image files

com.android.vending.CHECK_LICENSE - Used to check the donation key

jackpal.androidterm.permission.RUN_SCRIPT - Needed to run the boot script within the terminal

android.permission.WRITE_EXTERNAL_STORAGE - save the image file

android.permission.ACCESS_SUPERUSER - Root needed to install busybox, and the boot script

android.permission.READ_PHONE_STATE - Used by Advert Library

android.permission.ACCESS_COARSE_LOCATION - Used by Advert Library to give location based adverts

android.permission.ACCESS_FINE_LOCATION - Used by Advert Library to give location based adverts
[Android Q&A, Help & Troubleshooting] shnnxn:
please help

can anybody tell me how to install apps on linux.. am using archlinux... sorry if i post in wrong thread.. but help me... nd am new to linux
[Android Q&A, Help & Troubleshooting] k3v0:
Welcome :)

Pacman is the utility used to install applications from the official repositories in Arch Linux.

https://wiki.archlinux.org/index.php/pacman

Briefly, to install you type

pacman -S package_name

note the package name must exactly match. For example to install a web browser you would type

pacman -S chromium

To search for a package type

pacman -Ss your_query

Replacing your_query with whatever you want to look for.

pacman -Ss browser
[Android Q&A, Help & Troubleshooting] xda23:
So Linux 13.04 on Gs4 with kit kat 4.4 also rom a good match, setup, etc. Thanks
[Android Q&A, Help & Troubleshooting] xda23:
Is there a stable version of Linux for nexus 7 tablet. Thanks
[Android Q&A, Help & Troubleshooting] k3v0:
Yes. Nexus 7 works well. I developed some of the image files on my Nexus 7 while traveling.

Any ext4 image should work on the 7.
[Android Q&A, Help & Troubleshooting] douglasroos:
Now is working great on Motorola Atrix 4g, i'm using it under AtrICS v2.0 and kernel 3.1.10 alpha, i have only one question, how do remove the X on the screen? i use the touchpad from the lapdock and that X is always on the screen and is very annoying.
[Android Q&A, Help & Troubleshooting] xda23:
Do you have Ubuntu for nexus 7 2013. Thanks

---------- Post added at 10:12 AM ---------- Previous post was at 10:09 AM ----------

Would I use the same Ubuntu for the nexus 7 that I would use for my Gs4. Thanks
[Android Q&A, Help & Troubleshooting] k3v0:
Yes
[Android Q&A, Help & Troubleshooting] xda23:
Which version and size is best.Do you have a download link. Thanks
[Android Q&A, Help & Troubleshooting] k3v0:
Try this one:

http://sourceforge.net/projects/lin...Large/ubuntu-13.10.LARGE.ext4.v2.zip/download
[Android Q&A, Help & Troubleshooting] xda23:
I download this and then extract it right? Thanks
[Android Q&A, Help & Troubleshooting] xda23:
I extract both zip files into a folder on my SD card correct? Thanks
[Android Q&A, Help & Troubleshooting] xda23:
Which file would be the correct one to use torrent or source forge? Thanks In advance.

---------- Post added at 08:08 PM ---------- Previous post was at 08:07 PM ----------

This is for the nexus 7 WiFi version.
[Android Q&A, Help & Troubleshooting] shnnxn:
source forge is best to use...
[Android Q&A, Help & Troubleshooting] xda23:
O.k. I have Ubuntu 13.10 large image booting on my nexus 7.I have a question when it boots up all I get is a white screen with a keyboard.Did I do something wrong?Please help...
[Android Q&A, Help & Troubleshooting] k3v0:
Let me check that image on my 7
[Android Q&A, Help & Troubleshooting] Maplobats:
Problem with Arch

Love this app!

Ubuntu works just fine for me, every ubuntu image I have tried. But I have a problem with Arch...every Arch image I try has this same problem:

I am using the arch bootscript, but I keep getting this message, instead of the New 'X' desktop message.

Any help would be much appreciated
[Android Q&A, Help & Troubleshooting] Cello255:
I have a Complete linux installer and is showing me "image is corrupted" on all images i try to install. Where is problem pls?

I have SAMSUNG GALAXXY TAB 10,1 and original rom rooted 4.2
[Android Q&A, Help & Troubleshooting] lucozadejunkie:
Hey, I've been using this app and have had success with getting Ubuntu to run.

However, when I try to get archlinux to run I keep getting the following error:

Checking loop device... FOUND
mount: mounting /dev/block/loop255 on /data/local/mnt failed: Device or resource busy
Error: Unable to mount loop device

I've searched this thread for the error and read replies saying that changing the mode to 755 of the busybox file in /data/data/com.zpwebsites.linuxonandroid/files and also giving read/write/execute privileges in root explorer to groups/other in addition to the owner.

I also entered the following command before trying to run the image:

setenforce 0

(I'll admit, after some brief googling I'm still not entirely sure what the command and argument does)

I'm using the most up-to-date large image on a Nexus 7 v 2.0 running 4.4.2.

Any further suggestions/insight would be appreciated.

Thanks,

Emma

EDIT: Ok, after arbitrarily rearranging the order in which I executed various commands/making sure I was super user etc. I've got to a point where I'm now presented with, 'root@localhost'. However I keep being told authentication is failed when I try to log-in with the VNC viewer app. I've tried using the password the installation guide recommends, 'backtrac'(in addition to, 'backtrack' in case it was a typo), the password I entered when it asked for a new UNIX password, 'arch', 'archlinux' and some other variants.

EDIT 2: after some more googling, I ran vncpasswd to try and chance the password. I then entered the password for that in the authentication screen and this still didn't do anything. At this point I'm starting to wonder if I've made some really simple error. I've also tried with the app akRDC and when I try to connect with that the app crashes, which makes me think maybe it's just because I used the native resolution - as opposed to something a bit more conservation(with ubuntu I used 1200 x 800 I think) - of the nexus 7, 1900 x 1200 which is just crashing it. Though I don't know why there'd be an authentication error?

EDIT 3: So I gave up and restarted after a lot of messing around and now it's come up with the initial error. I've tried to replicate my fix but haven't seemed to be able to so far. I'm going to wait for some replies before trying again. Thanks.
[Android Q&A, Help & Troubleshooting] Maplobats:
I had the same issue as your first edit, but then realized I was getting the message: New 'localhost:0 (archlinux)' desktop is localhost:0

but it should say New 'X' Desktop is localhost:0

Still haven't solved this problem, but as with you, ubuntu works fine. Arch is what I use on my home computer, so I was hoping I could get it going on my phone.
[Android Q&A, Help & Troubleshooting] Johndoe666777:
Having issues when running this on my nexus 5. When I connect to the VNC client I get a dbus error. Anyone know how I can get past that?

---------- Post added at 08:41 AM ---------- Previous post was at 07:43 AM ----------

Sorry forgot to mention that I tried the fixed described in earlier posts. I am trying to run this on my nexus 5 if that makes a difference.
[Android Q&A, Help & Troubleshooting] Fluxtexra:
Help Please - Cannot Unmount / Install Linux

Hello everyone. Long time lurker first post.

Just got a new S4 (M919)

Ver: 4.2.2

Kernal 3.4

Rooted it and verified that its rooted.

But when im using Complete Linux Installer to try to install Kali linux but i think something is blocked somewhere

I get errors like

mount: mounting /storage on /data/local/mnt/external_sd failed: Invalid argument
can't unmount /data/local/mnt/dev: Invalid argument
chroot: cant execute "/root/init.sh": permission denied

Also im not sure if busybox installs correctly but some apps freeze up the phone and causes it to reboot.

I tried "setenforce 0"

and also chmoding the linixonandroid to 755 as previously shown but no luck..

what am i doing wrong?
[Android Q&A, Help & Troubleshooting] SoulOfDownfall:
Hey great work on the app! I've run into a little (huge) issue though.. (im trying to use kali) I have set everything up and it is running on terminal perfectly but vnc can never seem to connect. I get the econnrefused error. I have tried different possible passwords, on and off wifi, tried port 5901 as well, and alas I cannot do it. It makes me feel retarded.

Oh I forgot.

LG G2, vs980, 4.4.2., PA version 4, rooted

edit

I suppose I need more information. I have read through ALL 32 pages of forum trying to find an answer to my issue. But I'll list EVERYTHING I have tried. I got the root@localhost # so I know that it is working in terminal. I started with the settings you gave. Told me authentication failed. After some digging around the Web I tried passwords "changeme" and "kalilinux" and alas they didn't work. The address is correct, just localhost with no spaces or anything. I then used port 5901 as well. And again nothing worked. I tried 3 other top rated vnc apps and they didn't work either. This also didn't work on my nexus 7 2013. Same errors (ECONNREFUSED). I must be messing something up...

I noticed you don't really reply to this issue but please please help. I will buy donate after if this works.

Thanks, kevin

Edit 2

Ok al ice narrowed down the problem after literally hours of research. Ports and everything is right but no password seems to be working.. The password should be debian but that doesn't work. I used the vncpasswd and tried to manually set it up with no luck. I am at a loss..
[Android Q&A, Help & Troubleshooting] xda23:
In time will there ever be a flashable zip for this so you can just flash it through recovery. Thanks
[Android Q&A, Help & Troubleshooting] bernhardjkwolf:
permission issues?

I had this issue with fedora on a Motorola Xoom, turned for me out to be a permission problem... the permissions on important files, including /home (that includes .vnc) and /temp got changed when I transferred the image back and forth to my laptop. During the process of transferring the files back and forth to my laptop, ownership of absolutely everything changed to root with permissions set to root and group root (I did this transfer to expand the image size on my PC). It was fixed by doing chown -R fedora /home/fedora and chmod -R 775 /tmp. vncserver silently crashed every time after startup because it could not write to /temp because of this.

Also, several important executables lost the suid bit during this process.

Check the log file for the vnc server, if it says something about not being able to access something in /tmp, you probably got the same problem.

You definitely might want to try this, but maybe you have a different issue.

You should definitely check the permissions on and ownership for /home, /tmp and /dev, as well as for /bin/sudo (needs suid), /usr/bin/sudo (needs suid) and /bin/vncserver as well as /bin/Xvnc (needs suid), all those got messed up in my case during the file transfer. Took me many hours to figure out which permissions needed to be changed...After I did all this, everything runs like clockwork now :victory:

Good luck, Bernhard
[Android Q&A, Help & Troubleshooting] davidheis:
Did anybody try...

...installing any distro on sdcard? I installed ubuntu on the second partition of my sdcard and the performance boost was amazing. Much better than using an image. Had to edit bootscript.sh and init.sh for it to work. I ordered a brand new class 10 micro sd card just for this.
[Android Q&A, Help & Troubleshooting] joesnose:
Hello,

I am interested in this, do you have some basic instructions?
[Android Q&A, Help & Troubleshooting] davidheis:
Hey joesnose! I'm sure many followers of this project will be interested in installing their favorite linux distro on their sdcard. On the Linuxonandroid.org wiki, Zac has said that he'd post instructions about this but that was a year ago. There's still no instruction on this yet, and I'd like to contribute to the project in some way. So yeah, I think I'll start an instructional thread on XDA.

The bootscript and init.sh are customized particularly for my needs. For example, I removed the codes for binding the device sdcard and external-sd inside ubuntu because....I don't want then bound there.

But other users might want otherwise. So I'll post a generic instruction that anybody can modify according to their needs.

I won't be able to be really quick about this, though, as I'm quite busy with some other things.
[Android Q&A, Help & Troubleshooting] davidheis:
Hey, joesnose! I started a new tutorial thread on how to install LinuxOnAndroid images to second sdcard partition. [HOWTO] Install linux to sdcard second partition (LinuxOnAndroid) Hope it's helpful.
[Android Q&A, Help & Troubleshooting] adroidgalaxy:
I'm running a custom touch wiz rom S3Rx running android 4.3

LOA worked great until I upgraded. Here is the error in the terminal:

u0_a180@d2att:/ $

u0_a180@d2att:/ $ cd /sdcard/ubuntu

u0_a180@d2att:/sdcard/ubuntu $ su

sh /data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh /sdcard/ubuntu/ubuntu-13.10.SMALL.ext4.img

sh /data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh /sdcard/ubuntu/ubuntu-13.10.SMALL.ext4.img

root@d2att:/storage/emulated/legacy/ubuntu # sh /data/data/c.zpwebsites.linu xonandroid/files/bootscript.sh /sdcard/ubuntu/ubuntu-13.10.Sript.sh /sdcard/ubuntu/ubuntu-13.10.SMA LL.ext4.img <<br />Checking loop device... FOUND

mount: mounting /storage on /data/local/mnt/external_sd failed: Invalid argument

No user defined mount points

net.ipv4.ip_forward = 1

chroot: can't execute '/root/init.sh': Permission denied

Shutting down Linux ARM

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

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

1|root@d2att:/storage/emulated/legacy/ubuntu #

How should I fix this? It seems like an issue with init permissions? It's set to 777 and root: root. Anyone else with this issue?

Sent from my SAMSUNG-SGH-I747 running S3Rx 4.3!
[Android Q&A, Help & Troubleshooting] davidheis:
Have you tried this bootscript meant for Android 4.3?

http://sourceforge.net/projects/linuxonandroid/files/bootscript4-3.sh/download

Sent from my thumbs to your eyes.

---------- Post added at 11:48 AM ---------- Previous post was at 11:35 AM ----------

I read that Android 4.3 requires the image to be in ext4 format. You could download a fresh ext4 image or you could create an empty ext4 image and copy the contents of your old image to the new image. Also you need to use the bootscript meant for android 4.3

---------- Post added at 11:54 AM ---------- Previous post was at 11:48 AM ----------

The issue does not seem to be with the init.sh file.

The init file is located at /root/init.sh inside the image. It could be that, since the image could not be mounted due to image format incompatibilities, the init.sh file could not be accessed or run.

Your issue could be solved by following the suggestions that I gave you.

Good luck!
[Android Q&A, Help & Troubleshooting] adroidgalaxy:
I noticed the one I downloaded was not from the ext4 link. I'll download that give it a go and if that doesn't work I'll try out your other suggestions. Thank you for the fast help! :D

Update: I just downloaded ubuntu 13.10 ext4 small and ran the 4.3 launch script.

It is giving me the same error..?

How would I be able to load into the image and change the permissions? Is there an easy way to do that on my phone? Haha

Let me know if there is anything else on can try...

Sent from my SAMSUNG-SGH-I747 running S3Rx 4.3!
[Android Q&A, Help & Troubleshooting] davidheis:
If you wanna change the permissions of init.sh, run the following commands in terminal

mkdir /data/local/mnt
mknod /dev/block/loop255 b 7 255
losetup /dev/block/loop255 /path/to/your/image.img
mount -t ext4 /dev/block/loop255 /data/local/mnt

Navigate to /data/local/mnt/root/ in a file manager.

You'll find the init.sh file here. Now you can change the permissions, view the script, etc.
[Android Q&A, Help & Troubleshooting] adroidgalaxy:
Great thank you! I'll download everything again and give that another shot tonight when i get home.

In that folder right now root explorer shows that it's empty. Before running this script is that normal? Haha just wondering, never had this issue before.

Sent from my SAMSUNG-SGH-I747 running S3Rx 4.3!
[Android Q&A, Help & Troubleshooting] davidheis:
Yes, that's normal.

After you've changed the file permissions dont't forget to run

umount /data/local/mnt

If the mnt folder at /data/local/ is already existing, you don't need to run the "mkdir /data/local/mnt" line.
[Android Q&A, Help & Troubleshooting] adroidgalaxy:
So gave that a shot, I was able to get to the file init.sh

Somehow that did not fix it after changing it to 777 root: root

Was this the right permissions to set?

I'm not sure why it would give me permission denied error if that is not the issue?

Is this able to run this on 4.3? I'm not sure what else I can do..:confused:

Sent from my SAMSUNG-SGH-I747 running S3Rx 4.3!
[Android Q&A, Help & Troubleshooting] davidheis:
I'm sorry I couldn't help you get it to work for you.

Could you please tell me how you are running the script? Through the installer app or through some other method?

I just saw a guy comment on a website saying he managed to make it work on his Nexus 5 running android 4.3.
[Android Q&A, Help & Troubleshooting] adroidgalaxy:
It's ok, it might be because the rom I'm on is a work progress maybe it's missing something this needs?

I'm running the bootscript4.3.sh file as root through root explorer. Should i try running it some other way?

Thanks again! :D

Sent from my SAMSUNG-SGH-I747 running S3Rx 4.3!
[Android Q&A, Help & Troubleshooting] davidheis:
Have you tried running it through the Complete Linux Installer app? You could also try turning on the Developer Settings (don't know how this might help but at this point, try everything).

---------- Post added at 06:49 PM ---------- Previous post was at 06:12 PM ----------

Maybe you already know about this, but I suggest you take a look at this

http://xdaforums.com/showthread.php?t=2524485

Also, you might want to update your su binary or try an alternative Superuser app. Some apps don't work with Superuser but work with SuperSU.
[Android Q&A, Help & Troubleshooting] adroidgalaxy:
Yeah I have tried changing things up with those as well. I can't get it but it may have something to do with the rom atm.

When an updated version comes along I'll try again. Thank you for all the great help! You an asset to the android community! :thumbup:

Sent from my SAMSUNG-SGH-I747 running S3Rx w/4.3!
[Android Q&A, Help & Troubleshooting] davidheis:
It's my pleasure to have tried to help as much as I could. Unfortunately, I've been slowly becoming kind of obsessed with participating in software related forums. lol

Good luck with LOA in the future! :thumbup: