Wireshark for Mac

The way to use Wireshark for Mac.

Step is:

- Install X11, and now it is XQartz

- Open X11 in /Applications/Utilities/X11

- Right click "X11", run "terminal"

- Excute cmd 

open -a wireshark

to start wireshark

If failed, you may do like this:

- 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"

At here, the wireshark can works, and later everytime, you should do like this to launch it.

Reference:http://blog.sina.com.cn/s/blog_5fde60890101gwx8.html

              http://www.macx.cn/thread-2146936-1-1.html



你可能感兴趣的:(Wireshark for Mac)