LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to check if VNC is installed on RHEL 7? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-check-if-vnc-is-installed-on-rhel-7-a-4175662512/)

kragha1 10-14-2019 10:06 AM

How to check if VNC is installed on RHEL 7?
 
I need to find out if a server has the VNC installed on it.

smallpond 10-14-2019 10:31 AM

In a terminal window:

Code:

rpm -qa |grep -i vnc
Some popular VNC servers are tigervnc and x11vnc.

kragha1 10-14-2019 10:40 AM

Thank you for the solution.
I executed the cmd and i see no output. Does that mean I don't have a vnc installed?
How would i install a VNC?

TB0ne 10-14-2019 10:59 AM

Quote:

Originally Posted by kragha1 (Post 6046805)
Thank you for the solution.
I executed the cmd and i see no output. Does that mean I don't have a vnc installed?
How would i install a VNC?

Correct, you don't have VNC installed. The first question I'd ask is "Why?" Using VNC isn't too good of a thing, and there are VERY few instances where you need an entire desktop, rather than just using SSH and the CLI to do server administration. You can even run X applications remotely using X forwarding, and have a much more secure system...not really a need for VNC.

If you'd like to, there is a complete how-to: https://access.redhat.com/solutions/966063

Since you're paying for RHEL (RIGHT???) you can access that knowledgebase article and if you need assistance, Red Hat support can help.

kragha1 10-14-2019 11:03 AM

I'm trying to install an Oracle application on the server and these were the instructions provided by oracle support :

The Oracle Application Testing Suite Linux installer is based on the Oracle Universal Installer (OUI) which requires UI based access. To install the Oracle Application Testing Suite server components on Linux you will need to access XTerm. XTerm, most typically, can be accessed over VNC.

TB0ne 10-14-2019 11:20 AM

Quote:

Originally Posted by kragha1 (Post 6046814)
I'm trying to install an Oracle application on the server and these were the instructions provided by oracle support :

The Oracle Application Testing Suite Linux installer is based on the Oracle Universal Installer (OUI) which requires UI based access. To install the Oracle Application Testing Suite server components on Linux you will need to access XTerm. XTerm, most typically, can be accessed over VNC.

Again: X applications can be run over SSH, WITHOUT THE NEED FOR VNC. Also, Xterm is only a terminal session...same as you would get via SSH or at the console.

And again, since you're using RHEL (and now mention Oracle), you are in a very well supported configuration....have you contacted the support at RHEL or Oracle that you're PAYING FOR?? Note that if you're not paying for RHEL, installing anything is going to be much more difficult, since you won't have access to the online repositories.

kragha1 10-14-2019 11:23 AM

The oracle application i'm installing is a freebie.So i do not have support.

TB0ne 10-14-2019 12:11 PM

Quote:

Originally Posted by kragha1 (Post 6046824)
The oracle application i'm installing is a freebie.So i do not have support.

Oh? What is this application???

And go back and re-read what was posted previously. Again: Xterm is only a terminal emulator; you get the same thing if you SSH into the system as you do with Xterm...and AGAIN, you can run Xterm over SSH. Beyond all that, if you want to install VNC, you read the article you were given a link to, and use the RHEL support that you're paying for to get help if you need it. Simple.

AGAIN: RHEL and/or Oracle are *NOT FREE*...they are commercial products. Even if the application you're installing is free, you *WILL NOT* be able to install packages on RHEL easily, without the online repositories.

berndbausch 10-14-2019 07:08 PM

Quote:

Originally Posted by kragha1 (Post 6046805)
Thank you for the solution.
I executed the cmd and i see no output. Does that mean I don't have a vnc installed?
How would i install a VNC?

While TB0ne has provided a few solutions, perhaps a summary may help.

While I don't know anything about your application, it is highly unlikely that you need xterm. Most probably, any terminal software is fine, including a terminal emulator running on your PC that uses SSH to connect to the server, e.g. Putty or MobaXterm. These two have xterm modes, as far as I know. Probably the easiest solution.

If you absolutely need xterm in an X environment, you can also run and display an xterm on your PC by creating an SSH tunnel to the server. I think both Putty and MobaXterm support that.
Prerequisite: You will first have to install GUI software (desktop software) on the RHEL server, e.g. yum groupinstall gnome.

If you insist on VNC, you need a VNC server on the RHEL system. However, without VNC client, a VNC server is fairly useless, and you need a VNC client on your PC as well. There are many options depending on the type of PC you are using.
Here as well, desktop software is required on your RHEL server.

Red Hat documents VNC server installation and configuration rather well. See for example https://access.redhat.com/solutions/966063 (I can't read that, since I don't have an active Red Hat account), and the chapter from the sysadmin guide https://access.redhat.com/documentat...de/ch-tigervnc.


All times are GMT -5. The time now is 04:50 PM.