How to set resolution in Ubuntu server 20.04 when no Monitor

I have 2 GTX 2070 super in the ubuntu server 20.04. When I put the monitor the resolution is ok.
But some time I disconnect the monitor and then I remote ubuntu with TeamViewer the solution of ubuntu got 800x600.
So How I can set resolution in Ubuntu server 20.04 with GTX 2070 when no Monitor connected?
Thank you so much for help.

You could either fake a monitor in xorg.conf using the ConnectedMonitor option and a edid file or use a dummy plug.