Link to home
Start Free TrialLog in
Avatar of Christopher Schene
Christopher ScheneFlag for United States of America

asked on

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
Avatar of Christopher Schene
Christopher Schene
Flag of United States of America image

ASKER

I wonder if this might be a port issue: What port does xterm use to communicate with the host that is hosting xming?
Avatar of Julian Parker
run `xhost +` on the linux server...
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:~ #
export DISPLAY
xhost +
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.
ASKER CERTIFIED SOLUTION
Avatar of Christopher Schene
Christopher Schene
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial