1820636 Members
1851 Online
109626 Solutions
New Discussion юеВ

Export DISPLAY from SUN

 
SOLVED
Go to solution
ben_43
Frequent Advisor

Export DISPLAY from SUN

Hi:

We have an xapplication that has to be launched on nclass servers but the actual application is residing on a solaris box. Is there any issue with exporting the display back from the solaris box. Please advice.

Thanks
Ben.
7 REPLIES 7
Dave Chamberlin
Trusted Contributor
Solution

Re: Export DISPLAY from SUN

There should be no issue. To display the app on the HP, you need to do:xhost + on the box that owns the display, to give the named host access to display there. The host that will run the app needs to have this done: export DISPLAY=x.y.z.a , where that IP points to the the host with the display.
Martin Johnson
Honored Contributor

Re: Export DISPLAY from SUN

It should be fine. Just remember the "xhost +" every time the system reboots. There can be some minor font issues, depending on the app.

I run HP Openview Operations on an HPUX v11 system and display on a Sun Ultra-5 workstation.

HTH
Marty
Hai Nguyen_1
Honored Contributor

Re: Export DISPLAY from SUN

From sun, run as root:
# xhost +
From sun, telnet to hp and run:
# export DISPLAY=:0.0

hope this helps.

Hai
Sajid_1
Honored Contributor

Re: Export DISPLAY from SUN

hi,

It will be fine doing that. I did see some issues with Java and fonts while exporting display to Sun. You may take a look xhost permissions too.

rgds,
learn unix ..
MANOJ SRIVASTAVA
Honored Contributor

Re: Export DISPLAY from SUN

Also Ben the default shell in Sun genreally freaaks out on export DSIPALY so I alsways change it to ksh and then do an export DISPLAY . Ofcourse you have to run xhost+ .


Manoj Srivastava
ben_43
Frequent Advisor

Re: Export DISPLAY from SUN

Thank you.

Ben
Bill Hassell
Honored Contributor

Re: Export DISPLAY from SUN

Depending on your environment, xhost + is not a good idea. It says that your curent display server (run xhost on the box with the display) will accept without question, any image from any source. In the early days of Xwindows, it was considered clever to display Xroaches or 'melt' the display. But the screen itself can also be read using xwd from any other computer. In fact, a hacker to popup a login xterm or dtterm window, ask for login and password and poof! The window disappears, along with your userID and password.

Always use xhost +display-server:0 and repeat as needed. And for additional security, use xhost -display-server:0 when finished.


Bill Hassell, sysadmin