Error: Can't open display: hostname:x.y when running xclock (Doc ID 2160728.1)

Last updated on OCTOBER 11, 2016

Applies to:

Linux OS - Version Oracle Linux 5.0 and later
Linux x86-64
Linux x86

Symptoms

Unable to launch xclock window using the below command for one particular normal user. Xclock is fine with the root user.

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms