How to I Enable Screen Sharing from Command Line over Ssh?

How to I Enable Screen Sharing from Command Line over Ssh?

I want to enable screen sharing through command line over ssh. In a nutshell I'm looking for the command that does the same as toggling the GUI switch under Settings > Sharing > Screen Sharing.

It's so painfully simple to do it through the GUI and still I'm unable to dig up an answer through google.

It's for Ubuntu 20.04.

Chloe Bennett
Author

Chloe Bennett

Chloe Bennett explores the intersection of pop culture, streaming entertainment, digital trends, and contemporary lifestyle. Her weekly commentary reaches thousands of culture enthusiasts.