Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to check which version of vncserver I am using in my linux box. What is the command for that?

When I run

which vncserver 

I get


P.S: I am running Red Hat Enterprise Linux Server release 5.8 (Tikanga)

share|improve this question

Use this command

rpm -qa | grep tigervnc-server 
share|improve this answer

To find out from what package (and version) a file comes, you can do rpm -qf /usr/bin/vncserver, see the manual for rpm(1). But note that RHEL (as do all enterprisey distributions) selects a base version, and keep that one whatever may come during the RHEL 5.x series in this particular case. The base software is patched with backports for new features (where relevant), bug fixes and whatnot. So don't be surprised if you see a version reported that won the all-time CVE popularity contest, what you are running is not that one.

Check the reports for RHEL updates, I believe they either send them to all users, are available on a (read-only) mailing list, and on their website.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .