My Oracle Support Banner

How to Configure xhost to be Persistent Across Linux Server Reboot (Doc ID 403917.1)

Last updated on MAY 28, 2021

Applies to:

Linux OS - Version 2.4 to 2.6
Oracle Cloud Infrastructure - Version N/A and later
Linux x86
Linux x86-64
Linux operating system


The xhost(1) command is the Linux X-Windows server access control program.
Depending on the arguments used, xhost grants or denies user/host access (connections) to the local X-server, thereby allowing or denying users/hosts the ability to display X-Windows-based applications e.g. xclock, Oracle Universal Installer (OUI), etc.
The purpose of this article is to describe how to configure xhost to be persistent across Linux server reboot, thereby ensuring that users/hosts may continue to display X-Windows applications without privileged user intervention.


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.