Neo-Oli / termux-ubuntu

Ubuntu chroot on termux
850 stars 317 forks source link

cannot get vncserver to connect with client via termux setup #108

Open nathaneltitane opened 4 years ago

nathaneltitane commented 4 years ago

No matter what kind of config or parameter or server used under the chroot, the android vnc clients used have not been able to connect sending back either a null error message or a connection refused message.

Basic steps:

install vncserver under chroot (vnc4server, tigervnc/standalone or other) configure .vnc/xstartup to load gui start server and provide display (ex.: vncserver :1) export display (export DISPLAY=":1"

could you provide a sample of the steps taken to do so as i've seemingly exhausted all options?

EDIT:

The issue may be related to the binding of the termux $HOME into the chroot, resulting in the vncserver being used not complying with the chroot. Will test further but advisory should be added in readme.