Operating System - HP-UX
1835081 Members
3282 Online
110073 Solutions
New Discussion

set the DISPLAY environment variable.

 
Mirror breaking
Contributor

set the DISPLAY environment variable.

Hi,
I am trying to open Veritas Enterprise Administrator.
But it is asking me to set the display environment variable.
Please suggest me how to do it.
Thanks and regards
Ankit Agrawal
2 REPLIES 2
Pete Randall
Outstanding Contributor

Re: set the DISPLAY environment variable.

Get your IP address from the command(s) lanscan and ifconfig:

# lanscan
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
10/0/12/0 0x001083CFA5E5 0 UP lan0 snap0 1 ETHER Yes 11
9
# ifconfig lan0
lan0: flags=843
inet 130.1.1.15 netmask ffff0000 broadcast 130.1.255.255


Then set the display like this:

export DISPLAY=130.1.1.15:0.0


Pete

Pete
Rasheed Tamton
Honored Contributor

Re: set the DISPLAY environment variable.

Just an addition to Pete's post.
If you are connecting from a PC, you need to give the IP of your PC.

export DISPLAY=IP.OF.YOUR.PC:0.0

If the IP of your PC is 10.32.5.34
export DISPLAY=10.32.5.34:0.0

rgds.