Enable Remote Desktop
Depending on your Linux distribution, configuration details may vary, but most modern Linux desktop environments typically provide a feature called Desktop Sharing or Remote Desktop.
Open these settings and configure the service using a configuration similar to that depicted in this screenshot.
By default, Remote Desktop limits password length to eight characters. If you use more than eight characters, Screens will use only the first eight characters entered.
Optional: Installing a SSH Server
To install OpenSSH, open a terminal and run the following commands with superuser permissions.
For distributions using the apt package management system such as Ubuntu, Debian, or Linux Mint
$ sudo apt-get install openssh-server openssh-client
For distributions using the rpm package management system, such as Red Hat Enterprise, CentOS, or Fedora
$ yum -y install openssh-server openssh-client
Testing the Connection
Before proceeding further, use the following Terminal command to confirm that your OpenSSH server is working properly.
$ nc -v -z 127.0.0.1 22
You can now create a new screen in order to connect to your Linux PC.