I am using kail-pi over vnc.

when try to start wireshark i get this message:

Qt: XKEYBOARD extension not present on the X server.
Gdk-Message: wireshark: Fatal IO error 2 (No such file or directory) on X server :1.0.

root@kali:~/Hacking/vpnbook# wireshark
Qt: XKEYBOARD extension not present on the X server.
Gdk-Message: wireshark: Fatal IO error 2 (No such file or directory) on X server :1.0.


What can i do to make wireshark run?

I am running kali on raspberry pi 3 - 4.9.59-v7_Re4son-Kali-Pi+
My .vnc/xtartup is:

Code:
#!/bin/sh

unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
vncconfig -nowin &
exec startxfce4
this is the only way i could make vnc run without just showing a grey screen (x11vnc crashed all the time)

my vnc session was started as:
Code:
vncserver :1 -geometry 1600x900 -depth 24
What can i do