Nethunter and VNC will not work if you upgrade in Kali
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?

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
i have this issue too help me
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
I have same how to fix this where is github hackers??????!!!!!!! "No matching VNC server running for this user"
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
Please help
Any one
Me to😭😭😭
I Don,t have an Idea?!
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.
As you can see, it's working even after upgrades.
Hope this helps.