1751714 Members
5359 Online
108781 Solutions
New Discussion юеВ

Set Display Variable

 
SOLVED
Go to solution
Jai Harikrishnan
Occasional Advisor

Set Display Variable

Hi all

I am installing Oracle 8i on a HP Unix box, IP address aa.bb.cc.dd.

I am launching the Oracle Universal Installer through telnet from my laptop connected to a Unix workstation with IP address ww.xx.yy.zz.

This workstation ww.xx.yy.zz is connected to the workstation aa.bb.cc.dd. As the network is so configured, I have to manage with this set-up.

How should I set the Display variable. If some one could explain in detail, I will be very thankful.

Thanks a lot
6 REPLIES 6
harry d brown jr
Honored Contributor

Re: Set Display Variable

export DISPLAY=aa.bb.cc.dd:0.0


live free or die
harry
Live Free or Die
T G Manikandan
Honored Contributor

Re: Set Display Variable

Hello,
First you have to install some x-windows application on your laptop.

Like the Xmanager.
You can download it by searching in google.com

"Xmanager downloads"

Install it.
run XManager
you will receive xdmcp broadcasts from the unix servers that are running CDE.
Then you can login into the appropriate server.
Then do a
$DISPPLAY=:0.0;export DISPLAY

Thanks
G manikandan
T G Manikandan
Honored Contributor

Re: Set Display Variable

here it the link for the xmanager(x-windows application)

http://download.com.com/3000-2340-6128455.html?tag=list

THanks
Roberto Severo
Advisor

Re: Set Display Variable

In your ww.xx.yy.zz session on your laptop, type:

xhost +
export DISPLAY=zz.xx.cc.vv:0.0

where zz.xx.cc.vv:0.0 is the IP of your laptop. Ok, now you can manage the installer from your Laptop.

-Roberto
Wodisch
Honored Contributor

Re: Set Display Variable

Hello Jai,

if you do not have an X-server running on your laptop, you can get free ones from Cygnus or you can use VNC( http://www.cygnus.com http://www.orl.co.uk/vnc ) as a substitute. For VNC you'll have to install the VNC server first on the UNIX box, then start the "viewer" on your laptop.
And then use the name/address shown in the rightmost column of "who am I -u" - that's your laptop's IP address/hostname, and append ":0.0" to it.

HTH,
Wodisch
Bill Hassell
Honored Contributor
Solution

Re: Set Display Variable

If you want the DISPLAY value set automatically, you can add this to your .profile:

export DISPLAY=$(who -muR | awk '{print $NF}')

This will work if you connect directly to the server running the Oracle GUI. If you telnet to another machine and from that machine, telnet to the Oracle machine, DISPLAY will be set to the incoming machine's name/IP, not your PC.


Bill Hassell, sysadmin