Installed Termux on my Samsung Galaxy S10.
Then NetHunter Rootless.
Then start it from Termux with "nethunter kex". The log is this:
Code:
~ $ nethunter kex
vncserver: No matching VNC server running for this user!
vncserver: No matching VNC server running for this user!
NetHunter KeX server sessions:
X DISPLAY # RFB PORT # RFB UNIX PATH PROCESS ID # SERVER
1 5901 14166 Xtigervnc
You can use the KeX client to connect to any of these displays.
Then I open the app NetHunter KeX with those settings and get the error:
Code:
Error!
Connection failed.
Connection to VNC server failed with reason:
failed to connect to localhost/127.0.0.1 (port
5901) from /:: (port 60998): connect failed:
ECONNREFUSED (Connection refused)
java.net.ConnectException: failed to connect to
localhost/127.0.0.1 (port 5901) from /:: (port
60998): connect failed: ECONNREFUSED
(Connection refused) at
libcore.io.loBridge.connect(loBridge.java:188) at
java.net.PlainSocketImpl.socketConnect(PlainSoc
ketImpl.java:142) at
java.net.AbstractPlainSocketlmpl.doConnect(Abst
ractPlainSocketlmpl.java:390) at
java.net.AbstractPlainSocketImpl.connectToAddr
ess(AbstractPlainSocketImpl.java:230) at
java.net.AbstractPlainSocketlmpl.connect(Abstra
ctPlainSocketlmpl.java:212) at
java.net.SocksSocketImpl.connect(SocksSocketl
mpl.java:436) at
java.net.Socket.connect(Socket.java:621) at
java.net.Socket.connect(Socket.java:570) at
java.net.Socket.(Socket.java:450) at
java.net.Socket.(Socket.java:218) at
com.iiordanov.bVNC.RfbProto.initSocket(RfbProto
Jjava:354) at
com.iiordanov.bVNC.RfbProto.initializeAndAuthen
ticate(RfbProto.java:401) at
com.iiordanov.bVNC.RemoteCanvas.startVncCon
nection(RemoteCanvas.java:466) at
com.iiordanov.bVNC.RemoteCanvas.access$200(
RemoteCanvas.java:94) at
com.iiordanov.bVNC.RemoteCanvas$2.run(Remot
eCanvas.java:289) Caused by:
android.system.ErrnoException: connect failed:
ECONNREFUSED (Connection refused) at
libcore.io.Linux.connect(Native Method) at
libcore.io.ForwardingOs.connect(ForwardingOs.ja
va:204) at
libcore.io.BlockGuardOs.connect(BlockGuardOs.ja
va:157) at
libcore.io.ForwardingOs.connect(ForwardingOs.ja
va:204) at
libcore.io.loBridge.connectErrno(loBridge.java:20
2) at
libcore.io.loBridge.connect(loBridge.java:180) ...
14 more
ACKNOWLEDGED
Any help to fix this?