Operating System - HP-UX
1834437 Members
2627 Online
110067 Solutions
New Discussion

Re: help with X with Reflection

 
error1
Occasional Advisor

help with X with Reflection

Hi all,

I have a particular network to export display on my PC with ReflectionX.
If you don't see the attachment i will try to explain it with my poor english.

on remote side: i have a server HP-UX 10.20 attached to the adsl router and i can run X on local PC with ReflectionX in direct mode.

Server have a second NIC (hublink) attached to the HUB and from hub to 3 workstations HP-UX 10.20 (ste3,ste7 and ste9) which i want to export X on my local PC.
When i run ReflectionX in indirect mode i have a choice to open server(internet NIC)or server hublik(private netw. NIC).
if i open the server is ok and i have X on my PC, if i open "hublink" the ReflectionX crash.

even after i rlogin on ste3 ws i do:
#export DISPLAY=hublink:0.0
#rmb (my prog to export)
and i get the response:
Xlib: connection to "hublink:0.0" refused by server
Xlib: Client is not authorized to connect to Server
Error: Can't open display: hublink:0.0
Error: Couldn't find per display information



****WS hp-ux 10.20**** **server HPUX 10.20
+---+ +------------+
ste3 | | | |
192.168.2.12--| | | |
| | | |
| | | |
ste7 | | | |
192.168.2.14--|HUB|----| |------adsl
| | hublink server
| | 192.168.2.1 151.xx.xx.xx
ste9 | | | |
192.168.2.18--| | | |
+---+ +------------+


on ste3 i do with success:
#xhost +

on server i have:
# xhost +
xhost: unable to open display ""

but on server i can open a X on my local PC.
is like that server do not accept X from ws.

Any help is apreciated
Thanks
5 REPLIES 5
Suraj K Sankari
Honored Contributor

Re: help with X with Reflection

Hi,
>>if i open the server is ok and i have X on my PC, if i open "hublink" the ReflectionX crash

When your ReflectionX crash at that time did you check your syslog.log file any error is there?


Suraj
error1
Occasional Advisor

Re: help with X with Reflection

on ste3 /var/adm/syslog/syslog.log i have this:

Sep 22 11:00:00 ste3 ntpdate[2481]: no servers can be used, exiting
Sep 22 12:00:00 ste3 ntpdate[2497]: can't find host file
Sep 22 12:00:00 ste3 ntpdate[2497]: no servers can be used, exiting
Sep 22 12:17:43 ste3 rlogind[2501]: Login failure (exit(1) from login(1))
Sep 22 13:00:01 ste3 ntpdate[2533]: can't find host file
Sep 22 13:00:01 ste3 ntpdate[2533]: no servers can be used, exiting
#

i retry to illustrate the connection

ste3(192.168.2.18)ws
|
|
v
hub
|
|
v
*****server*****
hublink(server's NIC lan1 -192.168.2.1

server(server's NIC lan0) -151.xxx.xxx.xxx
****server*****
|
|
v
adsl router
|
|
v
internet
|
|
v
adsl modem
|
|
v
PC(ReflectionX)

error1
Occasional Advisor

Re: help with X with Reflection

i added to server in /var/adm/inetd.sec allow to all lines ste3, rebooted the server, and there all ok with export DISPLAY on ste3- no errors.
but i cannot have any Xwindow from ste3 on my PC .
Any ideas?
Thanks
error1
Occasional Advisor

Re: help with X with Reflection

i'm realy newbie please do you have any idea how to do that.
on server are not significant errors in syslog.log
error1
Occasional Advisor

Re: help with X with Reflection


So it is impossible to tunneling the X11 through telnet; only with ssh -X option?
Even we have all ports open?
To install remotley openssh on 10.20 is big affort?

Thanks
Adriano