EXALAB / AnLinux-App

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

run ./star-ubuntu.sh No command run found #425

Open RodrigoSFSilva opened 11 months ago

RodrigoSFSilva commented 11 months ago

Hello, I've done everything I could to run this App but it failed. Installed and patched the non-AppStore Termux, made the upgrades and installs and ran the command the AnLinux asked to, but still, I failed at this step.

~ $ run ./star-ubuntu.sh
No command run found, did you mean:
 Command zrun in package moreutils
 Command runc in package runc from the root-repo repository
 Command sun in package sun

Please, help.

shiroe-nyanta commented 11 months ago

I think you misstyped on that one its ./start-ubuntu.sh

RodrigoSFSilva commented 11 months ago

Thank you so much for pointing that out, friend! Though I'm still in error. After executing the command no ./start-ubuntu.sh folder has been found. Here's a complete output.


~ $ wget https://raw.githubusercontent.com/EXALAB/AnLinux-Resources/master/Scripts/SSH/Apt/ssh-apt.sh --no-check-certificate && bash ssh-apt.sh
--2023-08-04 18:36:29--  https://raw.githubusercontent.com/EXALAB/AnLinux-Resources/master/Scripts/SSH/Apt/ssh-apt.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.109.133, 185.199.110.133, 185.199.111.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.109.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 392 [text/plain]
Saving to: ‘ssh-apt.sh.1’

ssh-apt.sh.1 100%[===========================================>] 392 --.-KB/s in 0s

2023-08-04 18:36:30 (2.69 MB/s) - ‘ssh-apt.sh.1’ saved [392/392]

Hit:1 https://mirror.sjtu.edu.cn/termux/termux-main stable InRelease Reading package lists... Done Reading package lists... Done Building dependency tree... Done Reading state information... Done E: Unable to locate package openssh-server --2023-08-04 18:36:36-- https://raw.githubusercontent.com/EXALAB/AnLinux-Resources/master/Scripts/SSH/Apt/sshd_config Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.109.133, 185.199.110.133, 185.199.111.133, ... Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.109.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 19 [text/plain] /etc/ssh: Read-only file system /etc/ssh/sshd_config: No such file or directory

Cannot write to ‘/etc/ssh/sshd_config’ (Success). You can now start OpenSSH Server by running /etc/init.d/ssh start

The Open Server will be started at 127.0.0.1:22 ~ $ ./start-ubuntu.sh
bash: ./start-ubuntu.sh: No such file or directory

shiroe-nyanta commented 11 months ago

Hello it seems like your running the ssh script?

shiroe-nyanta commented 11 months ago

First you need to go to -> dashboard select your preffered distro and Copy the command and go to termux and execute it after wait for it to install after that go to SSH tab and select the distro you installed and copy the command this code needs to be executed in the proot distro not the termux For that you first need to type the ./start(distro)-.sh command