How to query possible screen resoultions in linux via terminal

xrandr --query

xrandr -q

If you would like to have a GUI solution use arandr

sudo apt install -y arandr

https://gitlab.com/arandr/arandr/-/tree/release

https://wiki.ubuntuusers.de/RandR/#ARandR