Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.
root@host [/tmp]#  yum install vnc-server
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
 * base: mirror.sanctuaryhost.com
 * extras: mirror.ubiquityservers.com
 * updates: mirror.ubiquityservers.com
Setting up Install Process
Package tigervnc-server-module-1.0.90-0.17.20110314svn4359.el6.x86_64 already installed and latest version
Nothing to do

Yet when I run rpm -q vnc-server I get:

root@host [/tmp]# rpm -q vnc-server
package vnc-server is not installed
root@host [/tmp]#

I am following instruction here

share|improve this question
I hope you should first run the following and check if the package is available in you repo configured on your server yum search vnc-server tigervnc-server.x86_64 : A TigerVNC server tigervnc-server-applet.noarch : Java TigerVNC viewer applet for TigerVNC server tigervnc-server-module.x86_64 : TigerVNC module to Xorg you should get something like this out put then go ahead and install with "yum install tigervnc-server.x86_64" . Hope this helps. –  PratapSingh Dec 27 '12 at 13:35
add comment

3 Answers

up vote 6 down vote accepted

RPM packages have a way of indicating what exactly they provide as part of their installation. These "provides" are usually calculated automatically, but can also be added manually by the packager. Usually, this is done in order to satisfy generic dependencies -- for example, some packages may require a way to send mail, but they don't really care whether you run postfix, sendmail, exim, or whatever. To solve this problem, packages that provide mail transport capabilities have a generic "Provides: MTA".

You can check on your system:

yum provides MTA

You will see that this returns exim, postfix, and sendmail. When multiple packages provide a generic functionality such as "vnc server", they can include that as part of their "manual provides." In our case:

yum provides vnc-server

This will return several hits, of which tigervnc-server is one.

You can list all "provides" in a package by using rpm -q --provides. E.g.:

# rpm -q --provides tigervnc-server
config(tigervnc-server) = 1.1.0-6.1.fc17
tightvnc-server = 1.5.0-0.15.20090204svn3586
vnc-libs = 4.1.3-2
vnc-server = 4.1.3-2
tigervnc-server = 1.1.0-6.1.fc17
tigervnc-server(x86-64) = 1.1.0-6.1.fc17
share|improve this answer
add comment

vnc-server is not the actual package name, but an alias for tigervnc-server-module (which yum says is already installed). I do not know exactly where this alias is defined, but I assume it is a yum repository thing that the rpm program does not know anything about.

share|improve this answer
It's included as part of manual "provides" for an RPM package. Check with rpm -q --provides tigervnc-server. –  mricon Dec 27 '12 at 14:23
add comment
[root@dunno ~]# yum list vnc\*
Loaded plugins: changelog, downloadonly, product-id, refresh-packagekit, rhnplugin,         subscription-manager, tmprepo, verify, versionlock
Updating Red Hat repositories.
Available Packages
vnc-ltsp-config.noarch                                                                      4.0-7.fc12                                                                        fedora
vnc-reflector.i686                                                                     1.2.4-7.fc12                                                                      fedora
vnc2swf.x86_64                                                                         0.5.0-2.el6.rf                                                                    rpmforge
vncreflector.x86_64                                                                    1.2.4-0.2.el6.rf                                                                  rpmforge

[root@dunno ~]# yum list tiger\*
Loaded plugins: changelog, downloadonly, product-id, refresh-packagekit, rhnplugin,  subscription-manager, tmprepo, verify, versionlock
Updating Red Hat repositories.
Installed Packages
tigervnc.x86_64                                                1.0.90-        0.15.20110314svn4359.el6_1.1                                  @production-rhel-x86_64-            workstation-6
tigervnc-server.x86_64                                         1.0.90-  0.15.20110314svn4359.el6_1.1                                  @production-rhel-x86_64-     workstation-6
 Available Packages
 tiger.i686                                                     3.2.1-11.fc12                                                          fedora
 tigervnc.i686                                                  1.0.90-  0.8.20100219svn3993.fc13                                      fedora
tigervnc.x86_64                                                1.0.90-0.17.20110314svn4359.el6                                      production-rhel-x86_64-  workstation-6
 tigervnc-server.i686                                           1.0.90-  0.8.20100219svn3993.fc13                                      fedora
tigervnc-server.x86_64                                         1.0.90-0.17.20110314svn4359.el6                                      production-rhel-x86_64-  workstation-6
 tigervnc-server-applet.noarch                                  1.0.90-  0.17.20110314svn4359.el6                                      production-rhel-x86_64-  workstation-optional-6
 tigervnc-server-module.i686                                    1.0.90-0.8.20100219svn3993.fc13                                      fedora
 tigervnc-server-module.x86_64                                  1.0.90- 0.17.20110314svn4359.el6                                      production-rh

So, you need to do this.

yum install -y tigervnc.x86_64
share|improve this answer
Darn, I can't get the formatting correct –  Soham Chakraborty Dec 27 '12 at 14:21
Sorry, I don't follow. Why do I have to do yum install -y tigervnc.x86_64 –  Sharen Eayrs Dec 27 '12 at 14:22
Erm. because it is the package name. You are asking for an installation of vnc-server and this is the package that provides it. If you do yum info tigervnc.x86_64 you will get more information –  Soham Chakraborty Dec 27 '12 at 14:24
add comment

Your Answer


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.