Install Wireshark under Mac, double-click the Flash back

Source: Internet
Author: User
Tags gtk locale

Install Wireshark under Mac

/applications/wireshark.app/contents/macos/wireshark

root# Export display=:0.0

System: OS X 10.9 Maverickswireshark installation package: Wireshark 1.10.2 Intel 64_0.dmg First install X11 (i.e. Xquartz); install wireshark.dmg; Error:

The Domain/default pair of (kcfpreferencesanyapplication, appleaquacolorvariant) does not exist

2013-10-28 23:04:03.650 defaults[4205:507]

The Domain/default pair of (kcfpreferencesanyapplication, applehighlightcolor) does not exist

(process:4187): gtk-warning * *: Locale not supported by C library.

Using the fallback ' C ' locale.

(wireshark-bin:4187): gtk-warning * *: Cannot open display:

(Note the last hint above) switch to the root account, execute the following command:

root# Export display=:0.0

root# Xhost +

root# Xhost +localhost

root# xhost + localhost

root# hostname

Shuiyouren.local

root# Xhost + shuiyouren.local

root# Export Xauthority=/users/[shuiyouren (your user home directory)]/. Xauthority

Start the X11 program, and then run Wireshark as the root account:

root#/applications/wireshark.app/contents/macos/wireshark

This will run Wireshark, and if it fails, exit rerun.

Related error message in this article: (wireshark-bin:1336): gtk-warning *: Cannot open Display:: 0.0 Add the above actions to the profile file for easy operation later.Note: Be sure to run X11 first and then run wireshark! from the command line Recommendation: chmod g+rw/dev/bpf* (This can be run as a normal user, as to whether you need the configuration of the relevant parameters to re-think)Other methods on the Internet try not to, the reason is unknown, mainly still understand not deep O (∩_∩) o ha! Reference Link: http://stackoverflow.com/questions/13697397/error-when-starting-wireshark-in-ubuntu;https:// bbs.archlinux.org/viewtopic.php?id=66405;

Install Wireshark under Mac, double-click the Flash back

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.