Intro to Network Traffic Analysis

Hi,
I’m trying to go through the exercises in the “Familiarity with Wireshark” section. When I start my instance and try to open Wireshark from the terminal with command “sudo wireshark”, I’m unable to do so. If I open it without using sudo, it says that I don’t have permission to capture on the interfaces. Here is the error message I’m getting when I try to use “sudo wireshark”:

" ** (wireshark:16222) 11:32:17.164530 [GUI WARNING] – could not connect to display :1
** (wireshark:16222) 11:32:17.164620 [GUI ERROR] – This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.

Aborted"

I don’t see any other instructions in the chapter that say I need to do anything extra to get wireshark to work… any idea why this might be happening? Should I be doing something differently?