How to get xterm working with xming

HI,

I am puzzled by this because it worked before...is there anyway I can tell if the request is actually getting to the XP box and being refused, or whether it is blocked before that?

I have xterm running on Linux Redhat and Xming running on windows XP. I am attempting to export the window to the XP device.

I am invoking xetrm as follows:


xterm -display 10.89.8.47:0.0
Xlib: connection to "10.89.8.47:0.0" refused by server
Xlib: No protocol specified

Warning: This program is an suid-root program or is being run by the root user.
The full text of the error or warning message cannot be safely formatted
in this environment. You may get a more descriptive message by running the
program as a non-root user or by removing the suid bit on the executable.
xterm Xt error: Can't open display: %s
xterm:  DISPLAY is not set
Christopher ScheneSystem Engineer/Software EngineerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Christopher ScheneSystem Engineer/Software EngineerAuthor Commented:
I wonder if this might be a port issue: What port does xterm use to communicate with the host that is hosting xming?
0
joolsSenior Systems AdministratorCommented:
run `xhost +` on the linux server...
0
Christopher ScheneSystem Engineer/Software EngineerAuthor Commented:
I ran it and this is what I got:

Warning: This program is an suid-root program or is being run by the root user.
The full text of the error or warning message cannot be safely formatted
in this environment. You may get a more descriptive message by running the
program as a non-root user or by removing the suid bit on the executable.
xterm Xt error: Can't open display: %s
xterm:  DISPLAY is not set
AEGRAU-SSON2:~ # xhost +
xhost:  unable to open display ""
AEGRAU-SSON2:~ # xhost + 172.16.1.113:0.0
xhost:  unable to open display ""
AEGRAU-SSON2:~ # xhost
xhost:  unable to open display ""
AEGRAU-SSON2:~ # DISPLAY=172.16.1.113:0.0
AEGRAU-SSON2:~ # xhost +
xhost:  unable to open display ""
AEGRAU-SSON2:~ #
0
Become a Microsoft Certified Solutions Expert

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

joolsSenior Systems AdministratorCommented:
export DISPLAY
xhost +
0
Christopher ScheneSystem Engineer/Software EngineerAuthor Commented:
I looked at the xming log on the client....it is seeing the connection but rejecting it:

winProcEstablishConnection - Hello
AUDIT: Sun Apr 25 10:42:08 2010: 4084 Xming: client 1 rejected from IP XX.xx.xx.xx
winProcEstablishConnection - ProcEstablishConnection failed, bailing.
0
Christopher ScheneSystem Engineer/Software EngineerAuthor Commented:
I solved this one myself....it was the Xlaunch access control that needed to be cleared
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Networking

From novice to tech pro — start learning today.