Install and configure vnc server centos 6.3

Posted on 2012-08-15
Medium Priority
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

Expert Comment

ID: 38298693
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

jools earned 2000 total points
ID: 38304135
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: builder17.centos.org
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         : http://www.realvnc.com
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

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you’re involved with your company’s wide area network (WAN), you’ve probably heard about SD-WANs. They’re the “boy wonder” of networking, ostensibly allowing companies to replace expensive MPLS lines with low-cost Internet access. But, are they …
This article explains the fundamentals of industrial networking which ultimately is the backbone network which is providing communications for process devices like robots and other not so interesting stuff.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), 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…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
Suggested Courses

749 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