You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to Enable X11 Forwarding Over SSH on Oracle Linux 6 and 7

Closed
1
Views
0
Comments
edited Jun 30, 2022 1:55PM in Linux

The following instructions demonstrate how to enable X11 forwarding over SSH on systems running Oracle Linux 6 and 7, to display an X11 window on a different server.

To enable X11 Forwarding on a system running Oracle Linux (OL) 6 or 7, check if the xorg-x11-xauth package is installed. If it is not installed, run the following command to install it:

# yum install xorg-x11-xauth

Edit the file "/etc/ssh/ssh_config" and on the SSH server edit the file "/etc/ssh/sshd_config" and perform the following respective configuration changes.

For OL 6

X11 Forwarding:

  1. Uncomment the line "# ForwardX11".
  2. Change "ForwardX11 no" to "ForwardX11 yes.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!