How To Install tigervnc-server on Rocky Linux 8

In this tutorial we learn how to install tigervnc-server on Rocky Linux 8. tigervnc-server is A TigerVNC server

Introduction

In this tutorial we learn how to install tigervnc-server on Rocky Linux 8.

What is tigervnc-server

The VNC system allows you to access the same desktop from a wide variety of platforms. This package includes set of utilities which make usage of TigerVNC server more user friendly. It also contains x0vncserver program which can export your active X session.

We can use yum or dnf to install tigervnc-server on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install tigervnc-server.

Install tigervnc-server on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install tigervnc-server using dnf by running the following command:

sudo dnf -y install tigervnc-server

Install tigervnc-server on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install tigervnc-server using yum by running the following command:

sudo yum -y install tigervnc-server

How To Uninstall tigervnc-server on Rocky Linux 8

To uninstall only the tigervnc-server package we can use the following command:

sudo dnf remove tigervnc-server

tigervnc-server Package Contents on Rocky Linux 8

/etc/pam.d/tigervnc
/etc/tigervnc/vncserver-config-defaults
/etc/tigervnc/vncserver-config-mandatory
/etc/tigervnc/vncserver.users
/usr/bin/vncserver
/usr/bin/x0vncserver
/usr/lib/.build-id
/usr/lib/.build-id/04
/usr/lib/.build-id/04/357e64e289aa221d7fd85f3bd847d8bf7e393f
/usr/lib/.build-id/bb
/usr/lib/.build-id/bb/59cf43b4ba65401fe2bc16ed52fa9eaf2ca06e
/usr/lib/systemd/system/[email protected]
/usr/lib/systemd/system/xvnc.socket
/usr/lib/systemd/system/[email protected]
/usr/libexec/vncserver
/usr/libexec/vncsession-start
/usr/sbin/vncsession
/usr/share/doc/tigervnc/HOWTO.md
/usr/share/man/man1/x0vncserver.1.gz
/usr/share/man/man8/vncserver.8.gz
/usr/share/man/man8/vncsession.8.gz

References

Summary

In this tutorial we learn how to install tigervnc-server on Rocky Linux 8 using yum and dnf.