Operating System - HP-UX
1753435 Members
4706 Online
108794 Solutions
New Discussion юеВ

Re: Netscape display variable

 
SOLVED
Go to solution
Jeff Picton
Regular Advisor

Netscape display variable

Hi

Can anyone inform me how to set / export the DISPLAY variable on HPUX so as to run netscape ?

Jeff
4 REPLIES 4
Clemens van Everdingen
Honored Contributor
Solution

Re: Netscape display variable

Hi,

export DISPLAY=192.168.0.110:0.0

Just change the ip adres to your workstation adres.

The computer is a great invention, there are as many mistakes as ever, but they are nobody's fault !
Roberto Polli
Trusted Contributor

Re: Netscape display variable

ok! and remember to allow connection to that display issuing
xhost client-hostname
or
xhost +
on the Xserver machine!

Pax, R.
Robert-Jan Goossens
Honored Contributor

Re: Netscape display variable

Hi Jeff,

# who am i -uH
# export DISPLAY=your_ip_address:0.0
Regards,
Robert-Jan
Fabio Ettore
Honored Contributor

Re: Netscape display variable

Hi Jeff,

# export DISPLAY=:0.0

Also insert into .profile of your interested user the following lines:

TTY=`who am i | awk '{print $2}'`
DISPLAY=`who -u | grep $TTY| awk '{print $8}'`
export DISPLAY

Any time that a PC connects to HP-UX box with that user it will pick up automatically the DISPLAY variable.

HTH.

Best regards,
Ettore
WISH? IMPROVEMENT!