87 Comments to “Share your Ubuntu Desktop Using Remote Desktop”

  1. Mark says:

    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.

    [Reply]

  2. genux says:

    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)..

    [Reply]

  3. Poldino says:

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

    [Reply]

  4. Ben Annett says:

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

    [Reply]

  5. Ralph says:

    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.

    [Reply]

  6. Huss says:

    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.

    [Reply]

  7. Ben Annett says:

    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?

    [Reply]

  8. James says:

    DynDNS

    [Reply]

  9. mr.design says:

    grdc is fastest and the best.

    [Reply]

  10. Gwen says:

    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.

    [Reply]

  11. jeff says:

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

    [Reply]

  12. sunil says:

    @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.

    [Reply]

  13. znupii says:

    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

    [Reply]

  14. David says:

    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?

    [Reply]

  15. Ario says:

    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:)

    [Reply]

  16. Daniel Lord says:

    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.

    [Reply]

  17. znupii says:

    @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

    [Reply]

  18. beno says:

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

    [Reply]

  19. akhilesh says:

    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.

    [Reply]

  20. husskii says:

    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…

    [Reply]

  21. Me says:

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

    [Reply]

  22. husskii says:

    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.

    [Reply]

  23. Peter says:

    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.

    [Reply]

  24. slippyC says:

    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.

    [Reply]

  25. Niak says:

    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.

    [Reply]

  26. Ostap says:

    xrdc – easy to use and faster…

    [Reply]

  27. Dale says:

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

    [Reply]

Leave a Reply