To activate desktop sharing in KDE, select
Kickoff Application Launcher > Applications > System > Desktop Sharing. This opens the
Desktop Sharing control module window. There are two methods by which you can share your desktop:
You can create an invitation. By default, invitations are only valid for one hour. This lessens the chance of forgetting to disable Desktop Sharing, and is a good option if you only need it enabled temporarily.
You can leave Desktop Sharing turned on at all times.
To create a Desktop Sharing invitation, open the Desktop Sharing window as described above, click New Personal Invitation and give the information to the person you want to invite.
If you want to have Desktop Sharing running at all times:
In the Desktop Sharing window, click Configure > Security then check the box Allow uninvited connections.
Next, check Confirm uninvited connections before accepting (optional, but recommended).
Check Allow other users to control your desktop.
A password should be set for security; enter one in the box at the bottom of the window. This should not be your user account password.
Select the Network tab at the top of the window, check Use default port and make a note of the port listed.
Finally, click on the Apply button.
The person connecting to your computer remotely will need your IP address or hostname, followed by a :
and the port number that you noted above. When the person connects to your desktop, click on the Yes button when asked for confirmation.
Once the remote viewing feature is no longer needed, turn off desktop sharing:
Select Kickoff Application Launcher > Applications > System > Desktop Sharing.
Uncheck the Allow uninvited connections box.
Click the Apply button.