The way to use Wireshark for Mac. html
Step is: shell
- Install X11, and now it is XQartz macos
- Open X11 in /Applications/Utilities/X11 this
- Right click "X11", run "terminal" spa
- Excute cmd code
open -a wireshark
to start wireshark htm
If failed, you may do like this: blog
- export DISPLAY=:0.0 - xhost + localhost - hostname (show your host name) - xhost + your-host-name - export XAUTHORITY=/Users/your-home-directory/.Xauthority
Then, excute the cmd "open -a wireshark" terminal
At here, the wireshark can works, and later everytime, you should do like this to launch it. get
Reference:http://blog.sina.com.cn/s/blog_5fde60890101gwx8.html