I tried to run Linux on Android and I had some issues setting up Debian. The VM is running, but I can't connect via VNC. I already searched the FAQ & Google what to do, but I found no answers. My OnePlus One is rooted and its Kernel has Loop Device Support (export
in terminal shows LOOP_MOUNPOINT
). Any suggestions?
terminal log:
u0_a129@A0001:/ $
u0_a129@A0001:/ $ cd /sdcard/debian
u0_a129@A0001:/sdcard/debian $ su
sh /data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh /sdcard/debian/debian.img
sh /data/data/com.zpwebsites.linuxonandroid/files/bootscript.sh /sdcard/debian/debian.img
android/files/bootscript.sh /sdcard/debian/debian.img <
MD5 file found, use to check .img file? (y/n)
y
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
Using config file /root/cfg/debian.img.config
Config file loaded
Starting first boot setup.......
Creating User account (named debian)
Adding user 'debian' ...
Adding new group 'debian' (1000) ...
Adding new user 'debian' (1000) with group 'debian' ...
Creating home directory '/home/debian' ...
Copying files from '/etc/skel' ...
here starts the interesting part:
passwd: u:r:init_shell:s0 is not authorized to change the password of debian
Permission denied
Try again? [y/N]
chfn: Permission denied.
adduser: '/usr/bin/chfn debian' returned error code 1. Exiting.
usermod: unknown group admin
chown: cannot access 'external_sd': No such file or directory
Password:
su: Authentication failure
the rest:
If you see the message 'New 'X' Desktop is localhost:0' then you are
ready to VNC into your debian 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.
To shut down the Linux environment, just enter 'exit' at this terminal
- and WAIT for all shutdown routines to finish!
localhost:~# ls
DONOTDELETE.txt Downloads Public cfg
Desktop Music Templates init.sh
Documents Pictures Videos