I am trying to run wireshark on mininet using a ssh session but it does not work I have this error :
error: XDG_RUNTIME_DIR not set in the environment.
and also this error :
(wireshark:1945): Gtk-WARNING **: cannot open display:
I will appreciate your help thanks !!
1) Make sure the ssh connection is started with -X or -Y option. Example: ssh -X usernme@ipaddress
2) Restart the ssh connection, that is just exit and log in again!