Nethunter-In-Termux icon indicating copy to clipboard operation
Nethunter-In-Termux copied to clipboard

Nethunter and VNC will not work if you upgrade in Kali

Open Black911-ops opened this issue 4 years ago • 10 comments

Hello guys, I have a problem that I could not find a solution to. It is when you enter the Termux app and type nh -r, we will go into Root and I have updated and upgraded and I wrote sudo apt upgrade and it upgraded without problems, and when I want to enter Kali does not enter, he told me this Talk ..vncserver: No matching VNC server running for this user! Can you solve please? IMG_20210315_160212

Black911-ops avatar Mar 15 '21 13:03 Black911-ops

bro its not working after some time its showing connection failed and there is acknowledged bottom then I am coming to nethuntetkex home screen Then I am again tried to connect its shows some ECONNREFUSED (connection refused) Try to solve this problem

me96 avatar Jun 08 '21 03:06 me96

i have this issue too help me

Mao-26 avatar Jun 18 '21 15:06 Mao-26

if the problem started when you ran apt upgrade

reinstall everything and before you run apt upgrade run these commands

sudo apt-mark hold tigervnc-standalone-server

sudo apt-mark hold tigervnc-common

vonkopolo avatar Jul 04 '21 07:07 vonkopolo

I have same how to fix this where is github hackers??????!!!!!!! "No matching VNC server running for this user"

micro10101 avatar Sep 14 '21 11:09 micro10101

Let me know these work ?

It's properly working on kali linux rootless on android.

https://github.com/aioont/kex

If your error still exist,then try these

cd ~/.vnc/ rm -rf .log .pid cd / rm -rf /tmp/.X /tmp/.xfsm /tmp/.l2s* /tmp/.ICE-unix vncserver -kill :* vncserver -depth 24 -geometry 1920x1080 :1

//Removing log pid files in ~/.vnc directory //Removing some files and directories under /tmp

Reference : https://github.com/Hax4us

aioont avatar Feb 01 '22 19:02 aioont

Screenshot_2025-01-01-01-40-29-45_84d3000e3f4017145260f7618db1d683

Bpbishnu143 avatar Dec 31 '24 20:12 Bpbishnu143

Please help

Bpbishnu143 avatar Dec 31 '24 20:12 Bpbishnu143

Any one

Bpbishnu143 avatar Dec 31 '24 20:12 Bpbishnu143

Me to😭😭😭

sektor7T7 avatar Feb 25 '25 23:02 sektor7T7

I Don,t have an Idea?!

sektor7T7 avatar Feb 25 '25 23:02 sektor7T7

The problem is that upgrading kali nethunter removes the vnc pakages. Updating doesn't remove anything though of course. To prevent this, @vonkopolo did right, just adding one more of the vnc packages to keep on hold.

sudo apt-mark hold tigervnc-standalone-server

sudo apt-mark hold tigervnc-common

sudo apt-mark hold tigervnc-tools

Execute this one by one after a full reinstallation of nethunter before running upgrades. IMG_20251129_124409.jpg

As you can see, it's working even after upgrades.

Hope this helps.

44r0n53c avatar Nov 29 '25 05:11 44r0n53c