J'ai essayé d'exécuter Linux sur Android et j'ai eu quelques problèmes pour mettre en place Debian. La VM fonctionne, mais je ne peux pas me connecter via VNC. J'ai déjà cherché dans la FAQ et sur Google ce qu'il faut faire, mais je n'ai trouvé aucune réponse. Mon OnePlus One est enraciné et son noyau est doté de Loop Device Support ( export
dans les spectacles terminaux LOOP_MOUNPOINT
). Avez-vous des suggestions ?
journal du terminal :
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' ...
C'est ici que commence la partie intéressante :
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
le reste :
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