yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] Kobalt.Kitsune:
Hello again. This time I'm having a problem modifying files on a usb drive I have hooked up to my galaxy tab 10.1 [p4wifi]. I've used an app from the android market called "StickMount" to mount the drive to: /sdcard/usbStorage/sdb1. My problem is when trying to delete files on the drive, I get an error saying: Unable to trash file. Invalid cross-device link. Now from what I understand, the only type of link I could use to fix this would be a symbolic link? Could someone please tell me what I could do to fix this?

Also, I noticed there is a option to boot Kali from an external sdcard. Could someone tell me what I would have to modify to get this to boot from my usb drive instead?

Thanks for the help! :)
[Android Q&A, Help & Troubleshooting] k3v0:
Any interest in single application images? My thought is that the minimal ubuntu image could be setup to run GIMP and only GIMP, for example.
[Android Q&A, Help & Troubleshooting] Greg1964:
Any ideas why I keep getting failed connections.

---------- Post added at 05:44 AM ---------- Previous post was at 05:29 AM ----------

I'm having trouble extracting the images on Ubuntu for small image I'm using file manager I can find the images I just can't figure out how to extract them for I can put them on my SD card.some help please. Thanks in advance... :)
[Android Q&A, Help & Troubleshooting] rp56:
What's the image with full path?
[Android Q&A, Help & Troubleshooting] rp56:
The emulator works fine but when I try the vnc it Vnc it won't connect.any help please.
[Android Q&A, Help & Troubleshooting] chapicha:
Always the same, thank you

Thank you very much k3v0, i really appreciate your interest. I've unzipped it with solid explorer (very good application, thanks). Till now i had unzipped with different applications in my pc, linux and also i've tried windows, and now with solid explorer in my lg optimux 2x, but the result goes on the same. Ubuntu seems to boot ok, but when connect with vnc the screen appears blank-grey, the pointer of the mouse moves correctly. Please if someone has a lg 2x and has got to boot an ubuntu image, would be so kind to say me what rom and kernel uses?. Down here are the specifications of my device:

lg optimus 2x

rom cyanogenmod-7.2.0-RC0-Optimus2x-KANG

kernel 2.6.32.55-cyanogenmod root@temasek#1
[Android Q&A, Help & Troubleshooting] k3v0:
Apologies, my comment was directed to issues extracting the image file archive. If the image is corrupted the md5 check will fail.

Your issue is different. Check the vnc log to see where the failure occurs.

vi /home/ubuntu/.vnc/localhost\:0.log
[Android Q&A, Help & Troubleshooting] chapicha:
not the same, Backtrack works ok, i can see desktop ok

Also,Thank you very much to Joesnose, thanks for your answere. It's strange, I can boot backtrack and debian and see de display(desktop) ok. Ubuntu seems to boot ok, but when connect with vnc the screen appears blank-grey, the pointer of the mouse moves correctly. Please if someone has a lg 2x and has got to boot an ubuntu image, would be so kind to say me what rom and kernel uses?. Down here are the specifications of my device:

lg optimus 2x

rom cyanogenmod-7.2.0-RC0-Optimus2x-KANG

kernel 2.6.32.55-cyanogenmod root@temasek#1

Thanks to the developers and web masters, you are doing a good work, i really appreciate, you're a gift, lot of thanks.

---------- Post added at 11:36 PM ---------- Previous post was at 10:45 PM ----------

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

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

ok

10/05/13 23:16:46 listening for vnc connections on tcp port 5900

and now the errors

Font directory '/usr/share/fonts/x11/type1 not found - ignoring

Font directory '/usr/share/fonts/x11/75dpi not found - ignoring

Font directory '/usr/share/fonts/x11/100dpi not found - ignoring

xrdb: no such file or directory

xrdb:can't open file '/home/ubuntu/.Xresources'Segmentation fault

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

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

Excuseme for the delay and thank you very much. I don't know if that culd be useful for you.
[Android Q&A, Help & Troubleshooting] rp56:
Alright I got emulator and vnc to connect once I'm in it asks for my password so I put Ubuntu in and it says authentication failed.could someone please tell me what I doing wrong.I greatly appreciate it. :)

---------- Post added at 03:21 PM ---------- Previous post was at 02:53 PM ----------

Could somebody please help me pass the screen saver local host it tells me to enter the password so I enter Ubuntu but it keeps saying failed authentification. I'm so close..
[Android Q&A, Help & Troubleshooting] k3v0:
The password is ubuntu

Note all lowercase
[Android Q&A, Help & Troubleshooting] rp56:
I put in ubuntu all lower case and it keeps saying authentication failed.I'm trying to get pass the screen saver where it says localhost and it says username Ubuntu and it asks for password.why won't it take ubuntu.Does anyone know why this is happening.
[Android Q&A, Help & Troubleshooting] rp56:
I'm unable to change the input mode for the mouse.It will not change to any of the other modes.
[Android Q&A, Help & Troubleshooting] chapicha:
root password in debian lxde

Is it possible to login as root user in LXDE desktop environment with debian image?. I don't know what to do, i've tried everything. Sudo su says user is not in the sudoers file. What the hells is the password for root. What can i do?. I'm desperated. Thank you very much for your answere.
[Android Q&A, Help & Troubleshooting] chapicha:
ok

i've got it. Editing etc/sudoers with visudo command. I didn't remember the android terminal that is used to boot debian image obviously is root, impossible with debian terminal. I've added the line user ALL=(ALL) ALL. Now sudo su has accepted the user password and changed to root.
[Android Q&A, Help & Troubleshooting] rp56:
Are all these builds considered alpha builds.
[Android Q&A, Help & Troubleshooting] rp56:
When I try signing in with the android vans I keep getting an error saying vnc failed to connect to host 127.0.1

01.I'm signed into Ubuntu through the emulator I don't know why I keep getting this error.could someone please help me out with this problem.I would really appreciate it. Thanks
[Android Q&A, Help & Troubleshooting] k3v0:
Try localhost:5900
[Android Q&A, Help & Troubleshooting] rp56:
So for the address put localhost5900?
[Android Q&A, Help & Troubleshooting] k3v0:
No the address is localhost

The port is 5900

If entered on the same line they are separated by a colon.

It must be exactly localhost:5900
[Android Q&A, Help & Troubleshooting] rp56:
Its says eccon refuses connection.

---------- Post added at 06:19 PM ---------- Previous post was at 05:29 PM ----------

Now it keeps saying connecting establishing a handshake its been doing this for about 3-5 minutes now.Is this normal.
[Android Q&A, Help & Troubleshooting] rp56:
If anybody has used this on a sensation could you please let me know how good it worked for you. Thanks
[Android Q&A, Help & Troubleshooting] Greg1964:
I just bought a Tmobile Gs4 this should work on the Gs4 as well right?
[Android Q&A, Help & Troubleshooting] Ryoji29:
Having this problem ..

im using this img. ubuntu1204-v4-core

help pls

Im using Galaxy Note 2

Xsession: unable to start X session --- no "/home/ubuntu/.xsession" file, no "/home/ubuntu/.Xsession" file, no session managers, no window managers, and no terminal emulators found; aborting

u0_a319@android:/ $ su
root@android:/ # cd sdcard0/ubuntu
sh: cd: /sdcard0/ubuntu: No such file or directory
2|root@android:/ # sdcard/ubuntu
sh: sdcard/ubuntu: can't execute: Is a directory
126|root@android:/ # cd sdcard/ubuntu
root@android:/sdcard/ubuntu # vl
sh: vl: not found
127|root@android:/sdcard/ubuntu # cl
sh: cl: not found
127|root@android:/sdcard/ubuntu # vl
sh: vl: not found
127|root@android:/sdcard/ubuntu # il
sh: il: not found
127|root@android:/sdcard/ubuntu # sh bootscript.sh
Validating image checksum... OK
Checking loop device... MISSING
Creating loop device... OK
mount: mounting /storage on /data/local/mnt/external_sd failed: Invalid argument
No user defined mount points
net.ipv4.ip_forward = 1
Config file not found, using defaults!(/root/cfg/ubuntu.img.config)
Starting first boot setup.......
groupadd: group 'android_bt' already exists
groupadd: group 'android_bt-net' already exists
groupadd: group 'android_inet' already exists
groupadd: group 'android_net-raw' already exists
mkdir: cannot create directory `/var/run/dbus': File exists
chown: invalid user: `messagebus.messagebus'
usermod: user 'messagebus' does not exist

Now give your user account (named ubuntu) a password

