EXALAB / AnLinux-App

AnLinux allow you to run Linux on Android without root access.
Apache License 2.0
1.63k stars 240 forks source link

some basic questions about AnLinux #41

Open wbhuangxm opened 5 years ago

wbhuangxm commented 5 years ago

1 Is there anyway to change vncserver-start script? I need to change the geometry option to 1920*1200. 2 Is there anyway to access the usual internal storage of android system ? Or you can only work in Debian file system. 3 Is there anyway to exit Debian system and return to Termux?

exalab999 commented 5 years ago
  1. vncserver-start script is located at /usr/local/bin,you could always it with text editor in Linux.

  2. Yes, you could edit the start-*. sh, there is a line: uncomment the following line to use SD card, just uncomment that line to mount SD card, but make sure to grant Termux Storage permission in settings.

  3. Yes, but you must shut down the VNC Server first by running: vncserver-stop , then you could run exit command to exist to Termux.

Hope this solve your problem.

wbhuangxm commented 5 years ago

Thanks for your help. Problems 1,2 resolved. When typing exit under Debian Prompt, logout successfully , but doesn't return to Termux. However , this is not a big problem. Here is another problem. I have successfully install ssh , OpenBSD Secure Shell Server can be launched. When I use a ssh client, Termius, to connect to the server, A username is required. What is the username ? I have tried " root", but failed.

exalab999 commented 5 years ago

@wbhuangxm Run this command: adduser yourusername, then enter the password and other details. You can then use this username and password to login to ssh.