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?
 
Christopher ScheneConnect With a Mentor System Engineer/Software EngineerAuthor Commented:
I solved this one myself....it was the Xlaunch access control that needed to be cleared
0
 
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
 
joolsCommented:
run `xhost +` on the linux server...
0
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
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
 
joolsCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.