My Oracle Support Banner

Oracle Linux: xclock Fails to Start after Switching between Users (Doc ID 2608777.1)

Last updated on MAY 22, 2023

Applies to:

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


xclock is failing to start when running it as a normal user coming from a root user (using sudo or su).

Sample output:

[user@hostname ~]$ xclock

Error: can't open display



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.