Please enter the new password below

Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
chown: cannot access `/external-sd/': No such file or directory
groupadd: group 'sdcard-rw' already exists
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]:
1280x720

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:
eth0: error fetching interface information: Device not found

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)
y
Config saved to /root/cfg/ubuntu.img.config

To shut down the Linux environment, just enter 'exit' at this terminal - and WAIT for all shutdown routines to finish!
[Android Q&A, Help & Troubleshooting] Rihaan_luckystar:
unable to recover memory space consumed by Linux on android

I am using an android tab from chinese manufacturers i.e. its not from a top brand. The tab model is "Full AOSP on Rk29sdk" and the android version running on it is 4.0.1.

I got Ubuntu 12.04 installed through complete linux installer app ,on the tab and connected via androidVNC app. It consumed 3.5 GB space on my tab's internal memory, after the installation. I tested it and didn't like it. So, what I did is I just deleted the folder containing Ubuntu image and other files ,from the memory. Also, I uninstalled both the apps as well.

Now, still my storage shows the same availability as it did before deleting the folder. How do I recover that space ??
[Android Q&A, Help & Troubleshooting] ramsuresh4:
Find 'LOST.DIR' folder in internel memory or Sd card and delete the files related to ubuntu. It may be solve your problem.

Sent from my Dapeng A9230+ through XDA mobile.
[Android Q&A, Help & Troubleshooting] Rihaan_luckystar:
I am sorry, But I just cant find the LOST.DIR folder on my sdcard(internal memory). :eek:
[Android Q&A, Help & Troubleshooting] BPHC:
cannot install lamp-server on backtrack 5

When try to install lamp-server on backtrack 5

sudo apt-get install tasksel

sudo tasksel install lamp-server

I get an error message: tasksel: aptitude failed (100)

After googled, people told me to update it first with

sudo apt-get update

but I still get the same error

Can you help me?

Thanks
[Android Q&A, Help & Troubleshooting] Mich3lin:
Hi, I have a little bit issue with screen resolution, since my Transformer have 1280x800 (1280x752 with Android bar), I must set the lower resolution x752 because full res. gives me error:

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

1280x800

su: warning: cannot change directory to /home/fedora: Permission denied

-bash: /home/fedora/.bash_profile: Permission denied

vncserver: Could not create /home/fedora/.vnc.

It would be so much better if I could run it "fullscreen" since I've already managed to hide system bar.

And one more question, how do you kill linux completely, because sometimes it probably stays in memory and when I want launch linux again, it's not possible - chroot is busy.

I tried this on archlinux, ubuntu, debian and fedora (large images). All with same issue.

Thanks in advice
[Android Q&A, Help & Troubleshooting] BPHC:
To answer your second question,

in Terminal Emulator, type "exit" to exit Linux
[Android Q&A, Help & Troubleshooting] Mich3lin:
well... That's what I'm doing, but it fails with some error telling that it can't unmount. And when I try to launch linux again, similar error shows up "mount: mounting /dev/block/loop366 on /data/local/mnt failed: Device or resource busy

error: Unable to mount the loop device!"

And only way how to get rid of this is rebooting device, then everything works fine.
[Android Q&A, Help & Troubleshooting] devwithzachary:
As long as you have root and loop support you should be fine

Seems like your have alot of issues with it, PM me with a screen shoot of the terminal once linux is booted along with what vnc settings you are using etc.

The core installs do not have a GUI, they come with vnc so advanced users can easily install their own GUI and expand the image.

Sometimes an less known devices when a file/folder is 'deleted' it actually isnt and does end up in some .lost directory (name may be different) your best bet is if possible to connect it to a computer and try and find the files to delete that way.

Not sure one this one seems to be more of a linux issue in general and not just something on LinuxonAndroid - see http://ubuntuforums.org/showthread.php?t=1582441

Fedora is considered BETA still and as such will have issues, I recommend using another distro until it reaches stable.

The second issue is a known one and something we are working on. The issue here is that process running within linux do not get killed before we unmount the image, therefore the image cant be unmounted and everything gets stuck, only way round is to reboot.

But its something we working on!
[Android Q&A, Help & Troubleshooting] antz_77:
Up. I've the same problem." Exit" on terminal don't work (even "exit" several times) . Only way is reboot the device. Thanks in advance

Enviado desde mi GT-N8000 usando Tapatalk 2
[Android Q&A, Help & Troubleshooting] ehsan-black:
hi. i use debian small image and when i want to use sudo command it says that it doesn't exist in bash commands!i'v checked bin folder and sudo isn't present.

and when i want to use su command root password is required. i tried "debian" as password but it doesn't work. how can i use superuser ? and what is root password?

thanks in advance
[Android Q&A, Help & Troubleshooting] rp56:
After I enter my screen resolution and then I type in enter and hit it the emulator just stops. Im using a tmobile Gs4 and I downloaded the small image for ubuntu.Do you know why I cant get pass trying to enter the resolution? any help please. Thanks

---------- Post added at 05:15 PM ---------- Previous post was at 05:13 PM ----------

Has anyone ran ubuntu on a Gs4?
[Android Q&A, Help & Troubleshooting] rob219:
I installed ubuntu 12 on my note 2 with out a problem. after installing I updated and then installed aptitude. I can open aptitude but to use it for app udates and such I need a password. is there one for it? I tried root sudo and ubuntu already but those are wrong.
[Android Q&A, Help & Troubleshooting] rp56:
If anyone has or is running 12.04 ubuntu on there tmobile Gs4 could you please pm me I having some trouble with getting it work on my Gs4. Thanks
[Android Q&A, Help & Troubleshooting] rp56:
I would love to rin linux on my Gs4 but I keep running inyo problems.anyone out that has the time to help me out could you please pm me.I would be more than happy to donate but I would like to at least see how it runs.thanks in advance!!! Takecare!!!
[Android Q&A, Help & Troubleshooting] snakefreak:
rp56 i have a ubuntu image runing with linux on android. runs fine on a i9505!

But i have a question anyone here using a mk808 tv stick and have a chrooted linux on it?

Same image as on sgs2 and sgs4 (apache works) but on mk808 apache is not running :(
[Android Q&A, Help & Troubleshooting] bloodyshyt:
Does anyone know how to run lxde instead of the unity launcher on Ubuntu, my tablet has a tegra chip which makes the icons looks funny. I have already installed lxde and edited the xstartup file but nothing is working?

On a side note, has anyone managed to install openoffice on backtrack? I was able to do it in the past but now it gives me the no installation candidate error.

Many thanks
[Android Q&A, Help & Troubleshooting] rp56:
Why after I enter my devicez resolution the emulator goes haywire.
[Android Q&A, Help & Troubleshooting] rp56:
Could someone give me some suggestions why b after I put in my screen resolution at then type in enter b the emulator just stops.I would greatly appreciate any help. Thanks
[Android Q&A, Help & Troubleshooting] alee168:
Icons Missing/Grey

Hi,

I have a similar problem as knalpot. In both the ubuntu 12.04 (full and small) and debian (small) icons are gray boxes. In the ubuntu full, an error message appears that says "System program problem detected". Also firefox immediately crashes upon opening.

Any way to fix? Could it be bad download despite passing md5 check? Thanks in advance!

Device:

HTC One running AR 9.4 with teaMSeven kernel (not tegra processor)
[Android Q&A, Help & Troubleshooting] quarasut:
*solved*
[Android Q&A, Help & Troubleshooting] Xenomisis:
Galaxy S4

I recently purchased the donate version of Complete Linux Installer just assuming that there was compatibility for my GS4 since it worked on the GS3 (yes we all know what assuming does).

Anyways I cannot seem to get it to run but it looks like some people have accomplished this from previous posts.

I am rooted and have access to everything via root browser but still appear to be having issues. From what I can tell they are issues mounting the image but I have made sure that the image path is correct.

u0_a274@android:/ $

u0_a274@android:/ $ cd /storage/extSdCard/ubnt

u0_a274@android:/storage/extSdCard/ubnt $ su

xonandroid/files/bootscript.sh /storage/extSdCard/ubnt/ubuntu.img <

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@android:/storage/extSdCard/ubnt #

My goal was to just go through the bootscript.sh file and to try to make changes where needed but I am having trouble understanding exactly how it is written and where I need to make adjustments.

Any help would be much appreciated.

BTW I am running the Sprint GS4 rooted with the stock rom and kernel.

Thanks for any help anyone can give!
[Android Q&A, Help & Troubleshooting] superdave42:
USB memory stick & serial devices

Hello, Awesome APP !!!! I am new to the Linux scene and actually I have a goal that is forcing me to learn this ( not a bad tradeoff at all , I'm a mechanical designer and am starting to learn about software etc.)

I have a small Quadcopter from BitCraze called the CrazyFlie.

1. they provide a VM appliance that is a Linux environment with the Dev tools and ground station GUI and USB wifi modem driver to control this aircraft.

2. It's a Python project and everything works within the Linux VM they send out ( I run it currently on a Win-7 machine using Oracle Virtual box)

It reads in a PS3 game controller and commands the drone thru the USB port thru a wifi modem ( called CrazyRadio)

3. I am already tired of using my 17.3" gaming laptop every time I want to fly this aircraft.

4. My goal is to get my Galaxy Nexus and or Nexus-10 tab to run this Python project and become my mini portable ground station ( no laptop required).

Now that I have Linux installed on my androids I feel very close to achieving this goal.

I'm sure I'll be able to get PS3 BT drivers working to

1 problem I have so far is I have the entire Python project directory on a USB memory stick and I cannot get Linux to see that it is plugged in ( so I can transfer the directory to the Linux desktop for now. when I plug in a USB mouse with OTG adapter, the mouse runs perfect in Linux

once I figure that part out, the next issue will be the USB radio driver, but I'll attack that after I can load files from the usb stick.

I guess what I really want to know is if this is possible to do. if it is, then I will continue to research how to do it, I just don;t want to waste a bunch of time researching something when it just is not possible yet. ( I'm still far too much a of a newb to pretend I know what I'm doing with Linux)

the device I want to control is here bitcraze.se

Very cool linux instal app though, I must say it's exciting to see it run,
[Android Q&A, Help & Troubleshooting] superdave42:
Is this thread dead or is my post count too low ? is the dev around ?
[Android Q&A, Help & Troubleshooting] devwithzachary:
Sorry guys I have been very busy and havnt had time to come in and answer questions, if anyone still has questions feel free to repost or point me to your post!

You need to mount the folder that the usb drive is mounted to in Android, so the usb drive is prehaps mounted in Android to /storage/USB or something like that, so you will need to mount that folder into Linux which is found within /mnt of Android

After that Linux will be able to see the usb drive
[Android Q&A, Help & Troubleshooting] superdave42:
Aha !! Very cooool, that make sense. Thank you very much for that info. Like I said above I am still learning all of this.

Cool now I have something to try tonight after work. :good:

Dave
[Android Q&A, Help & Troubleshooting] alee168:
This is just a repost. Still no results after searching the threads for a few days....If you someone has a solution that would be great!
[Android Q&A, Help & Troubleshooting] devwithzachary:
could i see a screen shot of the issue not sure I have seen this before
[Android Q&A, Help & Troubleshooting] Shadowxz:
Mount

Hi,

i got a Problem with Mounting Netzwork Storages. I use the Ubuntu small Image and tried several Tutorials on how to mount a NAS but nothing works. Do you know what the Problem could be? I can use smb//xxx to access it, but can't use it in Programms. I have not much experience with Linux, so a noob Tutorial is highly appreciated. Thanks and sry for bad english :)
[Android Q&A, Help & Troubleshooting] alee168:
Here, one is right after starting up and the other is after clicking firefox (after it crashed about 30 sec).

1) https://dl.dropboxusercontent.com/u/61707004/Screenshot_2013-06-18-11-12-55.png

2) https://dl.dropboxusercontent.com/u/61707004/Screenshot_2013-06-09-13-25-57.png
[Android Q&A, Help & Troubleshooting] Greg1964:
Hey after I input my screen size in the emulator and then hit enter thr vnc says its invalid. I put in 1920x1080. What dize should I put in. Thanks

---------- Post added at 03:33 AM ---------- Previous post was at 03:07 AM ----------

Hey I got it to work by putting in 960x540.so I have it running all I have is a white blank screen.have I did something wrong?what do I need to do to get it working correctly. Thanks
[Android Q&A, Help & Troubleshooting] interw:
Did this work straight out of the box, or did you have to tweak something? I have it running on Note 1 and on a TF101, but cant on the i9505.

I am trying ubuntu 12.04 full image

My rom is I9505XXUBMF5-PRE-ROOTED
[Android Q&A, Help & Troubleshooting] Greg1964:
Im getting just a white screen with a keyboard. DId I fo something wrong.please help. :)
[Android Q&A, Help & Troubleshooting] Greg1964:
I had to enter screen size 540x960 because it would not take 1920x1080. but when I tap on the + sign of the keyboard it makes the screen bigger but I cant find any apps.could someone just let me know if I doing this correctly. I would greatly appreciate it. :)