Wednesday, May 14, 2014

X11 forwarding on RHEL 6

In order to get X11 forwarding working properly on a RHEL 6 server make sure the following options are installed and configured:


  • Install the following package - xorg-x11-xauth.x86_64:
sudo yum install xorg-x11-xauth


  • Make sure sshd has X11 forwarding enabled by editing /etc/ssh/sshd_config:
X11Forwarding yes


  • Log into the server with the X11 Forwarding option:
ssh -X server.example.com


  • Verify X11 is working after you log in:

[jemurray@server01 ~]$ echo $DISPLAY

localhost:10.0








No comments:

Post a Comment

Followers