Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CDE question

Status
Not open for further replies.

misjay01

Technical User
Jun 17, 2003
50
GB
Hello,

I currently have two platforms, one HP-UX and the other Solaris. Currently the HP-UX box has its own monitor and keyboard whereas Solaris box does not. Is there a way to run CDE directly from Solaris box via HP-UX using its monitor ?

Thanks,

 
It would be more efficient to just use the desktop environment on the HP and just run individual applications on the Solaris system, redirecting their DISPLAY back to the HP?

Does the HP give you an option to log in to a remote host at the login screen?

Annihilannic.
 
We have Solaris CDE users who open CDE on their Windows pc's remotely via Viewnow so
there's a non-hp option for you. If you can settle for less that full CDE remotely then
you can run applications or xterms from the Sun to your hp.

On the hp in a dtterm, hpterm, or xterm type
in "xhost +" (in a csh environment). (you
could be more selective and use "xhost SUNHOSTNAME")

Do a "remsh SUNHOSTNAME" and, assuming you have an account on the sun, log in remotely
onto the sun. You will likely find some keymapping and windows oddities. I ususually open a Sun window displaying back to my HP.
In the term windown logged into the sun:
setenv DISPLAY HPHOSTNAME:0.0
(DISPLAY is in caps, HPHOSTNAME is the name of the HP host you want the display to go to)

/usr/openwin/bin/xterm -name general -title SUNHOSTNAME -n SUNHOSTNAME -bg maroon -fg white -sb &

this xterm line will give you an easy to read window, place the hostname on the icon and window header, enable the scrollbar and run
the process in the background freeing up the current session. Alter foreground and background colors as desired. (xterms will allow you to alter font sizes via Control-right_mouse_button and turn on/off things like the scrollbar via Control-middle_mouse_button)


OK - so you want to run an application instead of opening an xterm? Just put in the path to the app binary in place of the "/usr/openwin/bin/xterm blah blah blah" line.
We have people do this routinely to be able to use remote resources for certain tasks.

The full CDE is likely possible but I don't
think that's what you really want to do.

Best of luck.
Gwazu
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top