24. March 2017

How to start Wireshark on openSUSE

The simple way how to start Wireshark on Linux is to type:


If you run this command as a normal user you won’t be able to capture packets. In order to dump packets, you need to execute it as root. This must be done in a specific way. If try just sudo you’ll end up with interesting errors like:

Attempt #1

$ sudo su
# wireshark
QXcbConnection: Could not connect to display 
Aborted (core dumped)

Attempt #2

$ sudo wireshark
QXcbConnection: Could not connect to display 
[1]    8836 abort      sudo wireshark

The proper way how to start Wireshark is by gtk-su:

xdg-su -c wireshark

11. July 2013

W2k8 in KVM is not able to reach network

I found interesting issue while testing W2k8 with KVM. I used bridged network with br0 interface.

<interface type='bridge'>
 <mac address='52:54:00:...'/>
 <source bridge='br0'/>
 <model type='e1000' />

Windows server was not able to reach network. Network card was on-line, but ping was not working and network was not reachable.

Then I found PilotJLR’s solution. I just removed line with model type=’e1000′:

<interface type='bridge'>
 <mac address='52:54:00:...'/>
 <source bridge='br0'/>

Then I redefined virtual machine and start it again:

virsh define virtual.xml
virsh start virtual
  • Quick search

  • Links

  • Twitter

    Follow @jurajmichalek on twitter.

  • Comments

  • Tags

  • Topics