1827284 Members
3252 Online
109717 Solutions
New Discussion

Display

 
SOLVED
Go to solution
Jees Joy
Frequent Advisor

Display

how do I export display from an Unix box to another hp-unix/windows box
6 REPLIES 6
Aneesh Mohan
Honored Contributor

Re: Display

Hi,

DISPLAY=192.168.10.1:0.0
export DISPLAY

(Instead of 192.168.10.1 type your local system ip )

Aneesh
lawrenzo_1
Super Advisor

Re: Display

Hi Yes as above however you must be running X emulating software and where DISPLAY=:0.0

check that you are running from 0:0 and not 1:0, 2:0 etc.

from the server you logged into:

echo $DISPLAY

also you may need to run

# xhost + or xhost

to allow the screen to be displayed.

hope this helps

chris
hello
Delcho Tuhchiev
Frequent Advisor

Re: Display

Hi,
If you want to start a specific application (not the whole X) you can do it on that way:

1. ssh -X remote_HP-UX_system
2. just run the application which you need and it will start in your local machine (for example you can try to run xstm)
SGUX
Valued Contributor
Solution

Re: Display

a simple to see if your X-display is working is xclock

do you get any error-messages when you try to launch your X-application ?

if the display is working wfor the account you loggin with but you su to a different user remember to export your DISPLAY and xauth after su-ing

i.e.;
logging as guest
echo $DISPLAY -> 192.168.10.20:10.0
xauth list ->
hostname:10 MIT-MAGIC-COOKIE-1 "x-key"
Look for the "x-key" that correspond with the display-number

su - admin
export DISPLAY=192.168.10.20:10.0
xauth add hostname:10 MIT-MAGIC-COOKIE-1 "x-key"

check: xclock
display should be on your "local"-machine
Sp4admin
Trusted Contributor

Re: Display

Hi Jees,

You should bea ble to export your DISPLAY.

DISPLAY=192.0.0.0. ** What ever your IP **
export DISPLAY

sp,
Jees Joy
Frequent Advisor

Re: Display

Thank you friends, that was very helpfull.