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!
For each host you want to observe (lets say h1):
On mininet: xterm h1
On xterm of h1 try: wireshark-gtk
instead of wireshark
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With