This is for kex repair and solve all vnc server error in kalinethunter
sudo apt update
sudo apt install git -y # ignore if installed
# ignore upper lines if you already installed git
cd ~/
git clone https://github.com/mrfoxie/repair-kex.git
cd repair-kex
sudo chmod +x repair-kex
sudo ./repair-kex
# Most of NetHunter already have git pre installed if not then install it.
cd ~/
git clone https://github.com/mrfoxie/repair-kex.git
cd repair-kex
sudo chmod +x repair-kex
sudo ./repair-kex
cd ~/repair-kex
chmod +x uninstall-kex
sudo ./uninstall-kex