Skip to content

Instantly share code, notes, and snippets.

@Fartomy
Created April 1, 2024 15:49
Show Gist options
  • Save Fartomy/e9fd8fbe2a3a1df9cd4bec946c63ed30 to your computer and use it in GitHub Desktop.
Save Fartomy/e9fd8fbe2a3a1df9cd4bec946c63ed30 to your computer and use it in GitHub Desktop.
Delicious Recipe

🌶️ Delicious Recipe

a little bit of termux, a little bit of proot and the proot-distro derived from it, a lot of mobility, a pinch of vnc server but from the tiger-eyed one, some desktop environment juice and finally novnc.

Setup

  1. Install Debian by use proot-distro in termux and login to debian
# proot-distro install debian
# proot-distro login debian
  1. Install ingredients
apt install tigervnc-standalone-server novnc xfce4 xfce4-goodies
  1. Set the password required for the servers
vncpasswd

Would you like to enter a view-only password (y/n)
For remote connections that cannot use mouse and keyboard inputs, set a password for viewing only or do not set a password.

  1. Start X session with xfce
vncserver -xstartup /usr/bin/startxfce4
  1. To show list of vnc servers
vncserver --list
  1. To kill of vnc server process (don't do this right now :d)
vncserver -kill :1
  1. Start a noVNC proxy server
/usr/share/novnc/utils/novnc_proxy --vnc localhost:5901 --listen 2222

Copy the URL

  1. Open new termux session from by slide left side panel

  2. To open the URL type this in the new session

termux-open-url <the-copied-url>

That's it.

Source

  1. Computer on browser | Remotely control computers from your regular web browser using noVNC
  2. Stop using VNC client !!! | Use this instead
  3. Abundance of Servers Gist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment