Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-20-2016, 02:00 PM   #1
LQ Newbie
Registered: Jan 2016
Posts: 2

Rep: Reputation: Disabled
Problem with displaying xgterm when ssh'ing (X11 forwarding seems to work fine)

Hi guys,
I'm not sure where to post this, and since this is my first post, I've started here. I've long visited these forums to solve problems - successfully implementing solutions given to others with similar problems, but this one, I can't figure out.

When I am ssh'ing to my machine from another one, I get an error when I try to run "xgterm".
Here's the error:
_X11TransSocketINETConnect: Can't get address for localhostxgterm Xt error: Can't open display: localhost:10.0

When I've done xterm or xclock or xeyes, it happily opens up each one of these and displays them on my screen, which leads me to believe x11 forwarding is working correctly. But not for xgterm for some reason.

xgterm works fine on my machine when I'm physically on it, just not when it is being ssh'd into by another machine. My machine is using Ubuntu 14.04.3 LTS

Any advice?
Old 01-20-2016, 07:22 PM   #2
Senior Member
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,707

Rep: Reputation: 1270Reputation: 1270Reputation: 1270Reputation: 1270Reputation: 1270Reputation: 1270Reputation: 1270Reputation: 1270Reputation: 1270
Perhaps this:
1 members found this post helpful.
Old 01-25-2016, 09:41 AM   #3
LQ Newbie
Registered: Jan 2016
Posts: 2

Original Poster
Rep: Reputation: Disabled
It worked!

Thanks, Jpollard!

I installed what I think was the 32 bit version of xgterm, and then I had an error, "xgterm: error while loading shared libraries: cannot open shared object file: No such file or directory"

So, I followed the advice posted here:

and installed the 32 bit library, and it worked!

Thanks for your help. I had been looking at so many different forums, I'm not sure how I didn't come across the one you linked. I really appreciate you helping me out!


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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ssh X11 forwarding the_gripmaster Linux - Security 3 07-21-2011 04:26 AM
[SOLVED] X11 forwarding problem over ssh. Where DISPLAY is set? kaz2100 Linux - Software 3 09-27-2009 05:32 AM
Unable to get X11 port forwarding to work in SSH Windowns Solaris / OpenSolaris 19 09-28-2006 05:52 AM
X11 forwarding over SSH SirSlappy Linux - Networking 1 10-18-2005 01:37 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:01 PM.

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