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.

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

/usr/bin/vncserver

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

share|improve this question

2 Answers 2

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

Use this command

rpm -qa | grep tigervnc-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.