I am running Red Hat Enterprise Linux Server release 5.6 (x86_64), and I installed Wireshark 1.0.15. I installed Wireshark by:
Now when I try running following command line:
I receive:
Any ideas why it won't run from the command line? Do you need the GUI for Wireshark to work from the command line? asked 11 Mar '13, 12:18 lakeland |
2 Answers:
Do you even have a $DISPLAY defined? Or do you intend to run it from a workstation? If you do you should make sure that the user running Wireshark (don't go with root here) has access right to the display server. Or allow the access at the workstation with answered 11 Mar '13, 15:40 Jaap ♦ |
As far as I know, the GUI version package is called wireshark-gnome on RHEL 5.6, whereas the package wireshark contains only the CLI tools (tshark, dumpcap, etc.). So, please run this command
Then you should be able to start wireshark from the CLI. Regards answered 11 Mar '13, 23:41 Kurt Knochner ♦ edited 11 Mar '13, 23:42 |
and on a sidenote: yes, you do need the GUI to run Wireshark, no matter if by icon click, file association or command line. If you want a command line tool, run tshark instead.