I just now installed XQuartz 2.7.4 and Wireshark 1.10.2 for the first time. When I try to launch /Applications/Wireshark.app from Finder, I get a "Choose Application" dialogue window listing all of the other apps I should consider in order to open Wireshark.app From Terminal, I can launch /Applications/Wireshark.app/Contents/Resources/bin/wireshark, which starts X11 and I then get the expected user interface. If I try to keep the application in the dock and launch it from there, I get the "Choose Application" dialogue Launching /Applications/Wireshark.app/Contents/MacOS/Wireshark also gets me the "Choose Application" dialogue window. Should I expect to be able to launch Wireshark from Finder when I am in the Applications folder? Thanks! asked 02 Oct '13, 09:30 Jerald showing 5 of 13 show 8 more comments |
In the Finder view of /Applications, what icon does it show for Wireshark?
The icon in /Applications looks like this:
Does that look correct to you? I took a look at the supporting files in Wireshark.app, thinking that I could modify one to point to the binary that is working, but I haven't figured that out yet.
Thanks!
What does the command
print?
The following is the output of file /Applications/Wireshark.app/Contents/MacOS/Wireshark:
Wireshark: Mach-O executable i386
OK, so what's printed if you type
and what shows up in the Console window after you do that?
the line added to the Console after executing
open /Applications/Wireshark.app
is:10/2/13 6:54:32.249 PM Wireshark[1577]: Performance: Please update this scripting addition to supply a value for ThreadSafe for each event handler: "/Library/ScriptingAdditions/SIMBL.osax"
OK, but
open /Applications/Wireshark.app
?No, Wireshark does not open up if I am attempting to use /Applications/Wireshark.app. There is no output in the terminal window after I execute the
open
command. The command-line prompt is returned immediately.I do get the
Choose Application
dialogue window, as I mentioned before, like I did before when I launched Wireshark.app from Finder.I can start Wireshark from /Applications/Wireshark.app/Contents/Resources/bin/wireshark
What does the Finder show if you do control+click on the Wireshark icon and select Get Info? In particular, what's shown for "Kind:" in the "General:" section?
Guy, thank you for working through to try figure this out. I can't help but wonder about the Mac OS application packaging. The /Applications/Wireshark.app/Contents/MacOS/Wireshark binary is 32-bit The /Applications/Wireshark.app/Contents/Resources/bin/wireshark-bin is a 64-bit binary /Applications/Wireshark.app/Contents/Resources/bin/wireshark is an executable shell-script that launches wireshark-bin
It would appear to me that the wireshark script is not being executed.
Here's a snapshot of what you asked for:
Does that window say "Where is X11?" above the list of applications? (It does on Mavericks GM; that might be new in Mavericks, however.) It might be asking you to choose an application to use as an X11 server, in which case you should look for the Xquartz server and, if it's not in the list, use the "Browse" button (which is also in the Mavericks dialog, but might not be in the Mountain Lion dialog).
We're making progress!
Yes, the window displays, "Where is X11?" and I had to browse to Applications/Utilities in order to select XQuartz.
Now, when I select Wireshark from Applications, XQuartz is launched and a terminal window is opened. I exited from Wireshark, the terminal window and XQuartz twice. The third time that I launched Wireshark, XQuartz started and then Wireshark is launched properly.
When launching Wireshark for the first time, you may get a "Choose Application" dialogue window that is displaying, "Where is X11?". Select Browse and navigate to Applications/Utilities and select Xquartz.
I didn't see Wireshark startup properly yet, so I exited Xquartz and launched Wireshark again. The second time, XQuartz started and then a terminal window opened. Wireshark was launched, but I don't see its window. I may not have been patient enough, but I chose to exit WS and XQ and then launch Wireshark again. This time the Wireshark window was displayed properly after XQuartz was started.