Skip to content

Instantly share code, notes, and snippets.

@yuvalif
Created August 8, 2018 06:02
Show Gist options
  • Save yuvalif/202370f0f6d7847b6b68fabd3ef289a1 to your computer and use it in GitHub Desktop.
Save yuvalif/202370f0f6d7847b6b68fabd3ef289a1 to your computer and use it in GitHub Desktop.

Install remote viewer:

yum install virt-viewer

Configure sshd to allow for X11 forwarding:

vi /etc/ssh/sshd_config

And make sure that:

X11Forwarding yes
X11UseLocalhost no

Reload sshd:

systemctl reload sshd

Install xauth:

yum install xauth

When connectting using ssh, add the -X flag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment