Monday, July 29, 2013

vnc server in Oracle Enterprise Linux 6.4

Introduction
 
In Oracle Enterprise Linux 6.4 (OEL 6.4) 64-bit edition , the installation of vnc server package (RPM) is not very straight forward. In the blog post, we will explain about all the RPMs required for setup of vncserver utility in OEL 6.4
 
The vnc and vnc-server RPMs are not enough
 
1) Login as root
2) yum install vnc (installs tigervnc RPM)
3) yum install vnc-server (installs tigervnc-server-module RPM)
4) vncserver   (Attempt to start vncserver service. But you will receive  vncserver: command not found error message)
 
The vnc and vnc-server RPMs alone are not sufficient.  You must also install tigervnc-server RPM explicity (the 3rd vnc server related RPM)
 
5) yum install tigervnc-server (This is the RPM that installs the vncserver utility in the path)
 
Conclusion
 
The yum utility seems to favor tigervnc  software by default as it automatically downloads and installs tigervnc.  As seen above, the number of RPMs needed for setting vncserver is not straightforward and you have to install the three RPMs above in that order.
 
 

6 comments:

Willieaames said...

I want to set up a vncserver on a generic/clean Centos or RH type Linux. I am working within the AWS EC2 infrastructure but that should not matter I believe.To make this effort succeed there are some prerequisites we need to help us run the vnc session i.e., X Windows.I've installed all the usual packages, facilitated by yum, and followed every bit of advice I can find on the internet. I have tried all the advices and tips on the internet about installing fonts, creating links, renaming x,y and z to no avail. How can I get it to work? what if i want to sync servers with tiger vpn?
http://www.bestvpnservice.com/tigervpn/

Willieaames said...

I want to set up a vncserver on a generic/clean Centos or RH type Linux.
I am working within the AWS EC2 infrastructure but that should not
matter I believe.To make this effort succeed there are some
prerequisites we need to help us run the vnc session i.e., X
Windows.I've installed all the usual packages, facilitated by yum, and
followed every bit of advice I can find on the internet. I have tried
all the advices and tips on the internet about installing fonts,
creating links, renaming x,y and z to no avail. How can I get it to
work? what if i want to sync servers with tiger vpn?
http://www.bestvpnservice.com/tigervpn/

Willieaames1 said...

I want to set up a vncserver on a generic/clean Centos or RH type Linux.
I am working within the AWS EC2 infrastructure but that should not
matter I believe.To make this effort succeed there are some
prerequisites we need to help us run the vnc session i.e., X
Windows.I've installed all the usual packages, facilitated by yum, and
followed every bit of advice I can find on the internet. I have tried
all the advices and tips on the internet about installing fonts,
creating links, renaming x,y and z to no avail. How can I get it to
work? what if i want to sync servers with tiger vpn?

Srinivas Ramineni said...

William

Can you share your email address. I will send you some checklists on how to get VNCServer setup successfully in Linux servers. It should work with CentOS as well.

I have got it successfully set up in Linux 6.4 and 6.5, both Oracle Enterprise Linux and Redhat Enterprise Linux

-Srini

Jason said...

Srinivas: Would you be willing to share your checklists?

Srinivas Ramineni said...

Jason, What exactly the checklists you are talking about ? Can you send an email to info AT dbauniversity DOT com