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.

Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like