How to uninstall vnc

soolan

Member
Joined
Jan 13, 2023
Messages
38
Reaction score
4
Credits
375
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 ~]#
 


dos2unix

Well-Known Member
Joined
May 3, 2019
Messages
1,917
Reaction score
1,516
Credits
13,190
What is output of...

yum list installed | grep vnc
 

sphen

Well-Known Member
Joined
Dec 12, 2022
Messages
868
Reaction score
750
Credits
10,394
Why does the security team say that VNC is still active? Could it be as simple as open firewall ports that they notice?
 

f33dm3bits

Gold Member
Gold Supporter
Joined
Dec 11, 2019
Messages
6,259
Reaction score
4,732
Credits
45,987
If there are no packages installed on the system with the name "tigervnc" vnc is not installed.
 
Last edited:

KGIII

Super Moderator
Staff member
Gold Supporter
Joined
Jul 23, 2020
Messages
10,155
Reaction score
8,721
Credits
84,086
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.
 

f33dm3bits

Gold Member
Gold Supporter
Joined
Dec 11, 2019
Messages
6,259
Reaction score
4,732
Credits
45,987
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:

KGIII

Super Moderator
Staff member
Gold Supporter
Joined
Jul 23, 2020
Messages
10,155
Reaction score
8,721
Credits
84,086
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.)
 
OP
S

soolan

Member
Joined
Jan 13, 2023
Messages
38
Reaction score
4
Credits
375
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?
 
OP
S

soolan

Member
Joined
Jan 13, 2023
Messages
38
Reaction score
4
Credits
375
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
 

f33dm3bits

Gold Member
Gold Supporter
Joined
Dec 11, 2019
Messages
6,259
Reaction score
4,732
Credits
45,987
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
 
OP
S

soolan

Member
Joined
Jan 13, 2023
Messages
38
Reaction score
4
Credits
375
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
 

f33dm3bits

Gold Member
Gold Supporter
Joined
Dec 11, 2019
Messages
6,259
Reaction score
4,732
Credits
45,987

Members online


Top