yashsingh1/xdaforums huggingface dataset:
[Android Software Development] digitaloutsider:
Very weird issue with permissions.. I can't seem to do anything in the GUI as root, even if I change the password.

I initially couldn't do anything as root (su, change password, use Package Manager, etc), so I made the user "debian" a sudoer with full access. If i do

sudo passwd root

it will go through the password change process and say everything is successful, but I still can't SU or do anything that requires root permission.

ANY ideas at all here?
[Android Software Development] devwithzachary:
Theres no image attached?

This is already a feature with the new complete installer in the launcher menu press your menu key and selet edit, you can then change the location of your image

These seem to be both down to the fact that once we started using a 'normal' user instead of just root this where not done quite right, we are looking into this and working out what to change to get both back up to full use :)
[Android Software Development] :
hi.

may a ask a few questions?

I followed the build guides in the app and build an image works perfectly....with gnome panel....multianguage ... vista theme like

but I got a only problem is the $PATH problem

every time i have to add the path /sbin by my self with export PATH=$PATH:/sbin in the terminal

if i VNC in,i have to do it again in vnc.....if i dont do this, i will get problem in apt-get,...and showed "ldconfig not found in PATH , start-stop-daemon not found in path".......

but everytime i reboot , i have to do it again.....= =''CRAZY

i have add /sbin in ubuntu.sh but it doesnt works

how can i solve this issue?
[Android Software Development] mscion:
Using Stylus with Ubuntu

Hi. For those with a Galaxy Note, have you been able to get your stylus to work properly with Ubuntu? Sure would be nice to take advantage of it. For example when using libreoffice I can select text using my finger but if I try to do the same with stylus nothing happens. I can use the stylus to open the applications menu but I cannot select the application with the stylus. Any ideas here?

Thanks!

EDIT: I See the stylus more or less works with Android VNC. I was using Jump Desktop which I prefer. If anyone knows how to improve performance of stylus using Jump please do chime in!
[Android Software Development] bryandrummer:
I believe there is an option in jump to change how things are registered like using a finger to drag and drop within the desktop vs drag the desktop image. I know I like it on stylus mode myself.
[Android Software Development] jacktackle:
I went through few pages zacthespack but could not find what i'm looking for.

my question is, is there any way to make phone calls and send/receive SMS? IF one is having only one phone how can he probably use it solely for running a computer OS?

SORRY if my question is duplicated.
[Android Software Development] spade1031:
What did I do wrong? Everything installed fine but when I run vnc this is all I get. PLEASE HELP!

Sent from my AoCP Note
[Android Software Development] mscion:
Thanks. I tried playing with settings but for some reason the stylus still does not register using ubuntu with Jump. Let me know what settings you use and I will give it a try. Perhaps a different type stylus might work.
[Android Software Development] Heeter:
Hi all,

Have followed the Backtack install,

I do get the "root@localhost:~#" working, I keep the terminal running, then I try to login with vnc and I get

VNC Connection failed!
Unable to resolve host "localhost": No address
associated with hostname

I am entering the default password, address & port

What am I doing wrong?

Thanks

Heeter
[Android Software Development] devwithzachary:
Linux runs on top of android so texts and phone calls etc are still handled by android, you just press the home button and linux is still running in the background but your back to android and then you can just open the app back up and back in linux :).

However I would like to integrate calling and texts, at least notifications into the linux side of things. But right now im busy sorting the new distros and other work to keep a roof over my head ;)

I cant see you screenshoot could you upload it to another site and link me :)

Can you show me a screen shoot of the output when backtrack boots to check vnc is working :)
[Android Software Development] devwithzachary:
I would like to introduce a new member to the team WEM97. He will be working with us to get even more features into the app (infact I believe his first goal will be to look at completely automating the system i.e you click a button the image downloads, extracts itself, is put in the right folder and then launched).
[Android Software Development] Heeter:
Hope this helps, zacthespack

Heeter

Edit::: I finally got in, I had to type "localhost:5900" instead of "localhost" .
[Android Software Development] burton6666:
Installing PXE server?

