Debian Admin - Your way to Debian World

December 15, 2006

Remote Desktop Sharing in Ubuntu

by @ 8:54 am. Filed under Other Linux

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!

vino is VNC server for GNOME.VNC is a protocol that allows remote display of a user’s desktop. This package provides a VNC server that integrates with GNOME, allowing you to export your running desktop to another computer for remote use or diagnosis.

By default ubuntu will come with vino-server so it is very easy to configure to enable remote desktop sharing in your ubuntu machine.If you want to access ubuntu machine remotely you need to login in to your ubuntu system.

Important note :-

Remote Desktop will only work if there’s a GNOME login session.Leaving your computer with an unattended GNOME login session is not secure and not recommended.

Some Tips

1) You can lock your screen using System—>Quit

Once you click on quit you should see the following screen here you need to select lockscreen

2) switch off your monitor when computer is left unattended

Configuring Remote Desktop

First you need to go to System -> Preferences -> Remote Desktop

Once it opens you should see the following screen

In the above screen you need to configure remote desktop preferences for sharing and security

For Sharing

you need to tick the box next to the following two options

Allow other users to view your desktop
Allow other users to control your desktop

For Security

you need to tick the box next to the following two options

Ask you for confirmation (If you tick this option some one need to click on allow from remote desktop once it connected if you don’t want you can untick this option)
Require the user to enter this password:
Password: Specify the password

Connecting from Ubuntu Machine

Open your terminal from Applications—>Accessories—>Terminal and enter the following command

vncviewer -fullscreen 192.168.2.23:0

now you should see the following message asking for password enter the password after complete success you can see VNC authentication succeeded message and starting remote desktop

VNC viewer version 3.3.7 - built Jul 4 2006 10:04:48
Copyright (C) 2002-2003 RealVNC Ltd.
Copyright (C) 1994-2000 AT&T Laboratories Cambridge.
See http://www.realvnc.com for information on VNC.
VNC server supports protocol version 3.7 (viewer 3.3)
Password:
VNC authentication succeeded

If you want to quit vncviewer

Press ‘F8′ and select Quit viewer

Connecting from Windows machine

If you are trying to connect from your windows machine you need to install vncviewer of your choice i have installed from here http://www.realvnc.com/download.html.Install this program once you install this you can opem from start—>All programs—>RealVNC—>VNC Viewer 4—>Run VNC Viewer once it opens you should see the following screen here enter the remotemachine ipaddress:0 format and click ok

Now it will prompt for password enter your password and click ok

Now on the remote machine you should see the following screen asking for permission to allow this connection you need to click on allow this will comeup only if you tick “Ask you for confirmation” option under sharing

Once it connected you should see the remote machine desktop like the following screen

Tags: , , , , ,

You may also be interested in...

5 Responses to “Remote Desktop Sharing in Ubuntu”

  1. cosmolee Says:

    Everything went as written except where I enter the IP address of the host I’m trying to access.

    In your example you used:

    vncviewer -fullscreen xxx.xxx.xxx.xxx:0

    But I had to use:

    vncviewer -fullscreen xxx.xxx.xxx.xxx:1

    instead.

    It may not be obvious to some - substitute the IP # of the machine you seek to access for the “xxx.xxx.xxx.xxx” part.

    Also, Ubuntu has a graphical client available from the menu: Applications->Internet->Terminal Server Client.

    HTH.

  2. Nathan Ziarek Says:

    I don’t know what is wrong with my setup, but if I turn this on and use it for any length of time (seems an hour minimum) vino-server seems eat up all my RAM and swap file and pretty much stall my machine. I’ve not done anything more custom than what was described here; if you experience the same things you’ll either need to restart or kill the vino-server process.

  3. Transrational Says:

    I’ve enabled Remote Desktop, enabled the connection and security and installed Chicken of the VNC on my Powerbook, but when I try to connect (via my internal network, 192.168.x.xxx) I get a spinning wheel until it times out. Trying a bad address causes an immediate “Server not found,” so it seems to know there’s a machine out there, but it can’t quite start. Any ideas? Filled with bafflement, am I.

    Thanks.

  4. Najeeb Says:

    hi,,

    I try with real VNC viewer

    my ubunthu desktop is showing on my xp desktop , but iam not able to control ubunthu desktop
    it hanging after the first screen
    not even refereshing the screen…

    plezs send me solution

  5. Roberto Says:

    Is there a way of remote desktop that include login (ie, with no open session)?

Leave a Reply

Subscribe RSS Feed

subscribe to the Debian Admin RSS feed

Internal links:

Sponsors:



Categories:

Support Debian Admin

Amount $:
Website(Optional):

Sponsors:

Archives:

Related Links:


Favourite Sites:

Wordpress Collection
Windows Reference
Ubuntu Geek
DebianHelp
All About Debian Tutorials
Power Electrical
Check Your IP Here
Debian,Ubuntu News
DebCentral
Tuxmachines
Capnkirby
Libervis
Nuxifield
Linux Horizon
Linux Appfinder
Debuntu
GNU/Linux For Everyone
Free Penguin
DebianAdmin is not related to the Debian Project.
This site is copyright © 2006,2007 Debian Admin
All Trademarks are the property of their respective owners.
The contents of this website may not be mirrored or archived without the express written permission of DebianAdmin Site Owner.

DISCLAIMER: All the information, troubleshooting methods, utilities offered in this website is provided AS-IS, without any warranties. Though I strive for perfection, and always test the validity and effectiveness of the troubleshooting content in various systems, I assume no responsibility for your use of these Fixes, Utilities and other troubleshooting advice. The author will not be liable for any special, incidental, consequential or indirect damages due to loss of data or any other reason. All use is completely at your own risk. Changes to the existing content and new additions are made to this website periodically, without notification.
Rodney's Kontera DynamiContext Plugin plugged in.