How to uninstall vnc

soolan

Member
Joined
Jan 13, 2023
Messages
66
Reaction score
4
Credits
626
Hello
I deleted vnc completely. I stopped the services.

But security team it says vnc is still active. How else can I control

OS : oracle linux 6.9

Code:
[root@soolean ~]# rpm -aq |grep vnc
[root@soolean ~]#

Code:
[root@soolean ~]# vncserver
-bash: vncserver: command not found
You have mail in /var/spool/mail/root
[root@soolean ~]# vncpasswd
-bash: vncpasswd: command not found
[root@soolean ~]#

Code:
[root@soolean ~]# service vncserver status
vncserver: unrecognized service
[root@soolean ~]#
 


What is output of...

yum list installed | grep vnc
 
Why does the security team say that VNC is still active? Could it be as simple as open firewall ports that they notice?
 
If there are no packages installed on the system with the name "tigervnc" vnc is not installed.
 
Last edited:
If there are no packages installed in the system with the name "tigervnc" vnc is not installed.

I'm confused. Can you elaborate?

My confusion lies with there being a whole variety of VNC offerings that I don't think would require 'tigervnc'-named packages. There's everything from XVNC to RealVNC.
 
I'm confused. Can you elaborate?

My confusion lies with there being a whole variety of VNC offerings that I don't think would require 'tigervnc'-named packages. There's everything from XVNC to RealVNC.
OP is using Oracle Linux 6, which is based on RHEL6, since RHEL6 is end of life it won't be in the EPEL6 repo because that repo has been made in active and in the active RHEL versions it isn't in the EPEL repos either. So if it is installed it will most likely be installed from the default repos and on all the last few Rhel versions I've seen if something with vnc is installed it was tigervnc-sever and even the RHEL7 documentation still mentions it.
 
Last edited:
it will most likely be installed from the default repos

Ah, yeah, that's a pretty good assumption.

(I'm more of a RealVNC kinda guy, even though it's proprietary.)
 
What is output of...

yum list installed | grep vnc
Code:
gtk-vnc.x86_64                       0.3.10-3.el6             installed
libvncserver.x86_64                  0.9.7-7.el6_6.1          @public_ol6_latest

Do you mind if I remove these two packages?
 
Code:
[root@soolean]# rpm -e tigervnc-server-minimal-1.11.0-9.el8.x86_64
error: Failed dependencies:
        tigervnc-server-minimal is needed by (installed) anaconda-gui-33.16.5.6-1.0.1.el8.x86_64
[root@soolean]#

Why can't I uninstall the package? anaconda-gui this package is not related to visual interface? i use gui
 
Why do you have el8 repos acitvated on an el6 system? Why are you trying to remove something that is not installed on your system? In post #9 you share what packages with vnc are installed on your system, it shows that tigervnc-server-minimal is not installed? Can you share the output of the following?
Code:
yum repolist
yum list installed | grep el8
If vnc packages need to be removed you can just run the following.
Code:
yum remove gtk-vnc libvncserver
 
Why do you have el8 repos acitvated on an el6 system? Why are you trying to remove something that is not installed on your system? In post #9 you share what packages with vnc are installed on your system, it shows that tigervnc-server-minimal is not installed? Can you share the output of the following?
Code:
yum repolist
yum list installed | grep el8
If vnc packages need to be removed you can just run the following.
Code:
yum remove gtk-vnc libvncserver
sorry

tihs another server. Os version oracle linux 8.6
 

Members online


Top