How to uninstall vnc

soolan

New Member
Joined
Jan 13, 2023
Messages
24
Reaction score
1
Credits
236
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:
[[email protected] ~]# rpm -aq |grep vnc
[[email protected] ~]#

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

Code:
[[email protected] ~]# service vncserver status
vncserver: unrecognized service
[[email protected] ~]#
 


dos2unix

Well-Known Member
Joined
May 3, 2019
Messages
1,783
Reaction score
1,384
Credits
11,976
What is output of...

yum list installed | grep vnc
 

sphen

Well-Known Member
Joined
Dec 12, 2022
Messages
621
Reaction score
553
Credits
7,162
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
5,925
Reaction score
4,414
Credits
43,540
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
9,043
Reaction score
7,693
Credits
73,791
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
5,925
Reaction score
4,414
Credits
43,540
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
9,043
Reaction score
7,693
Credits
73,791
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

New Member
Joined
Jan 13, 2023
Messages
24
Reaction score
1
Credits
236
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

New Member
Joined
Jan 13, 2023
Messages
24
Reaction score
1
Credits
236
Code:
[[email protected]]# 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
[[email protected]]#

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
5,925
Reaction score
4,414
Credits
43,540
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

New Member
Joined
Jan 13, 2023
Messages
24
Reaction score
1
Credits
236
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
5,925
Reaction score
4,414
Credits
43,540
MALIBAL Linux Laptops

Linux Laptops Custom Built for You
MALIBAL is an innovative computer manufacturer that produces high-performance, custom laptops for Linux.

For more info, visit: https://www.malibal.com


Top