Until OL7, running command “vncserver” creates a vnc session but in OL8 it gives the following message. The way of configuring VNC has changed from Oracle Linux 8 onwards.
#Vnc server config install#
# dnf install gnome-autoar.x86_64 gnome-bluetooth.x86_64 gnome-bluetooth-libs.x86_64 gnome-boxes.x86_64 gnome-calculator.x86_64 gnome-characters.x86_64 gnome-classic-session.noarch gnome-color-manager.x86_64 gnome-control-center.x86_64 gnome-control-center-filesystem.noarch gnome-desktop3.x86_64 gnome-disk-utility.x86_64 gnome-font-viewer.x86_64 gnome-getting-started-docs.noarch gnome-initial-setup.x86_64 gnome-keyring.x86_64 gnome-keyring-pam.x86_64 gnome-logs.x86_64 gnome-menus.x86_64 gnome-online-accounts.x86_64 gnome-remote-desktop.x86_64 gnome-screenshot.x86_64 gnome-session.x86_64 gnome-session-wayland-session.x86_64 gnome-session-xsession.x86_64 gnome-settings-daemon.x86_64 gnome-shell.x86_64 gnome-shell-extension-apps-menu.noarch gnome-shell-extension-common.noarch gnome-shell-extension-desktop-icons.noarch gnome-shell-extension-horizontal-workspaces.noarch gnome-shell-extension-launch-new-instance.noarch gnome-shell-extension-places-menu.noarch gnome-shell-extension-window-list.noarch gnome-software.x86_64 gnome-system-monitor.x86_64 gnome-terminal.x86_64 gnome-terminal-nautilus.x86_64 gnome-themes-standard.x86_64 gnome-user-docs.noarch gnome-video-effects.noarchģ. Accept the dependencies and proceed with installation. The first is the system configuration file, /etc/vnc/config, and the second is the user's configuration file, HOME/. By default, vncserver reads in two configuration files each time it is run. For demonstration purpose we will use two linux systems. vncserver allows users to configure their VNC desktops using configuration files.
![vnc server config vnc server config](https://i.stack.imgur.com/562pO.png)
#Vnc server config how to#
In this tutorials I will show you how to configure vnc server. To share desktop you need vnc-server package and to access from other computers you need vnc-viewer. For those requiring an argument, simply separate the option from the argument with an equal sign, for example: 'geometry2000x1200' or 'securitytypesvncauth,tlsvnc'. Install the required gnome RPM packages with the following command. VNC server is a used to share desktop with remote computer. An optional server config file wherein options to be passed to Xvnc are listed to avoid hard-coding them to the physical invocation.