Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to solve the problem of non-response of Wireshark in Ubuntu system

2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly explains "how to solve the problem of Wireshark non-response under Ubuntu system". The content of the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "how to solve the problem of Wireshark non-response under Ubuntu system".

Wireshark is a GUI-based packet capture and sniffing tool. This tool is widely used by network administrators, and network security engineers or developers are necessary for packet-level network analysis of various tasks, such as network failure, vulnerability testing, application debugging, or reverse protocol engineering. Wireshark allows real-time recording of packets and browsing of their protocol headers and payloads through a convenient graphical user interface.

This is Wireshark's UI, especially when running under the Ubuntu desktop, when you scroll up or down the grouping list view, or when you start loading a pre-recorded package dump file, it sometimes hangs or freezes with the following error.

Obviously, this error is caused by some incompatibility between Wireshark and the overlay scroll bar, which has not been resolved on the latest Ubuntu desktop (for example, Ubuntu 15.04 desktop).

One way to prevent Wireshark's UI from getting stuck is to temporarily disable the overlay scroll bar. There are two ways to disable the overlay scroll bar on Wireshark, depending on how you start Wireshark on your desktop.

Command line solution

The overlay scroll bar can be disabled by setting the "LIBOVERLAY_SCROLLBAR" environment variable to "0".

So, if you start Wireshark from the command line on the terminal, you can disable the overlay scroll bar in Wireshark, as shown below.

Open your .bashrc file and define the following alias.

The code is as follows:

Alias wireshark= "LIBOVERLAY_SCROLLBAR=0 / usr/bin/wireshark"

Desktop startup solution

If you are using a desktop launcher to launch Wireshark, you can edit its desktop initiator file.

The code is as follows:

$sudo vi / usr/share/applications/wireshark.desktop

Find the line that starts with "Exec" and change it as follows.

The code is as follows:

Exec=env LIBOVERLAY_SCROLLBAR=0 wireshark f

Although this solution can help all desktop users at the system level, it is useless to be overwritten after upgrading Wireshark. If you want to keep the modified .folders file, copy it to your home directory as shown below.

The code is as follows:

$cp / usr/share/applications/wireshark.desktop ~ / .local/share/applications/

Thank you for your reading, the above is the content of "how to solve the problem of unresponsive Wireshark under Ubuntu system". After the study of this article, I believe you have a deeper understanding of how to solve the problem of unresponsive Wireshark under Ubuntu system, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report