kali linux on android - General Questions and Answers

i recently installed kali linux on my android device (LG G2 Android: 5.0.2) using complete linux installer, but whenever i wanna connect with VNC Viewer it asks me for password. Where do i find/change/see the password? Please help me out

While installing Kali it must have asked you to create a new root password.. If not open terminal in Kali and type "passwd" without the quotation
Hope this helps
Sent from the beige bra section at Target.

sunneysideup said:
i recently installed kali linux on my android device (LG G2 Android: 5.0.2) using complete linux installer, but whenever i wanna connect with VNC Viewer it asks me for password. Where do i find/change/see the password? Please help me out
Click to expand...
Click to collapse
It explains that in the instructions to install Complete Linux Installer
The password should be "android", or at least it was when I tried using Complete Linux Installer.
You may want to try the Linux Deploy app to do this instead.
I DO NOT PROVIDE HELP IN PM, KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE

Related

[tut]complete guide on installing linux on android [dual boot]

So , Hello everyone,
It will not remove or harm Android, it will just run Linux on top of android
This tutorial will guide you through installing Linux on mmx a116 with android side by side..
What is this all about?/Why put this on my device?
This projects aim is to bring a range of linux distros to your android device through a method known as 'chroot', see it has running a linux distro within a virtual machine on your phone (Although its not! its using native ARM ports and the Android kernel) . You can access this virtual machine and run it on your phone without causing any damage to your device, or having to overwrite anything. Why might you want this? well my apps are designed to make the install and set up process as easy as possible while still giving you some flexibility. Once you have the distro up and running then you can pretty much run and install any linux software you like (so long as there is a arm port or it is not architecturally dependent).
Wait this uses VNC why shouldn't I just VNC to a computer?
VNC is used to access the GUI as at the moment I have not yet implemented a native way of viewing the GUI. But the Linux distro itself is running within the phone and can be controlled via the terminal app so if your a seasoned Linux user you may never even want to use the GUI
What is Chroot?/How does this work?
"A chroot on Unix operating systems is an operation that changes the apparent root directory for the current running process and its children" - http://en.wikipedia.org/wiki/Chroot
This method of running linux distros with android has been around for some time. I have worked on my scripts to make the process more user friendly and give you far more options from the word go.
The scripts start by mounting the linux image file within the android file system and then mounts the sdcard and if you have it internal memory within the linux file system.
Chroot is then used to change the root directory to that of the mounted linux and a bash shell is then opened to allow you to control linux this is kind of like 'booting' the OS.
The likes of VNC and SSH are then set up when linux is 'booted' to allow you to connect to the GUI if you require it.
Note: This requires a lot of free space on sd cards(any)..atleast 2 GB ..
INSTRUCTIONS:
1-Go to play store and download 'Complete Linux Installer' and install it ..
2-if you have a custom or other kernel , you have to check wether it supports loop or not.So better be on Stock Kernel.
3- Now there are 2 ways to install and run distros(eg-linux,backtrack).One is easier but requires an internet connection on the phone.other is a bit difficult but can be done from PC also .
method 1 ( internet on smartphone )
Go to complete Linux Installer and select install guides and select the distro you want it will download and guide you further.(in the unzipping step , i recommend using a PC for it as its too slow on the phone.)
Method 2 ( using a PC )
Download the version and size of your preferable ubuntu from here -
http://sourceforge.net/projects/linuxonandroid/files/Ubuntu/
After that, download androidVNC and terminal emulator from play store
now extract ubuntu.zip and place it in a folder called ubuntu on root of your SD card.Now you are ready to boot too ubuntu. select the launch menu from complete linux installer.
you will be redirected to terminal emulator . press n if you are asked to check boot.img from md5 as it gets stuck there. set screen size to 1280x720 after few seconds you will see a message [email protected] . this means you are succesful.
go to android vnc type in port option 5900 and password and username as ubuntu an color settings as 24 bit..
congratulations! you have booted to Ubuntu!:highfive:
Hmmmm.
That's not dual boot.:sly:
It runs Linux in VM.
Thanks!
-Dracula
And i don't see why anyone would want to do this, it's just killing your phone by overloading it with a Desktop OS in a VM!
Also perhaps providing credit to the person that did all the hard work might be a good idea .......
Oh and its not a VM guys, it uses chroot which means native ARM linux running with the Android kernel, within Android.

[Q] Cannot install Kali Linux on HTC One

Every time i try to install Kali Linux on the app Linux Deploy, it gives me these lines of error. Any help would be appreciated. Thanks.

problem installing kali linux on android

i tried to install kali linux through linux deploy. everything was right when i started the download but after the download is finished and i reconfigure than all things fail like l (dns...fail,mtab....fail,motd....fail,hosts...fail,hostname...fail,timezone..fail,su...fail,chroot:cant execute apt_get no such file
sudo....fail,groups...fail and etc than when i start vnc viewer it shows some error what should i do please help

[Completed] How to run Linux on android

Hello,There is some ways where you can Linux system on android ,
1.you have to download 'complete Linux installer' ,Terminal Emulator for android' and last one which is ' android vnc'.
2.Open Complete Linux installer ,It'll install boot scripts which are needed . Off course you need rooted android phone for this.
3.You will see Linux distros which are available for your device e.g. Debian,Ubuntu, Kali Linux etc.
4.Then click on any one and it will show to download these distrisos and further procedures.
Thank You Reeding..download all things from playstor
sanket73 said:
Hello,There is some ways where you can Linux system on android ,
1.you have to download 'complete Linux installer' ,Terminal Emulator for android' and last one which is ' android vnc'.
2.Open Complete Linux installer ,It'll install boot scripts which are needed . Off course you need rooted android phone for this.
3.You will see Linux distros which are available for your device e.g. Debian,Ubuntu, Kali Linux etc.
4.Then click on any one and it will show to download these distrisos and further procedures.
Thank You Reeding..download all things from playstor
Click to expand...
Click to collapse
Hello,
This forum is for newbies finding their way around XDA Developers, it isn't a development section.
Please post here Android Software Development Forum, the users looking for the same could use your help.
Thread closed !
-Vatsal

Linux deploy VNC fail

Hi friends,
I have a xiaomi Mi 4 LTE mobile phone, I root with kingroot and installed linux deploy with distro kali linux rolling but when i try to connect with an VNC I can't, the same happends with ubuntu, i didn't try others SO, what can I do?
Thanks for your help

Categories

Resources