Try the following in an X terminal:
Code:
# sudo xrandr --listactivemonitors
0: +HDMI-1 1920/518x1200/324+0+0 HDMI-1
The last part is the name you need to apply to the second command, so HDMI-1 is just an example that may or may not match your output name(s).
Code:
# sudo xrandr --output HDMI-1 --auto
If this wasn't helpful, try simply:
Output head will resemble:
Code:
Screen 0: minimum 320 x 200, current 1920 x 1200, maximum 16384 x 16384
VGA-1 disconnected primary (normal left inverted right x axis y axis)
HDMI-1 connected 1920x1200+0+0 (normal left inverted right x axis y axis) 518mm x 324mm
1920x1200 59.95*+
1600x1200 60.00
1680x1050 59.88
1280x1024 75.02 60.02
If the mode at the start of the line that also has *+ on it has more than one mode listed, such as does the last above line, try plugging that second (or third, or fourth) number as the last element of another xrandr command, e.g.
Code:
sudo xrandr --rate 60.02
If either of these causes worse trouble, key in Ctrl-Alt-F3, which should present a login prompt. From there, key in whatever 20.04 is using to return to X, probably one of Alt-F1, Alt-f7, Alt-F8 or Alt-F2. On return to X it should restore the configuration you started with.