Why doesn't Wireshark start in Mac OS X Mountain Lion?
asked 24 Jun '12, 19:57
edited 26 Jul '12, 16:53
I'm having problems as well... Double-clicking on the Wireshark icon, or launching via Alfred doesn't do anything. I did install XQuartz since upgrading to ML.
I might have found a work-around for myself however:
et. voila! At least on my 2009 MBP with Wireshark 1.8.1 and ML installed as an upgrade from Lion. YMMV.
If Xquartz is running, and I double click the wireshark icon, nothing happens.
If Xquartz is not running, i get
I believe you're right that apps are not doing the Launch-on-demand for XQuartz.
However, there might also be a
And retry launching
Two issues for the price of one?
answered 26 Jul '12, 14:52
edited 26 Jul '12, 15:58
I managed to get it to work as it did in Lion (without changing any X11 settings). These are my steps from memory...
At this point, the link to X11 should be setup properly so that opening
Before I tried step 3-6 above, I built
I have several MacPorts libraries installed, including xorg-libX11 (seems to play fine with XQuartz). Your build will fail at a few warnings in
answered 26 Jul '12, 16:49
As noted in other answers, install XQuartz first; if you try to launch X11 from /Applications/Utilities/X11.app, it will pop up a window with a link to the XQuartz Web site. Click that link; that'll take you to a page with a download link for the latest version of XQuartz.
After you install XQuartz, log out and log back in again; that will cause the DISPLAY environment to be set correctly to launch X11 on demand. (This is automatic; you don't need to set it yourself, once you log out and log back in again.)
answered 13 Sep '12, 11:57
Guy Harris ♦♦
You did install Xquartz, right? X11 isn't bundled with Mountain Lion, and Wireshark currently requires X11, so you need to install it separately (although there's a claim out there that attempting to run X11 programs on Mountain Lion will, at least, direct you to the Xquartz Web site to download and install it).
If you didn't install Xquartz, do so.
If you did install Xquartz, what errors are reported in Console when you try to run Wireshark?
answered 25 Jun '12, 17:52
Guy Harris ♦♦
edited 25 Jun '12, 19:25
Here is what I had to do to get Wireshark 1.8.4 (latest as of December 20, 2012) running on Mountain Lion. Note this is a one-time step. Once you follow this, you can open Wireshark like any other OS X application.
1) I deleted the previous version of Wireshark from my Applications folder and downloaded the latest 2) I deleted Wireshark preferences from ~/Library/Preferences 3) Download and install Xquartz (log out and log back in) 4) Launch Xquartz and use its shell to go to /Application/Wireshark.app/Contents/MacOS 5) sudo ./Wireshark
Now Wireshark should launch correctly, including the proper display of fonts. There should no longer be a pop-up window like I described above where it just hangs.
NOTE: It's important that in step 5 you type sudo ./Wireshark and not sudo Wireshark otherwise when Wireshark launches you won't see fonts and Wireshark will automatically close. Once launched correctly, you should now be able to simply click on the Wireshark icon in the Applications folder to load Wireshark like before.
I'm not suggesting this is the best way, the only way, or even the right way, but when the other steps here failed, this is how I got it to work.
answered 20 Dec '12, 11:44
edited 23 May '13, 07:37
In my case it was way easier. I've installed wireshark via macports. Then I've installed Quartz. After running Quartz, I've added a new application with command 'wireshark', then booted it from quartz's menu and voila. Everything works.
answered 12 Nov '13, 16:56