System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

X Manager - Xbrowser cannot Remote HP UX 11.3.1

Fandi Kurnia
Frequent Advisor

X Manager - Xbrowser cannot Remote HP UX 11.3.1


Hello, all i'm newbie in this forum. I wanna asking for anyone had solved this problem. I cann't access HP UX 11.31, using xbrowser. My xbrowser windows always appear black gray color, or not connected. I have search and do many thing on this forum, but it's still solved my problem. My Pc IP address is 10.33.1.23(Windows) and Server 10.33.1.22( HP UX 11.3.1 .This some step, what have I done :

# swlist -l product | grep -i cde
CDE B.11.31 HP-UX CDE User Interface

# netstat -an | grep 177
udp 0 0 *.177 *.*

# ps -ef | grep dt
root 3760 1 0 17:54:25 pts/2 0:00 /sbin/sh /usr/dt/bin/dtrc
root 3768 3760 0 17:54:25 pts/2 0:00 /usr/dt/bin/dtlogin
root 4410 662 0 18:24:38 pts/0 0:00 grep dt
root 3780 3768 0 17:54:50 ? 0:00 /usr/dt/bin/dtlogin
root 3794 3780 0 17:54:59 ? 0:00 dtgreet -display cardpro:0
daemon 3775 3768 0 17:54:50 ? 0:01 /usr/bin/X11/X :0 -auth /var/dt/cardpAAA003768

# ps -ef | grep xfs
root 65 0 0 Feb 15 ? 5:19 vxfsd
root 4425 662 0 18:25:35 pts/0 0:00 grep xfs
root 26547 1 0 Feb 18 ? 0:00 /usr/bin/X11/xfs -config /etc/X11/fs/config -port 7000 -daemon -quiet_if_addrinuse

# export DISPLAY=10.33.1.23:0.0
# echo $DISPLAY
10.33.1.23:0.0

my Xaccess

# Entries...

* # grant service to all remote displays
* CHOOSER BROADCAST # any indirect host can get a chooser

I think my configuration is correct. But I have still problem in this case.

I will attach Xmanager log .. tq all. GBU
regard


Fandi Kurnia
22 REPLIES
Horia Chirculescu
Honored Contributor

Re: X Manager - Xbrowser cannot Remote HP UX 11.3.1

Hello Fandi,

>Local Hostname: 'backupSimas'
>Local Host IP Address: 10.33.1.23
>Local Host IP Address: 10.33.3.199
>Listening port: 6001

I understand that your XServer expects connections on port 6001.

So when you export the DISPLAY variable, you should specify that you will redirect the display on port 6001, not 6000

The export command must be:

DISPLAY=10.33.1.23:1.0
export DISPLAY


Horia.
Best regards from Romania,
Horia.
Fandi Kurnia
Frequent Advisor

Re: X Manager - Xbrowser cannot Remote HP UX 11.3.1

Tq horia for your attention. But my problem still comming, with the same log that I attached.

Horia Chirculescu
Honored Contributor

Re: X Manager - Xbrowser cannot Remote HP UX 11.3.1

Maybe you have some firewall rule that blocks traffic on xmanager's port?

Horia.
Best regards from Romania,
Horia.
Horia Chirculescu
Honored Contributor

Re: X Manager - Xbrowser cannot Remote HP UX 11.3.1

You can test if your port is blocked like this:

On your Windows station (10.33.1.23):

telnet localhost 6001

should get connection

If not, you have a problem with xmanager or you have some firewall rule on your windows station blocking connections on 6001 from localhost.

On your HP-UX:

telnet 10.33.1.23 6001

Also, should get connected.

If not, your port is blocked by some firewall.

Horia.
Best regards from Romania,
Horia.
Fandi Kurnia
Frequent Advisor

Re: X Manager - Xbrowser cannot Remote HP UX 11.3.1

Hai horia, you are right when I try to 10.33.1.22 port 6001. Telnet blocked, but my windows firewall has been disabled, so all port can be use.

C:\Documents and Settings\hendra>telnet 10.33.1.22 6001
Connecting To 10.33.1.22...Could not open connection to the host, on port 6001: Connect failed

and The other reasons are it not the first time I using Xmanager, So I ever connect to other HP UX but not HP UX 11.31 with this computer 10.33.1.22 ( my Windows PC) using Xbrowser 1.3.9.9. when I try to connect and success the other server (in this case 10.33.1.75) i got same log like port 6001 but, when I telnet to 10.33.1.75 6001 is still same report like this :


C:\Documents and Settings\hendra>telnet 10.33.1.75 6001
Connecting To 10.33.1.22...Could not open connection to the host, on port 6001: Connect failed

but Xbrowser success to browser X window on HP UX. I attach a success log.
Fandi Kurnia
Frequent Advisor

Re: X Manager - Xbrowser cannot Remote HP UX 11.3.1

correction on My pc .. above reply.

is not (10.33.1.22) but

correct Ip is 10.33.1.23

Gbu All. Thanks
Horia Chirculescu
Honored Contributor

Re: X Manager - Xbrowser cannot Remote HP UX 11.3.1

The XServer on 10.33.1.75 is also listening on 6001? I must say that by default X server is listening on port 6000.

Go to the same windows and try this:

telnet localhost 6001

Horia.



Best regards from Romania,
Horia.
Horia Chirculescu
Honored Contributor

Re: X Manager - Xbrowser cannot Remote HP UX 11.3.1

Sorry,

10.33.1.75 is another server.

I got it wrong.
Best regards from Romania,
Horia.
Horia Chirculescu
Honored Contributor

Re: X Manager - Xbrowser cannot Remote HP UX 11.3.1

>C:\Documents and Settings\hendra>telnet 10.33.1.22 6001

You should go to your windows PC (the one that you have the XServer installed) and from there:

telnet localhost 6001
or

telnet 10.33.1.23 6001

(I understand that .23 is your IP address from the windows PC)

and should get a connection.

Then from the HP-UX server you should try:

telnet 10.33.1.23 6001

in order to check a connection

Horia.
Best regards from Romania,
Horia.
Fandi Kurnia
Frequent Advisor

Re: X Manager - Xbrowser cannot Remote HP UX 11.3.1

hai Holia,

10.33.1.75 is another server. (HP UX 11.23)

now I trying to browser 10.33.1.22 (HP UX 11.31)

i have ipf -Fa and search solution but the problem not solve.

Fandi Kurnia
Look confused, but happy;
Fandi Kurnia
Frequent Advisor

Re: X Manager - Xbrowser cannot Remote HP UX 11.3.1

telnet from 10.33.1.22 to 10.33.1.23 : report :
# telnet 10.33.1.23 6001
Trying...
Connected to 10.33.1.23.
Escape character is '^]'.

telnet> quit
Connection closed.
# telnet 10.33.1.23 6000
Trying...
telnet: Unable to connect to remote host: Connection refused

telnet from 10.33.1.75 to 10.33.1.23: report :
$ telnet 10.33.1.23 6000
Trying...
telnet: Unable to connect to remote host: Connection refused
$ telnet 10.33.1.23 6001
Trying...
Connected to 10.33.1.23.
Escape character is '^]'.

telnet> quit
Connection closed.

there aren't not different result from hp ux 11.23 and hp ux 11.31. But I cann't use xbrowser on HP UX 11.31

Fandi.

Thank Horia
Horia Chirculescu
Honored Contributor

Re: X Manager - Xbrowser cannot Remote HP UX 11.3.1

>telnet from 10.33.1.22 to 10.33.1.23 : report :
# telnet 10.33.1.23 6001
Trying...
Connected to 10.33.1.23.
Escape character is '^]'.

This is good, there is nothing blocking the XWindows port (600).

Can you do this:

go to 10.33.1.22 (your HP-UX server)
and do this:

DISPLAY=10.33.1.23:1.0
export DISPLAY

then run this:

xclock

Do you have the output on your windows station (10.33.1.23)

Horia
Best regards from Romania,
Horia.
Fandi Kurnia
Frequent Advisor

Re: X Manager - Xbrowser cannot Remote HP UX 11.3.1

Error: Can't open display: 10.33.1.23:1.0
Error: Couldn't find per display information


thank your effort

horia nice to share this problem with you..
shanmuhanandam
Regular Advisor

Re: X Manager - Xbrowser cannot Remote HP UX 11.3.1

Hi,
please check the below files also.

1. /etc/dt/config/Xservers

â ¢ Local local@console /usr/bin/X11/X: 0 (Remove the # from this Statement)

2. /usr/dt/config/Xconfig

# To disable R4 MIT-MAGIC-COOKIE-1 per-user authorization.

#Dtlogin*authorize: False (Remove the # from this Statement)

3. /usr/dt/config/Xservers

â ¢ Local local@console /usr/bin/X11/X: 0 (Remove the # from this Statement)


Thanks & Regards,
Shanmugam.B
Fandi Kurnia
Frequent Advisor

Re: X Manager - Xbrowser cannot Remote HP UX 11.3.1

Thank's Shamuggan and Horia. The problem has been solved. Thank before.

I will post how to fix them all..

Horia, your solution help me to get another solution. But the point is you can use xbrowser to get Xwindows using SSH.

So, I using XStart from Xmanager to get the display. Now my problem is Install oracle..

huh.. No simple.. Thank all for helping me.
Fandi Kurnia
Frequent Advisor

Re: X Manager - Xbrowser cannot Remote HP UX 11.3.1

correction :
"Horia, your solution help me to get another solution. But the point is you can not use xbrowser to get Xwindows using SSH. "


Horia Chirculescu
Honored Contributor

Re: X Manager - Xbrowser cannot Remote HP UX 11.3.1

>But the point is you can not use xbrowser to get Xwindows using SSH. "

If you are talking about:

http://xbrowser.armondavanes.com/

This is only a WEB browser. Seems to me that you are a bot confused about the protocols used.

The http protocol is different than the one that XServer is using.

Please read

http://en.wikipedia.org/wiki/X_Window_System_protocols_and_architecture

http://en.wikipedia.org/wiki/X_Window_System_core_protocol

And one more observation: X Server does not use SSH. Someone could use a wrapper in order to secure communications but this is another discussion.

Horia.
Best regards from Romania,
Horia.
Harikrishnan L
Frequent Advisor

Re: X Manager - Xbrowser cannot Remote HP UX 11.3.1

Hi

I am also facing same error can you suggest me how can i use x manager with x start.

Thanks,
Hari
Steven Schweda
Honored Contributor

Re: X Manager - Xbrowser cannot Remote HP UX 11.3.1

> I am also facing same error [...]

Tired of your own thread on this topic?

http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1414776


> Please read [...]

Did you try that?
Fandi Kurnia
Frequent Advisor

Re: X Manager - Xbrowser cannot Remote HP UX 11.3.1

rajesh73
Super Advisor

Re: X Manager - Xbrowser cannot Remote HP UX 11.3.1

I have same Xbrowser problem

pls help me

if iam trying netstat -an | grep 177
it will not showing

what can i have do

Regds

Rajesh
Fandi Kurnia
Frequent Advisor

Re: X Manager - Xbrowser cannot Remote HP UX 11.3.1

Hai Rajesh,

I haven't solve this problem using HP UX 11.31, now I back install HP UX 11.23. All the problems on HP UX 11.31 aren't appear on HP UX 11.23.

I still don't know about iptables on HP UX 11.31


Regards



Fandi Kurnia