1820117 Members
3134 Online
109619 Solutions
New Discussion юеВ

Re: Reflection X Problem

 
SOLVED
Go to solution
Gobinathan
Trusted Contributor

Reflection X Problem

Hi All,

I am using Reflection X 11.0 in Windows XP. I tried HP-UX 11.23 Using the following setings.

In Reflection X Manager:

1. Selected Client Templates->Client Startup->hpux
2. In settings:

Windows Manager: Selected Xterminal Desktop and Reflectin Window Manager

In Display: ALL are default settings, nothing i have selected. Display no is "0"

In Server: Selected By request scroll, Enable X11 R3, Confirm Close...

In security: Selected Unrestricted access

In Network: Selected Auto Detect Settings and keep alives

Then I connected the HP-UX Server by telnet in Host and unix digital.

Then I tried export DISPLAY=IP:0.0
After that I tried to open GUI Session. IT's saying " Can't Open Dispaly: IP:0.0"

Please give me the solution to resolve this problem. Is there any change i need to made in both the console.

Thanks in Advance,
Gobinathan.S
16 REPLIES 16
Ludovic Derlyn
Esteemed Contributor

Re: Reflection X Problem

hi,

Have you try "xhost +"
Regards

L-DERLYN
F Verschuren
Esteemed Contributor

Re: Reflection X Problem

stop start reflection. to make the changes.

if you log in on the first system there you display is set so use echo $DISPLAY to see what your display is.

ps are you using SSH?
Gobinathan
Trusted Contributor

Re: Reflection X Problem

Hi All,

I tried xhost +, there my console hangs for some time and then error was "Unable to open dispaly"

I did echo $DISPLAY also, there I am getting my ip:0.0

Thanks,
Gobinathan.S
Berd
Trusted Contributor

Re: Reflection X Problem

Hi Gobinathan,

Whata is the ip address of you desktop machine. Use that i.p. address in your export DISPLAY command.

For example if your desktop is 10.2.3.99 the export DISPLAY=10.2.3.99:0

Then try and fire up uyour xdisplay.

Berd
Matti_Kurkela
Honored Contributor

Re: Reflection X Problem

The GUI program in the HP-UX (=X client) is trying to connect to the Reflection X (=X server) in your Windows workstation, so that it could ask Reflection X to draw a GUI for you.

If the DISPLAY is :0.0, the X client will be trying to connect to TCP port 6000 on your Windows workstation. Something is blocking the connection.

Possible causes:
- an IP-Filter in HP-UX (check the directory /etc/opt/ipf: if it exists, IPFilter is installed and you'll find the filtering rules in this directory)

- a firewall in the network between HP-UX and your Windows XP.

- a software firewall in you Windows XP.

If your HP-UX server has ssh installed, I recommend that you use SSH-style connection instead of telnet. When you use SSH connection, DISPLAY will be set automatically, so you don't need to export it (the value of DISPLAY will look a bit strange if you're not familiar with SSH, but it's really OK). In addition, your entire GUI session will be protected by SSH encryption.
MK
Ivan Ferreira
Honored Contributor

Re: Reflection X Problem

I just tested and had the same problem until I set:

Settings - Network - Uncheck "Autodeted network interface" and in the IP address text box, enter the local IP address manually.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Gobinathan
Trusted Contributor

Re: Reflection X Problem

Hi,

I checked IPF file. It's there but no content in that file. How to check the firewall whether its blocking or not.

Please help to see the GUI mode. and tell me how to connect with SSH. Is it openSSH.

Thanks,
Gobinathan.S
Gobinathan
Trusted Contributor

Re: Reflection X Problem

I tried with out auodetect IP also, still no improvement. Pls.suggest me.
Ivan Ferreira
Honored Contributor

Re: Reflection X Problem

Have you tried XDMCP Direct?

Select "Client Files" - XDMCP - Method: Direct - Host Name: - Connect.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Brian DelPizzo
Frequent Advisor

Re: Reflection X Problem

Are you running VPN software? Often times you will have two IPs when running VPN. One IP for your local connection to your ISP, and another for your VPN IP. You can usually see this form the command line with ipconfig /all. Make sure you are exporting the VPN IP, not the ISP IP.

If that does not work, I would think your port is being blocked by a firewall.
Gobinathan
Trusted Contributor

Re: Reflection X Problem

Hi,

XDCMP is giving TIMED OUT, also it's saying XDM Prgms.

How to identify my port no and is it blocked by firewall?

Pls reply ASAP.

Gobinathan.S
Gobinathan
Trusted Contributor

Re: Reflection X Problem

I am getting the folowing error while connecting through XDMCP. Please check the attchment,
Rasheed Tamton
Honored Contributor

Re: Reflection X Problem

Hi Gobinathan,

1. On your PC try
netstat -a|grep 6000
TCP pcname:6000 pcname:0 LISTENING
You should see that port 6000 is LISTENING

-On the hp box
netstat -an|grep 6000
tcp 0 0 *.6000 *.* LISTEN


2. On the PC and hp box do
telnet pcname 6000
telnet hpbox 6000

If the ports are opened you will get connected to the telnet port. User Control+] to exit the telnet sessions.
This means your ports are opened and ready for use.

After that try the below:
export DISPLAY=your.ip.no.:0
/usr/bin/X11/xhost +
/usr/bin/X11/xclock (will display a simple x apps called clock on your pc)

If you still get the error increment :0 with no 1, 2, 3, etc.
export DISPLAY=your.ip.no.:1
export DISPLAY=your.ip.no.:2
export DISPLAY=your.ip.no.:10

Until you get it working. This needs if you have a NAT setup at your place.

Gobinathan
Trusted Contributor

Re: Reflection X Problem

The port 6000 is not showing listening in both of my pc and hpbox. Next I need to do? Please get me back ASAP
Rasheed Tamton
Honored Contributor
Solution

Re: Reflection X Problem

You have to either disable the Internet Connection Firewall on Win XP or open the ports.

Just check whether you have any other ports open for xdmcp.

It needs port 177 for UDP
and port 6000 for tcp

#netstat -an|grep 600
Check for 6001, 6002, etc

Otherwise check with your network guys reg. ports.
Gobinathan
Trusted Contributor

Re: Reflection X Problem

The problem was with firewall in my windows. I have opened the firewall for reflection. Now its working fine.

Thanks for all