EXALAB / AnLinux-App

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

vncserver: command not found #56

Open ghost opened 5 years ago

ghost commented 5 years ago

Whenever I try to start the vnc server I get this error /usr/local/bin/vncserver-start: line 4: vncserver: command not found

I have installed Ubuntu and xfce4 DE.

exalab999 commented 1 year ago

THIS IS NOT A BUG!

This issue have been leaved for a long time for user to discuss, recently there are some funny review on Play Store, so I guess I would write the solution here.

If you are getting vncserver-start command not found error:

  1. Check if you run this command inside distro, you should run this command in distro after start it with ./start-*.sh , DO NOT run this command without starting distro first. Most error fall into this category :confused:
  2. Network Issue, please check if the package has successfully downloaded and no network connection error in the proccess, for China users, please use a VPN.
  3. Certificate issue, running apt-get purge ca-certificates and then run apt install ca-certificates might fix the issue, the reason this occur is currently unknown as I do not encounter this issue after testing on all device I had, however next update(In this month) will fixed this by giving all wget command inside the distro --no-check-certificate flag, the reason this isn't fixed until now is that this issue is very rarely occur and didn't verify certificate lower the security.
  4. Termux issue, use termux from f-droid and not Google Play Store, Termux of Play Store is Not maintained. If you use Termux from Play Store, please don't report about bug or issue.

vncserver-start related message will be shown to people who reporting bugs for the first time in the app at next update. This issue will stay open for discussion.

Ayushman89 commented 10 months ago

┌──(root㉿localhost)-[/home/kali] └─# nethunter kex passwd zsh: command not found: nethunter Screenshot_2023_1229_170454

Vxlmane commented 5 months ago

Screenshot_20201205-012641_VNC Viewer Help

Restart termux or make a new session