Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 02-19-2013, 01:31 PM   #1
Registered: Dec 2011
Distribution: RHEL, CentOS, Ubuntu
Posts: 60

Rep: Reputation: 2
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!!
Old 02-19-2013, 02:21 PM   #2
LQ Guru
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,569

Rep: Reputation: 2129Reputation: 2129Reputation: 2129Reputation: 2129Reputation: 2129Reputation: 2129Reputation: 2129Reputation: 2129Reputation: 2129Reputation: 2129Reputation: 2129
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?
Old 02-19-2013, 02:25 PM   #3
Registered: Dec 2011
Distribution: RHEL, CentOS, Ubuntu
Posts: 60

Original Poster
Rep: Reputation: 2
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.
Old 02-19-2013, 03:50 PM   #4
Registered: Oct 2012
Distribution: OpenSuSE,RHEL,Fedora,OpenBSD
Posts: 982
Blog Entries: 2

Rep: Reputation: 244Reputation: 244Reputation: 244
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)?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with Ubuntu server remote ssh and local network ssh issues using putty. scottpops Linux - Server 8 05-17-2012 05:07 PM
issues with ssh login kirtikjr Linux - Server 5 08-04-2011 12:35 AM
SSH issues theoneandonly19 Red Hat 18 07-01-2007 07:18 PM
SSH connectivity issues wvrhlu Linux - Software 11 04-01-2003 08:59 PM
ssh issues cuss Linux - Security 9 12-19-2002 11:52 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:33 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration