Sudo: unable to find terminal name for device 136, 0

I have installed nethunter 2024.4 with magisk 28.1 without custom kernel. I’m getting this error when I use sudo command

sudo: unable to find terminal name for device 136, 0

Also I can’t access vnc in root season but I can access in in normal kali user.When I try to start vnc with kex in nethunter app It says vncserver already started.But I checked everything no vncserver is running and I can’t access vnc in root.But normal kali user’s vnc is working

Why this is happening? If anyone can help please response.

Note:It also happened on previous version of nethunter 2024.2 after updating the system
But now it’s happening without updating system

1 Like

Same
Plus the command " lsusb " is not working (it randomly worked 2 times but not working anymore)

just

sudo apt clean

bro

It’s a problem in sudo package not in nethunter.I have found that it has been fix in sudo’s latest update.But I got no update of sudo in nethunter.If anyone wanna fix it he should build latest sudo manually from source and then he should install latest sudo.

To fix vnc problem just go to .vnc folder and edit xstartup file

Try this: GitHub - AhmadAllam/Nethunter-fixes: simple script for fixing some bugs in nethunter