How to turn off screen saver for remote desktop sessions in macOS Catalina?
I think I found the solution. I noticed an energy saver plist with a UID appended to it.
 /Library/Preferences/com.apple.PowerManagement.{UID}.plist 

In addition to the default
/Library/Preferences/com.apple.PowerManagement.plist

Reading the default plist with my correct system settings gave me
{
&quot;AC Power&quot; =     {
    &quot;Automatic Restart On Power Loss&quot; = 1;
    DarkWakeBackgroundTasks = 1;
    &quot;Disk Sleep Timer&quot; = 10;
    &quot;Display Sleep Timer&quot; = 0;
    &quot;System Sleep Timer&quot; = 0;
    &quot;Wake On LAN&quot; = 1;
};
SystemPowerSettings =     {
    &quot;Update DarkWakeBG Setting&quot; = 1;
};
}

Reading the plist with the UID gave me
{
&quot;AC Power&quot; =     {
    PrioritizeNetworkReachabilityOverSleep = 0;
    &quot;Sleep On Power Button&quot; = 1;
    &quot;Standby Enabled&quot; = 0;
    TCPKeepAlivePref = 1;
    TTYSPreventSleep = 1;
};
}

So I added the &quot;System Sleep Timer&quot; = 0 and &quot;Display Sleep Timer&quot; 0 by the following linesp.
sudo defaults write /Library/Preferences/com.apple.PowerManagement.{UID}.plist &quot;AC Power&quot; -dict-add &quot;System Sleep Timer&quot; 0

sudo defaults write /Library/Preferences/com.apple.PowerManagement.{UID}.plist &quot;AC Power&quot; -dict-add &quot;Display Sleep Timer&quot; 0