Hi, I installed ubuntu 12.04 core and tried following this guide to install a PXE server to be able to install Windows 7 and some other stuff from the network: http://erpxe.org/Ubuntu_installation_instructions

I my skills was not enough to complete the guide but before I try to continue, can I brick my Galaxy S3 by fiddeling around and installing stuff like NFS servers and such?
[Android Software Development] iofthestorm:
Out of curiosity, have you considered trying to run Unity/other WM using this X server instead of the native Ubuntu one? https://play.google.com/store/apps/details?id=au.com.darkside.XServer He implemented an X server from scratch in Java which is pretty impressive and I think it could potentially have better performance than VNC. I have tried running single programs like xterm and it works fine just exporting DISPLAY=127.0.0.1:0.0 and then running the X program, but lightdm doesn't work. But maybe you guys know more about how to potentially set that up? I didn't try very hard clearly.
[Android Software Development] fleshdeep:
Has anybody tested this on the Nexus 7 yet?
[Android Software Development] powerpoint45:
Hello. Im having a little trouble. I installed ubuntu to an external hard drive. The problem is that when i try to add a file or folder to the desktop or home folder via gui it says the destination is read only. I can add a file or folder via terminal as root but not the gui.
[Android Software Development] DirkStorck:
I have downloaded the full Debian image in hope that this one is more perfomant than the Ubuntu version.

If I try to start it it seams to stop at

"Creating User account (named debian)"

Could you please help me ?

Thank you :)
[Android Software Development] devwithzachary:
Unless you start messing with your android root file system you will be fine, if you keep it inside you ubuntu file system, the worst you can do is kill your ubuntu install and have ot start again

We are looking into it yes, there are still some issues with the X server which is why we are still using vnc but its certainly on the table.

A few tried the large ubuntu image which has the rendering issues as its a terga device but all other images should work fine

Which ubuntu image are you using?

Are you sure its stopped, when it asks for a password it does not show you what your typing in (standard with UNIX command line) but it is infact taking the input, just type your password and then press enter and type it again and press enter
[Android Software Development] DirkStorck:
It doesn' ask me for an password. :(
[Android Software Development] ne_o:
Hi,

I installed everything and its working. After launched the backtrack I didn't connect to the vnc. In the below you will see de screecshots and errors.

After when I got this error I started the vnc on backtrack from this command "startvnc"

So then I got the same vnc error again.

My device is Asus Transformer prime and I use stock rom with this kernel number 2.6.39.4, build number 9.4.2.28

How can I fix this problem, could you help me ?
[Android Software Development] Facuricaud:
Lol, tapatalk didn't upload the image before, sorry, here it is now
[Android Software Development] yaabaa1986:
I just can't get it to work on my Sony Xperia s

Rom: stock ics

Kernel: advanced stock ics build 11

I am using the apps recomanded in "complete linux installer"

I'am a noob in linux and loved it on my x10 please help
[Android Software Development] soundemonchan:
Would it be possible to run aircrack on a chroot in this way?
[Android Software Development] Phonegasm:
Fixed "this script requires root" error message on Galaxy S III

Here is what I did to fix the error "this script requires root" when loading ubuntu / backtrack, etc: I downloaded BusyBox (by stericson) from market. And choose install to /system/xbin rebooted phone and now it works. Also, I changed in the script for mounting "external_sd" to the Sprint Galaxy S III mount point of "/mnt/extSdCard" His script is stored under /data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh or autobootscript.sh.
[Android Software Development] Pons:
Nope
[Android Software Development] japzone:
I have my Nexus 7 (16gb) and I'm willing to try this. Sadly I'm on vacation with only a slow internet connection till Monday. I'll try to download the image now but with it being shared by several people I probably won't be able to try until tomorrow. I'll post feedback and screenshots once I've tried. I'm also interested to see if I can get this to work off of OTG as well as that would answer people's space concerns. I've been running Ubuntu as my default OS for nearly 3 years now so I'll probably use one of those images since I know my way around it.
[Android Software Development] Rafase282:
I tried it on my Nexus 7 and I coudlnt run the script, I tried updating it form teh app but nothing worked.

I was looking for the thread there but I guess it got delete.
[Android Software Development] The Archangel:
I followed the instructions completely, download ubuntu small. My issue is with vnc. The rom I'm using is aokp milestone 6

I set it up the way it says

Then this
[Android Software Development] HumpDdumpD:
Just to let you know. This works well on the HTC amaze 4G. Installed ubuntu full. Some visuals look like crap, but it works. Trying to figure out how to get Internet working now.
[Android Software Development] devwithzachary:
Ok thats odd everything seems to boot fine and the vnc connection should be running, you could try starting another connection

Ok this is a known issue which will be fixed in the next script, but for now you can fix it yourself, head to /data/data/com.zpwebsites.linuxonandroid/files and open the boot script, near the top you will find a second that checks for root, delete or comment out this section and all should be good (and do make sure that the terminal does have super user rights)

Yeah I was only aloud one thread for the project, could you show me a screen shoot of the terminal when the script trys to run?

Could you also show me a screen shoot of the terminal as it boots ubuntu to check vnc is running right

Try changing the vnc colour settings (At the bottom of the vnc settings before you connect) if its a colour issue if not please let me know more about this issue, also internet should work, is it the internet as a whole or issues with the web browser?
[Android Software Development] :
Great job. Worked for me

Sent from my GT-I9100
[Android Software Development] The Archangel:
Here you go
[Android Software Development] devwithzachary:
ok so thats booting alright then :/

your password is ubuntu (if your using the ubuntu images) yes?

If so sometimes vnc opens on port 5901 instead or you may need to type 127.0.0.1 instead of localhost
[Android Software Development] Facuricaud:
Tried already, but i still get the grey screen with the x, i also tried several vnc apps
[Android Software Development] devwithzachary:
have you tried connecting from a computer on the same network?
[Android Software Development] JoinTheRealms:
Hey im on the tf101 with a tegra 2 processor so unity doesnt render correctly , that's fine but used "sudo apt-get install gnome-shell" to get gnome but how do I switch to gnome?
[Android Software Development] devwithzachary:
you will need to edit the vnc file home/.vnc/xstartup to use the gnome shell instead of unity (or if you remove unity it should fall back to the gnome shell)
[Android Software Development] devwithzachary:
We now have a second IRC channel on freenode for help support #linuxonandroid-help so feel free to use this if you rather (And if anyones on to help you!)
[Android Software Development] JoinTheRealms:
Cheers for the reply, sorry for the noob question but how do i edit it? lol
[Android Software Development] yaabaa1986:
the a known issue which will be fixed in the next script, but for now you can fix it yourself, head to /data/data/com.zpwebsites.linuxonandroid/files and open the boot script, near the top you will find a second that checks for root, delete or comment out this section and all should be good (and do make sure that the terminal does have super user rights)

I tried another image late last night, terminal got stuck (waited for more than 30 minutes) I tried vnc and it worked. vnc booted ubuntu right, just couldn't close it and phone couldn't come out of sleep...

try editing the script now...
[Android Software Development] The Archangel:
Works perfectly now, thanks a lot.
[Android Software Development] DirkStorck:
Does anyone has Debian running on the SGS3?

Thanks!
[Android Software Development] devwithzachary:
The image you have attached is now my script is it? are you using the new app with the built in script?

You have a few options, either using ubuntu's GUI open a file manger and navigate to the file and open it with a text editor (like gedit?) or if you have a computer running a linux distro you can mount the image file and edit the file on your computer.

Great, what settings did you have to use in the end?
[Android Software Development] yaabaa1986:
Thinkit worked allot better, , the script is eddited and the terminal alsked me allot more. only when booted it gave an error. (photo wasn't uploaded, it will be in next reply (sorry)
[Android Software Development] yaabaa1986:
here are the screenshots...
[Android Software Development] The Archangel:
The 127.0.0.1 instead of localhost, and the 5900 port.
[Android Software Development] devwithzachary:
Are you using a Core image? (750mb in size) as these do not have a GUI you have to use either the small or large image if you want a GUI

ok cool :)
[Android Software Development] The Archangel:
Quick question, sorry. If I were to get a tablet, and use full ubuntu could building a rom be possible? I know I'll need an external hard drive.
[Android Software Development] devwithzachary:
Yes it would be possible, you can mount the hard drive using the custom mounts option found in the linux config editor (one of the features unlocked by the donation key), and then I see no reason why not im guessing the tools you would use are all java based?
[Android Software Development] The Archangel:
Interesting, I'll keep it in mind when I get a tablet an learn bout source more. The tools, I could not say right now.
[Android Software Development] devwithzachary:
well i know the likes of git etc work fine and if you where to use some form of kitchen they should work fine to, so yes in theory you could quite easily build a rom..you could even build a rom for the device your using..sounds good to me :P

The best tablet (And the one I long for (along with the nexus 7 that is)) for this would have to be the transformer with the keyboard dock you would basicly have a (be it slightly slow) full laptop.
[Android Software Development] yaabaa1986:
I wass using the core, small works great!!! now downloading the full version.

there is only one problem, if the screen goes of it won't turn on again.

love my phone with ubuntu!! you are really great!!!!

would love it even more if I can get "my homescreen" like tthis one instead of like "windows"

great work!! and thanks for all

thuesday I'm getting a se arc s.

and I would love it if I can run ubuntu on it (without android)

I would have one phone and one small pc.

is that possible?

(ps When the arc is olso on ubuntu (with or without android I really have to "buy" your app, you're great, just transfering mony to my google account)
[Android Software Development] radekula:
Great app!

It's working great except one thing: devpts parition is mounted with wrong permissions (at least on my device). I have modify the bootscprit.sh and autobootscript.sh in /data/data/com.zpwebsites.linuxonandroid/files (mount devpts with -o rw,relatime,mode=620,gid=5) to make gnome-terminal work. I'm not sure but I think gid=5 option alone will do the trick (I didn't tested this yet).

I use Ubuntu core image (resized to 4.1GB) with manually installed Gnome.

My device: ASUS Transformer Pad TF300T with stock 9.4.3.30 firmware.
[Android Software Development] FranceIsBacon:
Try replacing with this: devpts /dev/console devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0

Tell me how it works!

---------- Post added at 10:45 AM ---------- Previous post was at 10:38 AM ----------

Can you throw up a logcat on pastebin of what happens to your phone when it freezes? I would like to see what the phone is doing.
[Android Software Development] jdebunt85:
tested this today on my ainol novo 7 elf II 7 inch tablet

installed the ubuntu "small" version, ran very smooth.

Wanted to install silverlight (or moonlight under linux) for some video streaming tests, however i couldn't install it under firefox, because its the wrong version & i can't seem to update it

under chromium, it installed, but it kept saying it wasn't installed.

Anyone has a fix for this?
[Android Software Development] lepidas:
I can't move ubuntu1204-v4-full.zip file to root of Android, copy tried with Root Browser. Help please, I want Androlinux
[Android Software Development] blackhead2048:
Don't move it to the root directory. Extract it to root of the internal storage. Should be /sdcard/. Sometimes it is: /mnt/sdcard/

@devs: Why does the whole backtrack look like ubunu? Is it the orinal image? Or just Ubuntou with the bt Apps? Last time I used Backtrack was v3 on pc with slax. It looks completly different.

Gesendet von meinem ASUS Transformer Pad TF300TG mit Tapatalk 2
[Android Software Development] devwithzachary:
This is backtrack 5 straight from there repos, using the gnome interface, I believe backtrack 3 only used the KDE interface, you can of cause change the interface if you wanted
[Android Software Development] radekula:
I have replaced my options with yours (in both autobootscript and bootscript) and it seams to work. Ubuntu is starting and I can run gnome-terminal. At this point I have no idea how I can test more cases: xterm is not running with error: "open ttydev: Permission denied" but I think this error is not related to devpts file system but rather manual installation (I hate dependence system in apt - yum is far more better with this).

This is how it looks now:

#$bbox mount -t devpts -o rw,relatime,mode=620,gid=5 devpts $mnt/dev/pts

$bbox mount -t devpts -o rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 /dev/console $mnt/dev/pts
[Android Software Development] yaabaa1986:
A noob question, how can I mag you a logcat? I find some things about it on google, only can't really figure it out...
[Android Software Development] devwithzachary:
Few options, if your happy with using adb then you can use adb logcat >> logcat.txt to out the logcat to a file, or you could always get a app from the market to do this for you
[Android Software Development] FranceIsBacon:
If you are going to use an app, alogcat is my poison of choice.

---------- Post added at 03:28 PM ---------- Previous post was at 03:25 PM ----------

I think I have the fix for you, but I am mobile right now. Gimme a bit and I'll edit this post with the fix.

EDIT:

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

devpts /dev/pts devpts rw,relatime, mode=600,ptmxmode=666 0 0

devpts /dev/ptmx devpts rw,relatime, mode=600,ptmxmode=666 0 0

Append this. It should fix your tty issue.
[Android Software Development] radekula:
To Devs:

I've added this lines to bootscript:

$bbox mount -t tmpfs -o size=50m tmpfs $mnt/dev/shm
if [ $? -ne 0 ];then error_exit "Unable to mount $mnt/dev/shm!"; fi

and it seams to eliminate some xsession errors (in /home/ubuntu/.xsession-errors). At this moment 50MB is a random value so maybe it need to be adjusted.

My question is: Is there any reason for missing mount of /dev/shm that I don't know about?
[Android Software Development] japzone:
Success with using it on my Nexus 7! My main problem was that sadly android-vnc-viewer hasn't been updated in ages and has annoying usability bugs. For some reason in "Zoomable" mode the view is zoomed out and zooming in makes it blurry. When trying to use "Fit to Screen" mouse controls are completely disabled for some reason (happened on other devices too when I tried to use it for controlling my PC). In the end I switched to using the PocketCloud app and everything worked much better here's a screenshot:

PS: I set my resolution in the config file to 960x563 for ease of use and looks. I chose this resolution because it's 3/4 the size of the Nexus 7's screen when you minus the space used up by the Notification bar(1280x800 - 49 height of bar). My dpi is set to 160 for Tablet mode.
[Android Software Development] japzone:
Problem! Ubuntu full image doesn't work properly. When I boot the full image I don't get any errors but this is what shows up in VNC:

As you can see this is hardly useable. Plus I noticed on the Small image that Chromium and Firefox both crash without loading any webpages. Obviously this is a pretty big problem.
[Android Software Development] FranceIsBacon:
Hmm... I just tried to replicate your issue and I couldn't. It could have been a bad download. Or possibly something specific to the n7.

Actually, can you try using a different vnc client?

---------- Post added at 10:58 PM ---------- Previous post was at 10:30 PM ----------

Are you asking why /dev/shm doesn't mount by default?
[Android Software Development] japzone:
I performed a MD5 check before hand so I doubt that the cause but once I have access to a faster connection tomorrow I'll try disclosing out again.

Tried different VNC clients and all showed the same result.

And yes I suspected that it was a Nexus 7 related issue. That's why I'm trying all this to see if I can help iron out the bugs.
[Android Software Development] FranceIsBacon:
It is hard ironing out device specific issues without the device itself in hand. I am curious though, what alternative vnc client did you use and is your n7 stock? If not, then what rom are you using? Sometimes there are rom-specific issues, too. :)
[Android Software Development] japzone:
I'm running Stock Jelly Bean 4.1.1 and I'm using the PocketCloud app(although as I pointed out that it's not a VNC client issue). I'm not running any custom kernels, I'm just rooted and have the dpi set to 160 to enable the Tablet UI.