My Oracle Support Banner

Oracle Linux: How to Configure, Manage and Secure User Access to the Linux X Server (Doc ID 459029.1)

Last updated on OCTOBER 17, 2022

Applies to:

Oracle Cloud Infrastructure - Version N/A and later
Linux OS - Version 2.6.9 to 2.6.18-128
Linux Itanium
Linux x86
Linux x86-64

Goal

The purpose of this article is to explain and describe how to configure, manage and secure user access to the X server running on Linux. The article is intended for Linux System Administrators wishing to selectively allow only named user access to the local X server.

All excerpts and examples provided are based on Oracle Linux 4 (OL4U4), but similarly apply to Red Hat/Oracle Linux 5 (RH/OL5) with only minor modification. The following OL4 X-related (xorg) packages and versions happened to be used:

 

Solution

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
Goal
Solution
 1. Introduction
 2. xhost
 3. xhost and Remote Connectivity to the X Server
 4. Limitations of xhost
 5. xhost Persistency
 6. xauth
 7. xauth by Example
 8. Limitations of xauth
 9. xauth Persistency
 9.1 ACL
 9.2 Explicit Grant of MIT-MAGIC-COOKIE-1
 10. Ssh - a Supplement to xhost/xauth
 11. Summary
References

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