-   Linux - General (
-   -   ssh -X issues (

dcarrington 02-19-2013 01:31 PM

ssh -X issues
Ok...someone please help me...

I have spent all morning Googling and going through ever post, article, forum and everything else regarding this and have not yet found anything close.

All I'm trying to do is run an X-enabled ssh connection to a new server so that I can launch the graphical interface to my Red Hat Directory Server Console (redhat-idm-console).

xauth is installed and, so far as I can tell, everything should be set up correctly. However, I keep getting:


X connection to localhost:10.0 broken (explicit kill or server shutdown>
I have verified my DISPLAY variable, verified xauth, run "xhost +" and pretty much everything else that Google searches have turned up and it hasn't made a lick of difference.

I can't find anything in any log file that references this or that is throwing an error that can shed more light on this.

What am I missing? I can connect to any other server and run X-forwarded programs...just not this one.

Thanks for any advice!!

suicidaleggroll 02-19-2013 02:21 PM

Does that server have X forwarding disabled in sshd_config? If you're on the "bad" server, can you open X applications from the terminal? Can you ssh -X to localhost and open X applications?

dcarrington 02-19-2013 02:25 PM

X forwarding is enabled in sshd_config. I don't have GNOME Desktop install on my target server. We don't generally install GNOME or any other gui front-end. We typically just install the xorg-x11-xauth and other minimum packages to allow us to run X-enabled applications.

Not sure if that's what you're looking for or not.

linosaurusroot 02-19-2013 03:50 PM

You say you have verified DISPLAY... to what? Are you running commands directly as the user you logged in by ssh (no changes with su)?

All times are GMT -5. The time now is 03:08 PM.