yashsingh1/xdaforums huggingface dataset:
[Android Software Development] N0rd:
local xserver

Fist off sry but i didnt check through all 200+ pages.

Has anyone tried a local xserver instead of VNC yet?

e.g. this one looks

very

promising:

https://play.google.com/store/apps/details?id=x.org.server

even says in the description:

[MENTION=2083190]zacthespack[/MENTION]

If it run's maybe the Setup Script can be updated to choose between VLC/Xserver method
[Android Software Development] deviouskind:
Ahh that was not enabled but still no luck when enabled. :(

Here's a screen shot of what I'm looking at...

BTW if you see the fedora folder... I tried adding it to the root folder / just to see if that would work, instead of /sdcard. That didn't work either.
[Android Software Development] Galaxy droid fan 7:
sorry dude there's one more thing I forgot to mention instead of using the busy box that comes with the app search for the busy box application in the Play Store and download it . Then install busybox from that application after granting it root access then get your favorite file explorer with root access I use eS File Manager and go to data / data and find a folder called this com.zpwebsites.linuxonandroid

Once you enter that folder you'll find another folder called files in the inside there you'll find a busybox file rename it to busybox. old . This forces the application to use the BusyBox you downloaded instead of the one that comes with the app for some reason the one that comes with the app does not agree with the new versions of Android OS. Unfortunately that also reminds me of something if you look in the review section of the complete Linux installer app on Google Play you'll read that it's like the guy who developed it dropped off the face of the earth so I don't think they'll be any new updates but hopefully what I did will help you out.
[Android Software Development] deviouskind:
Ok if this doesn't work I'll drop it. I'll let you know. Thanks for all the tips.
[Android Software Development] mascondante:
I got xorg server working with botbrew basil. Made my own Debian distro. There is a lot of work involved to include modifying the xorg.conf.d folder but the end result is rewarding. I got Gnome and Xfce working but not my favorite WM, Cinnamon.

I will probably share the build once I'm happy with it. If someone does attempt this my biggest advise is switch the main source from Emdebian to the main Debian repo with 'deb [arch=armel]' as your prefix. I can confirm the testing branch is definitely stable enough to use. Packages are much newer and removes a massive amount of work tracking down/compiling dependencies.

---------- Post added at 11:22 PM ---------- Previous post was at 10:29 PM ----------

BTW does anyone have a compiled version of Chromium browser and know how to deal with all the issues involved with compiling it? I had a heck of a time compiling it on the pc. Also I could really use some help compiling Clutter... it fails when I try to launch Cinnamon and when I try to compile it I can't tell from the output what it's unhappy with. Usually its a dependency but this time its something different. I will paste the output once my device isn't busy with other stuff.
[Android Software Development] Galaxy droid fan 7:
Be sure to let me know if you get everything working the roms they provide are glitcher than Windows Vista machine extracted with every virus known to man :( I would be looking forward to being able to actually use it all I want it for is to play old Flash and Shockwave games on Cartoon Network and runscape. No matter what I try I can't get the runscape PPA to work at all. And I was never able to get flashplayer properly installed is this my inexperience with Linux or are the roms just that glitchy?
[Android Software Development] mascondante:
I'll let you know. I'm a bit annoyed too. A large sum of money was donated to this project and imho patrons of that campaign are not getting their money's worth.

My project will be large. I had to download a lot of libraries to compile what was missing from Emdebian before I discovered the main Debian distro had ARM packages.

I'm not a Linux expert and I had to do a lot of research to do what I've done so far.

I don't see this becoming it's own self-contained app because I don't know how to do that and I've already got enough on my plate just getting everything working. I'll release the chroot with the bootstrap and all my additions as well as instructions on what to change in the XServer app. From there if someone feels so inclined to package it into a true Android app I have zero issue with that.
[Android Software Development] Galaxy droid fan 7:
If you read the comments for the app on Google Play youll see comment that says its like the main developer dropped off the face of the earth after some big tech conference and was never heard from since.
[Android Software Development] Galaxy droid fan 7:
Just in case you're interested if you look on my profile you'll find my Twitter and Facebook information
[Android Software Development] mascondante:
Accepted

I can do that :)

[IMG="Cheers"]http://atdgaming.net/public/style_emoticons/default/drinks.gif[/IMG]

Cheers!

Oh and here's a little humor I came up with while trying to get my mind off things:

[IMG="Zoidberg"]http://i.imgur.com/2LiGE0p.png[/IMG]
[Android Software Development] toolhas4degrees:
trying to start ubuntu 13.10 via app sends me to terminal and says @ end states

system/ect/mkshrc[24]: resize: not found

I opened that file via root explorer text editor and all I see is resize in the middle of the text. any help would be appreciated thanks in advance
[Android Software Development] xda23:
So this isnt being supported anymore how nice what a joke. :(
[Android Software Development] robherc:
Actually, he has been back several times...including opening a series of new forums to attempt to reorganize conversations to make it easier for users to get better up-to-date information without having to read through 200+ pages of cruft to get there.

Unfortunately, he hasn't been around very frequently or reliably in the past few months, however, mostly due to life-scheduling issues he had with finishing hid grad-school courses & planning+having his wedding.

As far as any $$$ donations being used for whatever he may, or may not, have used them for...that sum of money may sound significant to those who contributed it, but I can say for myself personally, that with the number of hours I alone have devoted to developing and supporting this project, were I to submit commercial billings as a consultant for the same number of hours, my pay would come out to more than $20,000USD! Open-source projects, while absolutely awesome for those who use them, are anything BUT profitable for the developers who donate weeks, months, and sometimes entire years of their lives to them!

---------- Post added at 04:46 AM ---------- Previous post was at 04:41 AM ----------

First off, I'm sorry for the lateness of this reply...I haven't been on my pc much lately.

Anywise, in response to your question, making a "flashable" linux-only ROM would be outside the scope of this project. In order to create such a ROM, the kernel, drivers, and all software for your device would have to be built together into a flashable package that would work ONLY for one revision of one specific device, same as an Android ROM. While this would be an incredibly useful thing to have, once built, it would take a team of quite literally hundreds of developers to hack all the drivers & device files...create/find all of the necessary apps (esp for using your phone to make cellular phone calls still)...and then assemble a custom ROM for thousands of different devices...and since we have a current development team of 3 already over-committed guys, it just isn't possible.
[Android Software Development] Galaxy droid fan 7:
Thank you for bringing that information to light I think I might have thanked the wrong person by accident now I know you can always trust what people post on Google reviews
[Android Software Development] mascondante:
You make a strong point. Thank you for putting me in my place.

Could anyone speculate why after setting the proper extensions and modules in the xorg.conf, successfully launching WM and rebooting I get the same errors I had to begin with?

I know I'm deviating the topic a bit but since I've already posted the situation here I thought I'd ask.
[Android Software Development] robherc:
I'm sorry, but for my benefit could you restate the exact errors you're getting please?
[Android Software Development] robherc:
My first instinct is that it looks like what should have been executable binary code is getting echo'd to the console. The primary reason this would occur is a corrupted binary. Most likely cause: the image files were compressed in .zip format, and have a nasty habit of unzipping incorrectly in many extraction programs. Unfortunately, I can repackage them as .tar.gz files which extract correctly 99.9% of the time, but I don't have access to a webhost on which I have sufficient storage space to host them personally...but this is one of the things that I hope to correct as soon as zachthespack is "back on board."

Recommended fix: Try using a different file extraction program...make sure you allow the md5 check on the first running of bootscript.sh after unzipping the image file...and try a new extract with a different program if it fails.

Due to the age of the image files, this is to be expected. Yes, the "correct" course of action here is to go ahead with the crapload of updates.

I'm not completely sure on this one...my first instinct would be to ask if you're using an app-installed version of bootscript.sh, or if you downloaded and manually installed my updates, v9.0 bootscript.sh file from my FAQ.

If you're using an app-installed bootscript.sh, please try the upgrade first, then let me know if that doesn't correct the issue...that way at least we'll know that we aren't trying to fix anything that I've already found a fix for ;)
[Android Software Development] nathan30:
Hi,

I have this error :

VNC connection failed!

failed to connect to localhost/127.0.0.1 (port 5900):

connect failed: ECONNREFUSED (Connection refused)

I try to uninstall tightvcnserver and reinstall with apt-get, reboot my phone but it's not working.

I also try 2 different images, ubuntu and Kali.

I also type : tighvncserver after start kali in terminal emulator and I have : New 'X' desktop is localhost : 1

Thanks a lot for your help
[Android Software Development] mascondante:
Could linuxonandroid be switch from tight VNC to SDL
[Android Software Development] robherc:
This is usually a simple problem of not having found the list of correct passwords (sorry, I should add that to my FAQ one of these days, as it's admittedly NOT well published yet).

Anywise, as it looks like you're using ubuntu, try singing in to vnc using server address 127.0.0.1, port 5800, and password ubuntu (no username).

If that doesn't work, then please post the *exact* terminal output that you see when you start linux...so we have some more information on what is/isn't working properly.

---------- Post added at 04:47 AM ---------- Previous post was at 04:45 AM ----------

That should be as simple as installing SDL using apt-get or aptitude, then setting it up normally (well, almost normally considering that you'll have to use a "virtual" framebuffer). Then you simply would want to start the SDL server instead of a VNC server when you load linux.
[Android Software Development] nathan30:
I try with Ubuntu and kali and the result is the same. But in terminal it ask for a password, that I don't know so I put a fake password and there is the result in the terminal :

<code>

InsertCoin@/$

InsertCoin@/$ su

/data/data/com.zpwebsites.linuxonandroid/files/busybox chroot /data/local/mnt /root/init.sh

/data/data/com.zpwebsites.linuxonandroid/files/busybox chroot /data/local/mnt /root/init.sh

box chroot /data/local/mnt /root/init.sh <

Config file loaded

Password:

su: Authentication failure

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

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

192.168.1.10

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)

[ ok ] Starting OpenBSD Secure Shell server: sshd.

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

root@localhost:/# </code>

Thanks a lot
[Android Software Development] robherc:
OK, from this, I can now tell you that your vnc error is due to the vnc server not being running. ... hard to log into an offline server ;)

More immediately concerning, I'd like to know why you're seeing the "/data/data/com.zpwebsites.linuxonandroid/files/busybox chroot /data/local/mnt/root/init.sh" line where the CLI app was programmed to send "/data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh /PATH/TO/IMAGEFILE.IMG" to the Android Terminal Emulator app at that point. I'm thinking that your phone is set up to boot into a linux partition rather than an image file maybe? And if so, that there are several steps which weren't quite properly executed in that conversion process.

Could you please set your CLI app up to boot an image file, at least for the moment, while we attempt to troubleshoot what all is going wrong; then I'll be more than happy to help you convert it back over to mounting a partition once we have it working correctly.
[Android Software Development] nathan30:
I start each distro of Linux with an image file..
[Android Software Development] mascondante:
Anyone sorted out getting this to work on the galaxy s5? I get an invalid argument when it tries to mount the loop device.
[Android Software Development] robherc:
Did you use an ext4 image file & update your bootscript.sh file to the v9.0 version using the instructions in my FAQ already? Usually the invalid argument error means you're using an older bootscript.sh file that tries to mount your image file as ext2 (not compatible with most current versions of android).
[Android Software Development] mascondante:
I will certainly give it a whirl. I've been working with my fabulous new RPi lately :-p Thank you Sir.
[Android Software Development] robherc:
OK, I might have just spotted something I missed previously in your information.

When you first start kalilinux from the image file (the first time), it asks you to set a password for your kali user. That password is important, do not forget it...it's your user password to your kali OS. Looking at your terminal output, it appears to be having an issue "logging in" judging from the su: authentication failure line. due to that, the VNC server is never being started. It may be a good idea to try starting kali from a fresh extracted copy of your image file, and remember that password you enter...see if that lets you log in correctly & get vnc server running (vnc server password will still be kalilinux)
[Android Software Development] Galaxy droid fan 7:
Does anyone know if Ubuntu 13.4 large file has KDE? KDE is glitchy beyond belief whenever I install a program ( completely wipes out the applications menu and there is no way to get to em) I know what you're going to say, I tried this small version didn't work for me all I wanted was to use Flash Player and play runescape from my android tablet. The Runescape PPA does not work on the small image file and I haven't been able to get Flash Player to work on the small or large image file. Any help would be greatly appreciated until then I guess stick to candy crush :)
[Android Software Development] mascondante:
I believe it's KDE Plasma, yes.

---------- Post added at 01:34 AM ---------- Previous post was at 12:42 AM ----------

''

Ok I followed your guide. I'm getting that pesky '/root/init.sh': Permission denied error now. I did as you said and downloaded, copied and set permissions for the new busybox. No effect. I am using a modified kernel that gives me the ability to go selinux permissive.

Thank you for your help so far.
[Android Software Development] MasterManson_Gunstorm:
a question

after mount the image from core or small ubuntu 13.10 like

how can i chroot this to install another desktop enviorment like gnome3 i.e. ?

if i try chroot to mounted folder i got this

localuser@BNJF0Y1:~$ sudo mount -t ext4 /media/localuser/MYLINUXLIVE/etc/linux/ubuntu-13.10.CORE.ext4.img core/

localuser@BNJF0Y1:~$ sudo chroot core

chroot: failed to run command ‘/bin/bash’: Exec format error
[Android Software Development] hiack:
hi, may i share the linux screen to another android device connected by vnc? :D:D:D
[Android Software Development] mascondante:
Since it's been a while without reply could someone with a working busybox on the Galaxy S5 send their copy to me so I can see if it let's me start Linux on Android without error for me as well?
[Android Software Development] Ram121:
Can anyone answer my following

http://xdaforums.com/showthread.php?p=56461883

question in QA thread
[Android Software Development] vishalbiswas:
Yes, you can!

You'll need to connect your phone to the computer (assuming the other device is a computer) by an USB cable and turn on USB Tethering on your phone. Then you can VNC into your Linux running on your mobile. For this you'll need a VNC client. TightVNC is the lightest Java-based VNC solution for desktops.

You can do the same using Wi-Fi Tethering. Using Wi-Fi tethering you can connect your phone to any other device (even another mobile) connected to your Wi-Fi hotspot.

Sent from my Nokia_XL
[Android Software Development] hiack:
thank you ,and may i get you oicq or msn? i want make a friend with you:D
[Android Software Development] Galaxy droid fan 7:
Just a heads up I've tried that and if you install any programs it will mess up the applications menu where nothing appears :( but on the off chance it doesn't do that for you could you tell me which version you're using and how you have it set up that way I can do the same and hopefully made progress with my tablet?
[Android Software Development] vishalbiswas:
I've got sound working. But the quality is too low. I'm using ArchLinux Large image with Xvnc. It worked with the preinstalled VLC Media Player but the output quality is low.

Any ideas how to improve it?

Just discovered a major drawback in this method to play sounds while xvnc'ed into ArchLinux. After doing this you cannot play sounds from the Native Android unless you restart your phone. Nothing at all works. No radio, no MX Player, no system sounds!

Any workarounds are appreciated!

Sent from my Nokia_XL
[Android Software Development] mscion:
Hi. I'd like to try this on my Note 3. Would you please give details on how you set this up to work with Xvnc. and your linux distribution. Thanks!
[Android Software Development] vishalbiswas:
1. Download the Xvnc app from the Play Store. The one with the icon of a lady bug. Also, download the bVNC viewer.

androidVNC also works but bVNC is more feature-rich.

2. Open the app, it will prompt you to install the binaries. Install them.

3. Then press start server. If you have installed both androidVNC and bVNC, it will prompt you to select one.

4. Select your choice. You will get a black screen. Don't worry we haven't started a Linux distribution yet.

5. Press home and launch LinuxonAndroid app.

6. Go to launch and select Arch Linux large (only tested in this and Ubuntu lxde small, doesn't work on the Ubuntu image).

7. Then tap on Configure. Note that this option will not be visible on your first launch.

8. Untick the start VNC server option.

9. Go back by clicking on the back button on screen (the settings won't be saved otherwise) and launch the distro.

10. If this is your first launch then set up everything. After you are done then make sure you are not root.

11. Execute the following in the terminal emulator:

It will give you some errors but don't worry.

12. Now open the Xvnc app and tap on Connect to server. It will again open the VNC viewer.

13. Wait for some time and the plasma desktop will load slowly.

14. After it is fully loaded open any music file in VLC player. It should work now. If it doesn't change the audio driver from VLC's preferences. Also, make sure that you haven't muted application sounds.

Sent from my Nokia_XL
[Android Software Development] mascondante:
The samsung/KitKat issues... mounting mainly; have those been resolved? Someone, Rob I think was his name, gave me an updated script and it didn't work. Permission denied I believe was the error. Sorry it's been a few months and I have a new phone now so I don't have/remember the specifics.
[Android Software Development] mscion:
Hi. I'm getting there. I have the large Arch Linux Plasma version and the desktop environment looks ok but I have trouble running anything because the desktop environment it too small. Seems like pinch and zoom does not work using Xvnc. Is that so? If not, What setting do I need to have it work. Otherwise I could try running from the android terminal. Noticed I could start gimp that way and it shows up on the desktop.

Thanks again!
[Android Software Development] vishalbiswas:
Unfortunately, it isn't the same with VLC. If you launch it from terminal, you'll get the CLI version instead of the GUI.

The default settings are zoomable. You should change the input mode to Trackball Mouse every time you switch to it, as VNC viewer settings aren't saved while using Xvnc.

Sent from my Nokia_XL
[Android Software Development] mscion:
Thanks again! I check it out a little later and get back.
[Android Software Development] mscion:
Well, getting asymtopically closer. I could not get pinch and zoom to work due to Xposed module. Once I disabled it for bvnc it worked.

Could play a mp4 video but still no sound...

I can adjust the VLC volume but it does nothing. How do I adjust the mute/unmute for application sounds? Couldn't fine that control for some reason.

Thanks again for your help!
[Android Software Development] vishalbiswas:
Just increase the volume using volume keys when an app tries to play sound.

Sent from my Nokia_XL
[Android Software Development] mscion:
Well, I tried... One last thing I could do, as there is some variation in the archlinux img files, is try a different img. file. Which version did you use?

Thanks!
[Android Software Development] vishalbiswas:
I used the large image. Don't know what it is. Maybe there are studio drivers preinstalled on that image or something similar.

Didn't you use the large variant?

Sent from my Nokia_XL
[Android Software Development] mscion:
I'm using the archlinux-LARGE.ext4.img. Is yours the exact same?
[Android Software Development] vishalbiswas:
Mine is ext2 as I've Android 4.1.2.

Just downloaded the DebianTesting core image. Will try on it, too!
[Android Software Development] Galaxy droid fan 7:
I'm just hoping since you got sound working in your version that you might have the answer to my little problem, everytime I tried to download certain programs or change the desktop environment it totally messes up VNC where I cannot use the gui at all .all I have is a grey screen with an X for a cursor. I like playing online game that requires java but when I try its PPA client it does nothing I click on it over and over and it fails to load inside the graphical environment I don't even notice it in the command line for that matter. I tried downloading the latest version of Java directly BAD IDEA when I try to get back into Linux I am greeted with the grey desktop and the X. It also does this when I try to install sound drivers or change the desktop environment ie go from KDE plasma to unity. How did get you sound working without issues please let me know so that I may be able to fix what's going wrong at my end I would appreciate some help. Versions I've tried with Java Ubuntu 13.10 small and large