Home

  • Contact
  • Forum
  • Free Ubuntu E-Books
  • Popular Posts
  • Search
  • Ubuntu Hosting
  • About
  • RSS Feed
  • Sitemap
  • Privacy Policy

Ubuntu Geek

Ubuntu Linux Tutorials,Howtos,Tips & News | Zesty Zapus,Artful Aardvark

Share your Ubuntu Desktop Using Remote Desktop

Posted on December 17, 2006 by ruchi 87 Comments

Sponsored Link
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

Sponsored Link

Related posts

  • Install AVG Antivirus in Ubuntu Desktop (18)
  • Ubuntu Edgy Upgrade Common Problems With solutions (2)
  • Ubuntu Edgy Eft complete sources.list (repository list file) (3)
  • Ubuntu 7.10 (Gutsy Gibbon) Release Dates (0)
  • Ubuntu 7.04 (Feisty Fawn) Release Dates (2)
  • Setting up Dial-up connection in Ubuntu (112)
  • Securing SSH Using Denyhosts (10)

87 thoughts on “Share your Ubuntu Desktop Using Remote Desktop”

« Older Comments
  1. Mark on February 11, 2010 at 9:38 pm said:

    I tried the vnc solution built into 9.10 and just wasn’t happy with performance and the fact that if I logged out I was screwed.

    I tried the NXclient that someone suggested and wow, very nice–easy to setup even with all my composting effects turned on and across a VPN connection.

  2. genux on February 20, 2010 at 8:12 pm said:

    Great post, within KDE you can use Krfb which runs within the same setup and allows for users to gain access via VNC and also control your desktop :).. I am a kubuntu user so not sure if that helps anyone else…

    Also you will need to check your emails being sent out, because it will use the local LAN IP and not your remote one (ISP one)..

  3. Poldino on March 7, 2010 at 12:14 pm said:

    That last image is 1meg in size – you could probably save a bit of bandwidth by reducing it to a tenth that size.

  4. Ben Annett on March 24, 2010 at 9:43 am said:

    This worked great for me on Mint 8. Thanks for the help! I can’t believe how easy it was to set up!

  5. Ralph on April 1, 2010 at 9:48 am said:

    Do i substitute the loca ip for the exter ip if I want to traverse the internet. Would I need to punch wholes in the fire wall.

    thank you!

    I love your articles.

  6. Huss on April 1, 2010 at 11:11 am said:

    Yes you would need to use the external IP, because your local IP is only visible from the local network..

    as for opening ports, If I remember right if you should configure TCP connections to ports 5900 and 5800 , then open remote desktop preferences and it should say your visible from the net…

    as for firewall you should be fine, I don’t thing it needs to be touched.
    I connect externally and I didn’t touch my firewall.

  7. Ben Annett on April 1, 2010 at 2:29 pm said:

    I didn’t open any ports on my router – and it seems to work fine.

    I don’t have a fixed IP address, however. Are there any solutions to that problem?

  8. James on April 10, 2010 at 6:00 am said:

    DynDNS

  9. mr.design on May 3, 2010 at 12:37 pm said:

    grdc is fastest and the best.

  10. Gwen on June 1, 2010 at 3:42 pm said:

    I have tried this and it was a little bit slower for me. I want to find out if this was just my internet connection.

  11. jeff on July 11, 2010 at 1:35 pm said:

    Is there a way to listen to the music from the computer you control?

  12. sunil on July 12, 2010 at 10:41 am said:

    @Jeff:

    My ubuntu desktop controls my stereo.
    I use mpd. From other nodes on my local network I use various clients, including gmpc.
    There is even a client for the iphone.

  13. znupii on August 2, 2010 at 7:57 am said:

    hey. i tried to access my ubuntu desktop from a windows xp with, machine.
    but the screen doesn’t change on VNC viewer if i made some changes.
    for example if i right click, the nautilus menu doesn’t appeear on my vnc viewer.
    if i open some application it doesn’t appear on my vnc viewer

  14. David on August 15, 2010 at 7:50 pm said:

    I have the same problem (I think) as does znupii. I see the desktop on vnc viewer but it does not change , more like a fixed graphic of what my ubuntu box has. Mouse works, I can see it selecting items etc via vnc but the opening windows do not show on the remote side. What needs fixing?

  15. Ario on August 27, 2010 at 10:37 am said:

    VNC is not working anymore. It has a bunch of problems with new composited desktops, If you terminate your compiz whenever try to connect remotely you may involved with a bunch of other problems, keyboard may not working, Titlebars may hide, and so on, if you try to run it near compiz, you will get involved with tones of bash commands to run and after all, it will be all by chance to get it work or not (mine is not working!)
    Are there any protocols suitable for remote connecting to an ubuntu desktop?
    Any helps appreciated:)

  16. Daniel Lord on November 4, 2010 at 2:21 pm said:

    This method works well, but I feel like it might be too technical for some. I guess that’s what happens when you’re running Ubuntu, but regardless, I think in a business setting it is cost effective to use paid remote desktop software.. less downtime, less lost revenue.

  17. znupii on November 4, 2010 at 6:52 pm said:

    @Daniel Lord:
    This software works perfectly for personal use.
    If you want to develop this for a business purpose, it’s more efficiently to use VPNs.
    Almost all business applications are based on VPNs.
    See more details here:
    http://www.cisco.com/web/about/ac123/ac147/archived_issues/ipj_1-1/what_is_a_vpn.html

  18. beno on November 21, 2010 at 6:14 pm said:

    Good work!, Thanks a lot. It woked nice for me.

  19. akhilesh on December 2, 2010 at 11:18 am said:

    after entering the password in VNC viewer i don’t get the above shown dialog box that someone is trying to view your desktop how to enable this… i want my linux pc to be used by more than one users. please help me.

  20. husskii on December 6, 2010 at 11:08 pm said:

    what are you trying to get out of your server..

    from what I think your trying to do, you would be better off with ubuntu server, then creating multiple user/vnc accounts, then your able to all connect at once to your own personal desktop…

  21. Me on February 27, 2011 at 12:24 am said:

    How do I share my desktop with a Windows user? I’m using Ubuntu 10.10.

  22. husskii on February 27, 2011 at 9:39 pm said:

    in the vnc option under the misc tab, there is an option “”share desktop”” (do not disconnect other viewers)

    If you select that check box, you should be able to both connect at the same time.

  23. Peter on May 30, 2011 at 11:46 am said:

    I do not think VNC rendering speed and quality over long hops is that good. YMMV of course! I use Xen desktops from home and on the move and I can say that the quality is much better.

  24. slippyC on July 2, 2011 at 1:55 pm said:

    Thanks, just didn’t know what to type as port. I don’t think :port has anything to do with the real port it is running on. Think it is tied to gnome session you are running, which I didn’t realize you needed to do. Like someone said earlier, pretty sure real port is 5900.

  25. Niak on September 13, 2011 at 12:41 pm said:

    Still not got answer for. Once connected with VNC to Ubuntu 11.04. Why the resolution did not come same as your ubuntu desk 1024 X 768. If any graphics driver installed like ATA/NVIDIA than Why VNC mouse only work windows did not comes up things run to main system but did not get same screen refreshed on client. If you disconnect VNC and connect again you get the screen. so refreshing is not working after installing graphics driver. Please some one expert with ubuntu put some light on this. Help in need. Thank you.

  26. Ostap on September 19, 2012 at 1:35 pm said:

    xrdc – easy to use and faster…

  27. Dale on December 6, 2012 at 4:16 pm said:

    I *hope* I never see a remote machine desktop like that one! >*_*<

« Older Comments

Leave a comment Cancel reply

Your email address will not be published. Required fields are marked *

« Install and Enable DVD playback and w32codecs in Ubuntu System
Enable WPA Wireless access point in Ubuntu »

Sponsored Link

    Cheap Web Hosting

Categories

  • Backup
  • Free Books
  • General
  • Monitoring
  • Networking
  • News
  • Package Mgmt
  • Security
  • Server

Sponsored Link

Archives

RSS Feed

subscribe to the ubuntu Geek RSS feed

UbuntuGeek on Twitter

    Follow Us on Twitter

Support UbuntuGeek

Favourite Sites

Debian Admin
DebianHelp
Tuxmachines
  • Contact
  • Forum
  • Free Ubuntu E-Books
  • Popular Posts
  • Search
  • Ubuntu Hosting
  • About
  • RSS Feed
  • Sitemap
  • Privacy Policy
Copyright © 2016 Ubuntugeek - Ubuntu Linux Howtos and Tutorials All Rights Reserved.