The command line tool scrcpy (for "screen copy") mirrors an 's screen to a computer. Works on Linux, macOS, Windows, and via WiFi and USB cable. No need for root. Need to enable adb debugging via developer options on the phone.
If the packaged version does not work, try the most recent version via Snap or compile yourself.

Sign in to participate in the conversation – a Fediverse instance for & by the Chaos community