Operating System - HP-UX
1833820 Members
2861 Online
110063 Solutions
New Discussion

remote X from HPUX to WinXP problem

 
SOLVED
Go to solution
Anna Fong
Advisor

remote X from HPUX to WinXP problem

Can't get xterm from HPUX to WinXP using Reflection X. Reflection X connection string (from Host Response dialog box) --

$ (/usr/bin/X11/xterm -fn 6x13 -sb -ls -display [PC_IP_ADDR]:0 -name "xterm ([SVR_IP_ADDR] via TELNET)" &)

[1] 25800
$

Nothing happens.


Tried it without putting it in the background --

$ (/usr/bin/X11/xterm -fn 6x13 -sb -ls -display [PC_IP_ADDR]:0 -name "xterm ([SVR_IP_ADDR] via TELNET)")
Error: Can't open display: [PC_IP_ADDR]:0
Error: Couldn't find per display information
$


Tried to use xterm on HPUX server via telnet --

$export DISPLAY=[PC_IP_ADDR]:0
$xterm

which gets same error --

Error: Can't open display: [PC_IP_ADDR]:0
Error: Couldn't find per display information


Any idea why this isn't working? hpterm also doesn't work for the same reasons.

P.S. The font server is working and nslookup resolves both the PC_IP_ADDR and the PC_DNS_NAME.

Thanks in advance,
Ann
6 REPLIES 6
Denver Osborn
Honored Contributor
Solution

Re: remote X from HPUX to WinXP problem

Make sure the reflection X software is running on the Win XP pc... you've probably done this already.

Also make sure that Win XP isn't blocking port 6000. Can you telnet to the Win XP pc's 6000 port and connect?

To check XP's firewall settings...
right click "my network places" -> properties
-> right click lan connection -> properties -> Advanced tab

If "internet connection firewall" is turned on, go to the settings and add a service for incomming tcp on port 6000.

Hope this helps,
-denver
Joao Mendes
Occasional Advisor

Re: remote X from HPUX to WinXP problem

Dear Ann,

About X in windows, you can try one of these free great products that i use.
cygwin ( http://www.cygwin.com ) or vnc ( http://uk.research.att.com/vnc )

They are X clients, that you can use to connect to HP UX, Linux, etc.

With cygwin you need to open a session on server an export DISPLAY, with VCN you simple install an service (i prefer this one), and you can access server X inside your favorite internet browser!!!, or vnc viewer.

Best regards,
Joao Mendes
Steve Steel
Honored Contributor

Re: remote X from HPUX to WinXP problem

Hi

Reflection is running on the XP box.

What is the refection running from.


At the prompt on the reflection type

xhost +
xterm


What happens

Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Tim Howell
Frequent Advisor

Re: remote X from HPUX to WinXP problem

Well, I haven't used Reflection, but in general, the telnet protocol does not support the X Windows protocol. That is, you can not run an X program, such as xterm, from a telnet session. You must use the "r" commands to establish the connection. (i.e. rlogin, rexec, rsh etc.)

example...

rlogin [hostname]
...
$export DISPLAY=[PC_IP_ADDR]:0
$xterm


That should work...
if only we knew...
Shannon Petry
Honored Contributor

Re: remote X from HPUX to WinXP problem

Microsoft Windows is absolutely NOT X compliant. MS has absolutely NO windows portability, hence we have products like Terminal Server, Citrix, etc...

If you want to launch an X display you MUST have an X server running to control the window, handle the widgets, pass controls, etc...


You will have to use a product for windblows like eXceed, reflections, which is an X server running on the PC. Additionally, you could run Linux and throw away the MS. Linux is 100% X compliant.

You can also run emulator products which are similar to citrix, I.E. AT&T's VNC, but these are slow as you have a pixel to pixel copy of each screen, not the delta. Citrix is the only program I know that uses only the delta to update displays. (performs much better than terminal server).

Regards,
Shannon
Microsoft. When do you want a virus today?
Shannon Petry
Honored Contributor

Re: remote X from HPUX to WinXP problem

Just wanted to add a bit more, sorry for not including this.

The X server emulators that run on the PC are very poor. In the past I have had to open a connection and launch a remote command to bring back the display. The display does not have the IP:0.0 as you would assume it does. Usually it is a wins name, dhcp name, etc... and many times runs on :1.0, :2.0, etc...

I have had the easiest time running remote desktop exclusively with xdmp, and not launching terminals with displays.

Regards,
Shannon
Microsoft. When do you want a virus today?