LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-14-2019, 10:06 AM   #1
kragha1
LQ Newbie
 
Registered: Oct 2019
Posts: 4

Rep: Reputation: Disabled
Question How to check if VNC is installed on RHEL 7?


I need to find out if a server has the VNC installed on it.
 
Old 10-14-2019, 10:31 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,126

Rep: Reputation: 1260Reputation: 1260Reputation: 1260Reputation: 1260Reputation: 1260Reputation: 1260Reputation: 1260Reputation: 1260Reputation: 1260
In a terminal window:

Code:
rpm -qa |grep -i vnc
Some popular VNC servers are tigervnc and x11vnc.
 
1 members found this post helpful.
Old 10-14-2019, 10:40 AM   #3
kragha1
LQ Newbie
 
Registered: Oct 2019
Posts: 4

Original Poster
Rep: Reputation: Disabled
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?
 
Old 10-14-2019, 10:59 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,553

Rep: Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946
Quote:
Originally Posted by kragha1 View Post
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.
 
1 members found this post helpful.
Old 10-14-2019, 11:03 AM   #5
kragha1
LQ Newbie
 
Registered: Oct 2019
Posts: 4

Original Poster
Rep: Reputation: Disabled
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.
 
Old 10-14-2019, 11:20 AM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,553

Rep: Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946
Quote:
Originally Posted by kragha1 View Post
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.
 
Old 10-14-2019, 11:23 AM   #7
kragha1
LQ Newbie
 
Registered: Oct 2019
Posts: 4

Original Poster
Rep: Reputation: Disabled
The oracle application i'm installing is a freebie.So i do not have support.
 
Old 10-14-2019, 12:11 PM   #8
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,553

Rep: Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946
Quote:
Originally Posted by kragha1 View Post
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.
 
Old 10-14-2019, 07:08 PM   #9
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by kragha1 View Post
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.

Last edited by berndbausch; 10-14-2019 at 08:30 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Two Methods To Check Or List Installed Security Updates on Redhat (RHEL) And CentOS System LXer Syndicated Linux News 0 05-30-2019 06:52 PM
How to install the bootparamd package or check if it is installed on rhel 7? jmfrank63 Red Hat 1 10-17-2015 11:25 AM
Check installed license in RHEL 5.5 lancedehm Red Hat 1 07-08-2010 11:59 AM
Partition check, check double check Vincentius Linux - General 0 12-25-2004 05:47 AM
Boot disk; check. CD in drive; check. Doesn't work; check. Hal DamnSmallLinux 7 02-04-2004 02:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration