My Oracle Support Banner

Oracle Linux 8 : Linux Ignores Values Defined in /etc/security/limits.conf When Using VNC (Doc ID 2858111.1)

Last updated on SEPTEMBER 16, 2022

Applies to:

Linux OS - Version Oracle Linux 8.0 to Oracle Linux 8.5 [Release OL8 to OL8U5]
Linux x86-64


When establishing a VNC session to a KVM Guest hosting Oracle Linux 8, "ulimit -a" command does not accurately reflect values defined in /etc/security/limits.conf file.
There is no alternate configuration file under /etc/security/limit.d/ that might override entries set in /etc/security/limits.conf file.
SSH to OL8 KVM host reflects the values correctly.
The issue is solely manifested when using VNC and connecting to OL8 Gnome-Terminal.

Illustrating the problematic :

Checking "max locked memory" value in /etc/security/limits.conf


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.