Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

What is the difference between xtightvncviewer and vncviewer?

These two commands seem to do the same thing on Ubuntu and answer to the -version option as TightVNC Viewer version 1.3.9.

share|improve this question
    
Trying vncviewer on Kubuntu suggests xtightvncviewer as one of the packages containing it. Perhaps an alias used by several packages, so a vncviewer can be used without needing a specific VNC package, just one of several available? –  Bob Apr 7 '12 at 11:47

1 Answer 1

up vote 6 down vote accepted

vncviewer is a virtual package that is only provided by xtightvncviewer.

They're (currently) the same thing.

To double-check, let's look at the files themselves:

oliver@ubuntuDesktop:~$ ls -lha /usr/bin/vncviewer 
lrwxrwxrwx 1 root root 27 2012-04-07 14:35 /usr/bin/vncviewer -> /etc/alternatives/vncviewer
oliver@ubuntuDesktop:~$ ls -lha /etc/alternatives/vncviewer
lrwxrwxrwx 1 root root 24 2012-04-07 14:35 /etc/alternatives/vncviewer -> /usr/bin/xtightvncviewer

So, vncviewer is just a placeholder in the system for whatever package you install that provides a vncviewer. In this case there is only one option xtightvncviewer.

There are several virtual packages. They are defined by the Provides: setting defined in other packages. The best list of virtual packages I found is this one: http://www.debian.org/doc/packaging-manuals/virtual-package-names-list.txt

Virtual packages are very useful for package maintainers. You can create your own package and say "If you want to use this package, you'll need another package that provides an ftp-server." The package doesn't care which one, as long as you installed a package that provides an ftp-server.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.