Install and configure vnc server centos 6.3

Posted on 2012-08-15
Last Modified: 2012-09-17
I need to install and configure vnc server on centos 6.3 using the command line interface. Thanks.

Update: I found these instructions:

I ran "sudo yum install vnc-server" which completed successfully. But then I did a find for "vncpasswd" and I couldn't locate it on the filesystem.
Question by:opike
    LVL 3

    Expert Comment

    You may have an easier time installing NX and using that instead of VNC.  

    The vncpasswd command may not show if your are trying from a normal user account.  Run su - to elevate yourself to root and try again, or run sudo /usr/bin/vncpasswd
    LVL 19

    Accepted Solution

    Granted this is an old Centos 5x box but to check stuff I do this;

    # rpm -qa | grep vnc
    # rpm -qvif $(which vncpasswd)
    Name        : vnc-server                   Relocations: (not relocatable)
    Version     : 4.1.2                             Vendor: CentOS
    Release     : 14.el5_5.4                    Build Date: Tue 27 Jul 2010 03:35:36 PM BST
    Install Date: Fri 30 Jul 2010 05:21:09 PM BST      Build Host:
    Group       : User Interface/X              Source RPM: vnc-4.1.2-14.el5_5.4.src.rpm
    Size        : 5247106                          License: GPL
    Signature   : DSA/SHA1, Tue 27 Jul 2010 04:06:21 PM BST, Key ID a8a447dce8562897
    URL         :
    Summary     : A VNC server.
    Description :
    The VNC system allows you to access the same desktop from a wide
    variety of platforms.  This package is a VNC server, allowing others
    to access the desktop on your machine.

    Open in new window

    So it looks like vncpasswd is part of the server package in 5.x you can use `yum whatprovides */vncpasswd` to find out what package it's in for Centos 6.x just incase it moved to the main vnc package...

    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    Join & Write a Comment

    At the beginning of the year, the IT world was taken hostage by the shareholders of LogMeIn. Their free product, which had been free for ten years, all of the sudden became a "pay" product. Now, I am the first person who will say that software maker…
    #Citrix #Citrix Netscaler #HTTP Compression #Load Balance
    How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…
    After creating this article (, I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    24 Experts available now in Live!

    Get 1:1 Help Now