Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
Showing results for 
Search instead for 
Did you mean: 

Set Display Variable

Go to solution
Jai Harikrishnan
Occasional Advisor

Set Display Variable

Hi all

I am installing Oracle 8i on a HP Unix box, IP address

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 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
harry d brown jr
Honored Contributor

Re: Set Display Variable


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

Re: Set Display Variable

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

Like the Xmanager.
You can download it by searching in

"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

G manikandan
T G Manikandan
Honored Contributor

Re: Set Display Variable

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


Re: Set Display Variable

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

xhost +

where is the IP of your laptop. Ok, now you can manage the installer from your Laptop.

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( ) 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.

Bill Hassell
Honored Contributor

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