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.
- Install Debian by use
proot-distro
in termux and login to debian
# proot-distro install debian
# proot-distro login debian
- Install ingredients
apt install tigervnc-standalone-server novnc xfce4 xfce4-goodies
- 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.
- Start X session with xfce
vncserver -xstartup /usr/bin/startxfce4
- To show list of vnc servers
vncserver --list
- To kill of vnc server process (don't do this right now :d)
vncserver -kill :1
- Start a noVNC proxy server
/usr/share/novnc/utils/novnc_proxy --vnc localhost:5901 --listen 2222
Copy the URL
-
Open new termux session from by slide left side panel
-
To open the URL type this in the new session
termux-open-url <the-copied-url>
That's it.