From Fedora Project Wiki

(New page: = Sharing Your Desktop = <!--Edited by ZacharyHamed on 2008-03-27 --> {{Admon/caution |Use this capability carefully | Remote desktop sharing can be a serious security risk. You should lea...)
 
(fix typo: s/remove/remote/ in "the remote user")
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
= Sharing Your Desktop =
[[Category: Documentation]]
<!--Edited by ZacharyHamed on 2008-03-27
[[Category: User Guide]]
-->
{{Admon/caution |Use this capability carefully | Remote desktop sharing can be a serious security risk. You should leave it turned on only when needed and should not leave it active.}}


Fedora provides a means to share a user's desktop remotely across the network. This is useful for receiving technical support from a remote location or for demonstrating a desktop feature to another user. You may also find it to be a useful way to remotely access files on your desktop from another computer.
{{Admon/caution |Use this capability carefully | Remote desktop sharing can be a serious security risk. You should leave it turned on only when needed and should not leave it active. }}


== GNOME ==
Fedora provides a means to share a user's desktop remotely across the network, so that a user at a different computer can view and, with your permission, interact with your computer. This is useful for receiving technical support from a remote location or for demonstrating a desktop feature to another user.  You may also find it to be a useful way to remotely access files on your desktop from another computer.


To activate desktop sharing, select ''System > Preferences > Remote Desktop'' from the user menuThis opens the ''Remote Desktop Preferences'' window:
Fedora uses a program called Virtual Networking Computing (VNC) to facilitate remote desktop sharing.  Therefore, the remote viewer must use VNC as wellThe Microsoft Windows operating system uses the Remote Desktop Connection (RDC) protocol by default; therefore, a third party client must be used if connecting from Windows.  Apple's OS X uses VNC by default.


<!-- [[Image:Docs_Drafts_DesktopUserGuide_SharingDesktop_Set_Remote_Desktop_Sharing.png]]
== GNOME ==
-->


[[Image:Docs_Drafts_DesktopUserGuide_SharingDesktop_remdesktopshare.png]]
To activate desktop sharing, select ''System > Preferences > Internet and Network > Remote Desktop'' from the user menu.  This opens the ''Remote Desktop Preferences'' window:


The following procedure describes the most secure method to share a desktop:
The following procedure describes the most secure method to share a desktop:
 
<!-- [[Image:Remote-desktop-f10.png|250px|right|thumb|The desktop sharing dialog box in GNOME.]] -->
# Under ''Sharing'', check the box labeled ''Allow other users to view your desktop''.
# Under ''Sharing'', tick the box labeled ''Allow other users to view your desktop''.
# Next, check ''Allow other users to control your desktop''.
# Next, tick the box next to ''Allow other users to control your desktop''.
# Make a note of the command listed under ''Users can view your desktop using this command:''
# Make a note of the command listed under ''Users can view your desktop using this command:''
# Under ''Security'', check the box ''Ask you for confirmation''.
# Under ''Security'', tick the box next to ''Ask you for confirmation''.
# Next, check ''Require the user to enter this password'' and enter a password.
# Next, check ''Require the user to enter this password'' and enter a password.  This should not be your account's password; pick a new password that you will only reveal to the remote viewer.
# Finally, click on the '''[Close] ''' button.
# Finally, click on the '''[Close] ''' button.


Line 28: Line 25:
Once the remote viewing feature is no longer needed, turn off desktop sharing by completing the following:
Once the remote viewing feature is no longer needed, turn off desktop sharing by completing the following:


# Select ''System > Preferences > Remote Desktop''
# Select ''System > Preferences > Internet and Network > Remote Desktop''
# Uncheck the ''Allow other users to view your desktop'' box
# Uncheck the ''Allow other users to view your desktop'' box
# Click on the '''[Close] ''' button.
# Click on the '''[Close] ''' button.
Line 35: Line 32:


== KDE ==
== KDE ==
<!--[[Image:Docs_Drafts_DesktopUserGuide_SharingDesktop_kdeDesktopSharing.png]]-->
To activate desktop sharing in KDE, select ''KMenu > Applications > System > Desktop Sharing''.  This opens the  Desktop Sharing control module window.  There are two methods by which you can share your desktop:


To activate desktop sharing in KDE, select ''KMenu > Applications > System > Desktop Sharing''.  This opens the  Desktop Sharing control module window:
[[Image:Docs_Drafts_DesktopUserGuide_SharingDesktop_kdeDesktopSharing.png]]
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 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 also leave Desktop Sharing on at all times.
# You can also leave Desktop Sharing on at all times.


To create a Desktop Sharing invitation, open the Desktop Sharing window as described above, and select ''Create & Manage Invitations''; the ''Manage Invitations'' window will open. From here, you can select ''New Personal Invitation'' and give the information to the person you want to invite.
To create a Desktop Sharing invitation, open the Desktop Sharing window as described above, and select ''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, follow the steps below:
If you want to have Desktop Sharing running at all times, follow the steps below:


# In the Desktop Sharing window, check the box ''Allow uninvited connections''.
# 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).
# Next, check ''Confirm uninvited connections before accepting'' (optional, but recommended).
# Check ''Allow other users to control your desktop''.
# 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.
# A password should be set for security; enter one in the box at the bottom of the window.  This need not - and advisably should not - be your user account password.
# Select the ''Network'' tab at the top of the window and uncheck ''Assign Port Automatically'' and make a note of the port listed.
# Select the ''Network'' tab at the top of the window and check ''Use default port'' and make a note of the port listed.
# Finally, click on the '''[Apply] ''' button.
# Finally, click on the '''[Apply] ''' button.


To connect to the machine, you'll need VNC Viewer (or a similar program) installed on the remote machine. Open it by selecting ''Applications > Internet > VNC Viewer'' in GNOME, or ''KMenu > Applications > Internet > VNC Viewer'' in KDE. When the window opens, enter the IP address or hostname of the machine followed by a ":" and the port number from step 5 above. When the person connects to your desktop, click on the '''[Yes] ''' button when asked for confirmation.
To connect to the machine, you'll need VNC Viewer (or a similar program) installed on the remote machine. Open it by selecting ''Applications > Internet > VNC Viewer'' in GNOME, or ''KMenu > Applications > Internet > Remote Desktop Client > Connect to a VNC Remote'' in KDE. When the window opens, enter the IP address or hostname of the machine followed by a ":" and the port number from step 5 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:
Once the remote viewing feature is no longer needed, turn off desktop sharing:


# Select ''KMenu > Applications > Settings > Desktop Sharing''
# Select ''KMenu > Applications > System > Desktop Sharing''
# Uncheck the ''Allow uninvited connections'' box
# Uncheck the ''Allow uninvited connections'' box
# Click on the '''[Apply] ''' button.
# Click on the '''[Apply] ''' button.


This turns off the remote desktop sharing feature.
This turns off the remote desktop sharing feature.
For more information see the [http://realvnc.com/support/documentation.html <code>VNC</code> documentation.]
== Other Desktops ==
Various desktop environments may offer their own graphical assistants for desktop sharing, but the <code>vncserver</code> program can be used from the command line to accomplish this task on almost any desktop environment.  Setting up this service is beyond the scope of this guide; check the [http://realvnc.com/products/free/4.0/man/vncserver.html <code>vncserver</code> manual] page for detailed setup instructions.


----
----
Line 69: Line 69:
{|
{|
|-
|-
|[[Docs/Drafts/DesktopUserGuide/Photos| Previous Page - Managing Photos]] ||[[Docs/Drafts/DesktopUserGuide| Table of Contents]] ||[[Docs/Drafts/DesktopUserGuide/Customizing| Next Page - Customizing the Desktop]]
|[[User Guide - Managing Photos| Previous Page - Managing Photos]] ||[[User Guide| Table of Contents]] ||[[User Guide - Customizing the Desktop| Next Page - Customizing the Desktop]]
|}
|}

Latest revision as of 11:39, 4 May 2009


Stop (medium size).png
Use this capability carefully
Remote desktop sharing can be a serious security risk. You should leave it turned on only when needed and should not leave it active.

Fedora provides a means to share a user's desktop remotely across the network, so that a user at a different computer can view and, with your permission, interact with your computer. This is useful for receiving technical support from a remote location or for demonstrating a desktop feature to another user. You may also find it to be a useful way to remotely access files on your desktop from another computer.

Fedora uses a program called Virtual Networking Computing (VNC) to facilitate remote desktop sharing. Therefore, the remote viewer must use VNC as well. The Microsoft Windows operating system uses the Remote Desktop Connection (RDC) protocol by default; therefore, a third party client must be used if connecting from Windows. Apple's OS X uses VNC by default.

GNOME

To activate desktop sharing, select System > Preferences > Internet and Network > Remote Desktop from the user menu. This opens the Remote Desktop Preferences window:

The following procedure describes the most secure method to share a desktop:

  1. Under Sharing, tick the box labeled Allow other users to view your desktop.
  2. Next, tick the box next to Allow other users to control your desktop.
  3. Make a note of the command listed under Users can view your desktop using this command:
  4. Under Security, tick the box next to Ask you for confirmation.
  5. Next, check Require the user to enter this password and enter a password. This should not be your account's password; pick a new password that you will only reveal to the remote viewer.
  6. Finally, click on the [Close] button.

Be sure to inform the person performing remote technical support/viewing the command from step three, as well as the assigned password. 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 by completing the following:

  1. Select System > Preferences > Internet and Network > Remote Desktop
  2. Uncheck the Allow other users to view your desktop box
  3. Click on the [Close] button.

This turns off the remote desktop sharing feature.

KDE

To activate desktop sharing in KDE, select KMenu > Applications > System > Desktop Sharing. This opens the Desktop Sharing control module window. There are two methods by which you can share your desktop:

  1. 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.
  2. You can also leave Desktop Sharing on at all times.

To create a Desktop Sharing invitation, open the Desktop Sharing window as described above, and select 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, follow the steps below:

  1. In the Desktop Sharing window, click Configure > Security then check the box Allow uninvited connections.
  2. Next, check Confirm uninvited connections before accepting (optional, but recommended).
  3. Check Allow other users to control your desktop.
  4. A password should be set for security; enter one in the box at the bottom of the window. This need not - and advisably should not - be your user account password.
  5. Select the Network tab at the top of the window and check Use default port and make a note of the port listed.
  6. Finally, click on the [Apply] button.

To connect to the machine, you'll need VNC Viewer (or a similar program) installed on the remote machine. Open it by selecting Applications > Internet > VNC Viewer in GNOME, or KMenu > Applications > Internet > Remote Desktop Client > Connect to a VNC Remote in KDE. When the window opens, enter the IP address or hostname of the machine followed by a ":" and the port number from step 5 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:

  1. Select KMenu > Applications > System > Desktop Sharing
  2. Uncheck the Allow uninvited connections box
  3. Click on the [Apply] button.

This turns off the remote desktop sharing feature.

For more information see the VNC documentation.

Other Desktops

Various desktop environments may offer their own graphical assistants for desktop sharing, but the vncserver program can be used from the command line to accomplish this task on almost any desktop environment. Setting up this service is beyond the scope of this guide; check the vncserver manual page for detailed setup instructions.


Previous Page - Managing Photos Table of Contents Next Page - Customizing the Desktop