[CentOS] minimal X applications needed to export to remote server?

Fri Aug 16 15:31:05 UTC 2013
Kwan Lowe <kwan.lowe at gmail.com>

On Fri, Aug 16, 2013 at 11:17 AM, Joseph Spenner <joseph85750 at yahoo.com> wrote:
> In the past, on previous installations, I could ssh to the bacula server with the -X option, and run the application (called 'bat'), and it would display back.  I'd have to make sure the sshd_config permits Xforwarding, but that was all.
> On my new CentOS 6.4 minimal, I always get:
> bat: cannot connect to X server
> I tried the usual tricks of exporting the display to my system where I want to see the GUI, which shouldn't be necessary anyway due to the 'ssh -X', but I thought I'd give it a shot.  Still no go.

You've probably already checked, but does the sshd_config deny X11 forwarding?

Did you allow the remote via xhost on your local X server?

Does your desktop require x11 magic cookies or other auth mechanism?

> I figured something was missing, since it is a minimal install, with no X.   So I installed 'xlogo', thinking maybe all the X stuff needed to display that would be installed.  By installing xlogo, I got a bunch of X stuff, including:

You can test by temporarily installing tigervnc-server on the remote
and connecting. If you can run it there it should work remotely.