Wireshark not working on MacOS #342
Replies: 4 comments 11 replies
-
Pinging @hayyaaf, who kindly volunteered to maintain the Wireshark demo. |
Beta Was this translation helpful? Give feedback.
-
Hello Bruno, Unfortunately, I wasn’t able to solve the issue, but I will look into it after one to two weeks due to time constraints. Thank you for your understanding! Best regards, |
Beta Was this translation helpful? Give feedback.
-
Hi Khalid! No worries, just let me know if you have any information. Thanks! |
Beta Was this translation helpful? Give feedback.
-
Sorry for the delay. Could you try the following steps to run the quantum-safe Wireshark Docker container on macOS? 1. Ensure XQuartz is ConfiguredPlease ensure that "Allow connections from network clients" is enabled under XQuartz Preferences > Security. 2. Allow Connections from the HostRun the following command to permit connections from the local machine: xhost + 3. Set the DISPLAY Environment VariableEnsure the export DISPLAY=host.docker.internal:0 Unfortunately, it seems that every time you open XQuartz, you need to run both 4. Run the Docker ContainerStart Wireshark with the necessary environment variables: docker run --rm -it --net=host \
-e DISPLAY=$DISPLAY \
-e QT_QPA_PLATFORM=xcb \
-e XDG_RUNTIME_DIR=/tmp/runtime-root \
-v /tmp/.X11-unix:/tmp/.X11-unix \
oqs-wireshark I will open a PR to resolve some warning messages and update the documentation accordingly. The new PR will include the necessary environment variables to prevent these warnings. Let me know if you encounter any other issues. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello All!
I'm trying to test the quantum safe Wireshark on my Mac, but it is not working. I've built the container and installed XQuartz, but when I try to run the container I get this error message:
** (wireshark:1) 12:42:32.119831 [GUI WARNING] -- could not connect to display /private/tmp/com.apple.launchd.yYUifzpdJT/org.xquartz:0
** (wireshark:1) 12:42:32.120508 [GUI ERROR] -- This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
I ran the following run command:
docker run --rm -it --net=host -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix oqs-wireshark
If someone could help me with this, I appreciate.
Bruno
Beta Was this translation helpful? Give feedback.
All reactions