Ssh – How to configure RHEL so users can access an app GUI remotely

graphical-user-interfaceredhatremote-accesssshx11

I have an application installed in my RHEL6 box that has a GUI (AppGui.sh). My problem is that a few non-tech users would like to access this GUI remotely. I've tried several guides over the internet but I still cant make it work.

I tried:
-Installing X Window System
-Enabling FORWARDX11=yes in my sshd_config
-Exporting $DISPLAY variable
-Connecting through ssh -X user@host (simply stays there)

How can I setup my box from scratch to make this work?

Best Answer

You could do this the easy way with NoMachine (NX). It's basically compressed X11 over SSH. So all you'll need on the remote side is a client (Mac, Windows, Linux) and to install a server piece on the RHEL6 box you're trying to connect to.

Anything else if going to be a bit slow (raw X11 forwarding), choppy (VNC) or a pain to setup (what you're going through now).