Operating System - HP-UX
1827784 Members
2542 Online
109969 Solutions
New Discussion

get graphics to different display

 
iranzo
Frequent Advisor

get graphics to different display

I am having problem getting graphics to
different display from HP9000 on IP network
my process is :
export DISPLAY=:0.0
how can i get the variable on the display where command is execute ?
Bonjour
5 REPLIES 5
Wim Rombauts
Honored Contributor

Re: get graphics to different display

I don't understand your question. If you just use the IP-address of the system that is directly connected the screen you want to use as display, that should work.
Alex Glennie
Honored Contributor

Re: get graphics to different display

eg

system A = local
system B = remote

I wish to run an app on B but display to system A

login to system A,
run xhost +
telnet/rlogin to system B
export DISPLAY=:0.0
run application.

If the above does not work what errors are you getting and what graphics, H/W etc is involved here.

nb hostname resolution needs to working : check using nslookup on the IP addresses involved here.
iranzo
Frequent Advisor

Re: get graphics to different display

In fact i want to run this command
in a script from different PC's display,
using HP vue, so IPadress change ,
how can i get PC's adress to execute
the script ?
Thank's a lot.
Bonjour
Alex Glennie
Honored Contributor

Re: get graphics to different display

I'm still not too clear what you are after but if it's a case of executing a script under vue as soon as a user logs in via a pc, to export the display to another host you may like to create a file $HOME/.vue/sessions/sessionetc it will be executed as soon as your vue user logs in ?

also check the VUE users guide
15-8->15-10 as you can create DISPLAY dependent sessions too !
Wim Rombauts
Honored Contributor

Re: get graphics to different display

Strange, If you run HP-VUE already on the PC screen (you can do that if you use XDM as login method), the DISPLAY is automatically set.

If you use rlogin or telnet, you will need to put a read statement in the .profile script. Your PC communication software then needs the intelligence to send a replay to that read statement and that reply could be the IP-address.

You can get the IP-address from the PC using a PC script that executes ipconfig (for NT) and filters out the IP-address from that output. I'm not an PC specialist, so I can't help you there.