Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Unable to launch Wireshark GUI on Kali (rPi 4)

Hi All,

Here are the datails of my config:

  • Linux kali 5.4.83-Re4son-v7l+
  • Raspberry Pi 4
  • Wireshark 3.4.8

In order to allow my non-root user to run the wireshark GUI, I've done the following:

  1. sudo groupadd wireshark
  2. sudo usermod -a -G wireshark $USER
  3. sudo chgrp wireshark /usr/bin/dumpcap
  4. sudo chmod o-rx /usr/bin/dumpcap
  5. sudo setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' /usr/bin/dumpcap
  6. sudo getcap /usr/bin/dumpcap

However, I get the following errors:

$wireshark
09:28:56.233   Main Warn XKeyboard extension not present on the X server
09:28:56.244   Main Warn QStandardPaths: CDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-kali'

I think the warnings are just a red herring. Not sure why the wireshark GUI is not launching. Any ideas?

Thanks, Randy

Unable to launch Wireshark GUI on Kali (rPi 4)

Hi All,

Here are the datails of my config:

  • Linux kali 5.4.83-Re4son-v7l+
  • Raspberry Pi 4
  • Wireshark 3.4.8

In order to allow my non-root user to run the wireshark GUI, I've done the following:

  1. sudo groupadd wireshark
  2. sudo usermod -a -G wireshark $USER
  3. sudo chgrp wireshark /usr/bin/dumpcap
  4. sudo chmod o-rx /usr/bin/dumpcap
  5. sudo setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' /usr/bin/dumpcap
  6. sudo getcap /usr/bin/dumpcap

However, I get the following errors:

$wireshark
09:28:56.233   Main Warn XKeyboard extension not present on the X server
09:28:56.244   Main Warn QStandardPaths: CDG_RUNTIME_DIR XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-kali'

I think the warnings are just a red herring. Not sure why the wireshark GUI is not launching. Any ideas?

Thanks, Randy

Unable to launch Wireshark GUI on Kali (rPi 4)

Hi All,

Here are the datails of my config:

  • Linux kali 5.4.83-Re4son-v7l+
  • Raspberry Pi 4
  • Wireshark 3.4.8
  • Using TightVNC in a headless setup

In order to allow my non-root user to run the wireshark GUI, I've done the following:

  1. sudo groupadd wireshark
  2. sudo usermod -a -G wireshark $USER
  3. sudo chgrp wireshark /usr/bin/dumpcap
  4. sudo chmod o-rx /usr/bin/dumpcap
  5. sudo setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' /usr/bin/dumpcap
  6. sudo getcap /usr/bin/dumpcap

However, I get the following errors:

$wireshark
09:28:56.233   Main Warn XKeyboard extension not present on the X server
09:28:56.244   Main Warn QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-kali'

I think the warnings are just a red herring. Not sure why the wireshark GUI is not launching. Any ideas?

Thanks, Randy

Unable to launch Wireshark GUI on Kali (rPi 4)

Hi All,

Here are the datails details of my config:

  • Linux kali 5.4.83-Re4son-v7l+
  • Raspberry Pi 4
  • Wireshark 3.4.8
  • Using TightVNC in a headless setup

In order to allow my non-root user to run the wireshark GUI, I've done the following:

  1. sudo groupadd wireshark
  2. sudo usermod -a -G wireshark $USER
  3. sudo chgrp wireshark /usr/bin/dumpcap
  4. sudo chmod o-rx /usr/bin/dumpcap
  5. sudo setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' /usr/bin/dumpcap
  6. sudo getcap /usr/bin/dumpcap

However, I get the following errors:

$wireshark
09:28:56.233   Main Warn XKeyboard extension not present on the X server
09:28:56.244   Main Warn QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-kali'

I think the warnings are just a red herring. Not sure why the wireshark GUI is not launching. Any ideas?

Thanks, Randy

Unable to launch Wireshark GUI on Kali (rPi 4)

Hi All,

Here are the details of my config:

  • Linux kali 5.4.83-Re4son-v7l+
  • Raspberry Pi 4
  • Wireshark 3.4.8
  • Using TightVNC in a headless setup

In order to allow my non-root user to run the wireshark GUI, I've done the following:

  1. sudo groupadd wireshark
  2. sudo usermod -a -G wireshark $USER
  3. sudo chgrp wireshark /usr/bin/dumpcap
  4. sudo chmod o-rx /usr/bin/dumpcap
  5. sudo setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' /usr/bin/dumpcap
  6. sudo getcap /usr/bin/dumpcap

However, I get the following errors:

$wireshark
09:28:56.233   Main Warn XKeyboard extension not present on the X server
09:28:56.244   Main Warn QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-kali'
09:28:56.255   Main Warn The X11 connection broke: Maximum allowed requested length exceeded (code 4) X connection to :1 broken (explicit kill or server shutdown).

I think the warnings are just a red herring. Not sure why the wireshark GUI is not launching. Any ideas?

Thanks, Randy

Unable to launch Wireshark GUI on Kali (rPi 4)

Hi All,

Here are the details of my config:

  • Linux kali 5.4.83-Re4son-v7l+
  • Raspberry Pi 4
  • Wireshark 3.4.8
  • Using TightVNC in a headless setup

In order to allow my non-root user to run the wireshark GUI, I've done the following:

  1. sudo groupadd wireshark
  2. sudo usermod -a -G wireshark $USER
  3. sudo chgrp wireshark /usr/bin/dumpcap
  4. sudo chmod o-rx /usr/bin/dumpcap
  5. sudo setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' /usr/bin/dumpcap
  6. sudo getcap /usr/bin/dumpcap

However, I get the following errors:

$wireshark
09:28:56.233   Main Warn XKeyboard extension not present on the X server
09:28:56.244   Main Warn QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-kali'
09:28:56.255   Main Warn The X11 connection broke: Maximum allowed requested length exceeded (code 4) X connection to :1 broken (explicit kill or server shutdown).

I think the first two warnings are just a red herring. Not sure why the wireshark GUI is not launching. Any ideas?

Thanks, Randy

Unable to launch Wireshark GUI on Kali (rPi 4)

Hi All,

Here are the details of my config:

  • Linux kali 5.4.83-Re4son-v7l+
  • Raspberry Pi 4
  • Wireshark 3.4.8
  • Using TightVNC in a headless setup

In order to allow my non-root user to run the wireshark GUI, I've done the following:

  1. sudo groupadd wireshark
  2. sudo usermod -a -G wireshark $USER
  3. sudo chgrp wireshark /usr/bin/dumpcap
  4. sudo chmod o-rx /usr/bin/dumpcap
  5. sudo setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' /usr/bin/dumpcap
  6. sudo getcap /usr/bin/dumpcap

However, I get the following errors:

$wireshark
09:28:56.233   Main Warn XKeyboard extension not present on the X server
09:28:56.244   Main Warn QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-kali'
09:28:56.255   Main Warn The X11 connection broke: Maximum allowed requested length exceeded (code 4) X connection to :1 broken (explicit kill or server shutdown).

I think the first two warnings are just a red herring. Not sure why the wireshark GUI is not launching. Any ideas?

Thanks, Randy