My Oracle Support Banner

Oracle Linux 7: Running X-Window Graphical Applications Fail: Error: Can't Open display (Doc ID 2722696.1)

Last updated on DECEMBER 13, 2023

Applies to:

Linux OS - Version Oracle Linux 7.8 with Unbreakable Enterprise Kernel [4.14.35] and later
Oracle Cloud Infrastructure - Version N/A and later
Linux x86-64

Symptoms

A user logged into an Oracle Linux 7 (OL7) system via SSH wishing to display X-Window/Graphical applications is unable to do so. Attempting to run graphical applications fails e.g.:

 

Changes

The system was recently installed or upgraded to Oracle Linux 7 (OL7).

Cause

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
Symptoms
Changes
Cause
Solution
 Set the DISPLAY environment variable
 Configure sshd to enable X11


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