TightVNC on Ubuntu

In case like me, you were looking to install the TightVNC viewer and/or server on Ubuntu and your first guess didn’t work:

$ sudo apt-get install tightvnc
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package tightvnc

try these:

$ sudo apt-get install tightvncserver
$ sudo apt-get install xtightvncviewer

Also see: http://packages.ubuntu.com/breezy/source/tightvnc

Check out my new Linux site: “Tux in a row”

Books on Ubuntu from Amazon

Ubuntu UnleashedUbuntu Hacks : Tips & Tools for Exploring, Using, and Tuning Linux (Hacks)

18 thoughts on “TightVNC on Ubuntu

  1. In case you haven’t discovered this handy trick already – you can use ‘apt-cache search’ to find packages pretty easily:

    dmaxwell@hades:~$ apt-cache search tightvnc
    tightvncserver – virtual network computing server software
    xtightvncviewer – virtual network computing client software for X
    xvncviewer – Virtual network computing client software for X
    tightvnc-java – TightVNC java applet and command line program
    vnc-java – VNC java applet and command line program

    dmaxwell@hades:~$ apt-cache search –names-only tightvnc
    tightvncserver – virtual network computing server software
    xtightvncviewer – virtual network computing client software for X
    tightvnc-java – TightVNC java applet and command line program
    dmaxwell@hades:~$

    The first uses the supplied argument as a regex, and searches package descriptions and names. The second with ‘–names-only’ searches only the package names. See apt-cache (8) for much more you can do with this. Debian’s apt- package utilities are great time-savers.

  2. Wow just wanted to say thanks! i was not to sure on how to install tightvnc on my ubuntu computer and i done a google search and your site came up straight away with the correct method ! cheers buddy!

  3. google search led me here, and install for xtightvncviewer worked like a charm. now to figure out how to actually run it…

  4. @matt

    just run “xtightvncviewer” on any console, terminal or kicker applet. I installed and worked nice, too bad you have to manually ser the ip each time u use it. Also de scrollbars does not work nicely on Xubuntu 8.10 (humm vinagre does not even show the scroll bars either).. but tight is faster than vinagre

  5. thanks! spent hours trying to figure this out till i found this page.

  6. Works like a charm thank you very much! Can anyone tell me how i run the server as a service on Ubuntu 8.10?

  7. Gotta say, this is *such* an unintuitive set of package names. Someone should file a bug if one hasn’t been already..

  8. Hi,
    The result on either “sudo apt-get install tightvncserver” or “sudo apt-get install xtightvncviewer” is: “E: Unable to fetch some archives, may be run apt-get update or try with – -fix-missing”.

    Any idea what’s going on? Why is this reply? And mostly what can I do?

  9. Nice to see someone presenting information the way it needs to be. Many people in the linux community seem to be able to tell you everything except what you need to do to resolve your conundrum.

    It would be nice if they followed suit and presented information in simple, progressive steps, or as a simple lead such as this.

    Thankyou – it is not often I am driven to leave a comment in places like this.

  10. E: Invalid operation xtightvncviewer
    I am getting only these results when i try xtightvnc and tightvnc

  11. Got the installation right but can’t log in to other tight vnc computers what am I missing

  12. if it doesn’t work and you are using Ubuntu
    ensure you have the xfce4 desktop environment and have root privileges then type

    sudo apt-get install xfce4
    sudo apt-get update
    sudo apt-get install tightvncserver
    sudo apt-get install xtightvncviewer

    or do as Doug said and find your own flavor.

  13. First of all I want to say fantastic blog! I had a
    quick question in which I’d like to ask if you do not mind.
    I was curious to find out how you center yourself and clear your thoughts before writing.
    I’ve had difficulty clearing my thoughts in getting my ideas out there.
    I do take pleasure in writing however it just seems like the first 10 to
    15 minutes are usually lost just trying to figure out how to begin.
    Any ideas or tips? Thank you!

Leave a Reply

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