Operating System - HP-UX
1834118 Members
2491 Online
110064 Solutions
New Discussion

Re: How to switch between servers in CDE

 
Phan Wai Keong_1
New Member

How to switch between servers in CDE

Just wondering how could I be able to switch between servers on CDE?

How do I configure the workspace switch so that I could access different servers with each workspace switch?

I am currently using Exceed.

Thank you very much.
7 REPLIES 7
Eric Antunes
Honored Contributor

Re: How to switch between servers in CDE

Hi,

Use rlogin (see man for more details):

#rlogin [-l ]

PS: be aware to not confuse about the server on witch you are working by using export PS1="`hostname`# " in your .profile, specialy for root!

Best Regards,

Eric Antunes

Each and every day is a good day to learn.
D.Blond
Frequent Advisor

Re: How to switch between servers in CDE

Hi,

echo $DISPLAY
rlogin node B
export DISPLAY=xxx.xxx.xxx.xxx:0.0
xterm&
Best Regards,
D.Blond
Phan Wai Keong_1
New Member

Re: How to switch between servers in CDE

Thank you very much for the attempt to help me.
However, your replies did not really answer my question.

My apology if you have misunderstood my question.

I am actually accessing the servers from my window-based computer with the use of Exceed. Just wondering what might be the configuration necessary in order for me to switch between different servers with the workspace switches on the front panel?

Thank you very much.
Michael D'Aulerio
Regular Advisor

Re: How to switch between servers in CDE

Phan,

If I understand correctly, you want a way to switch between CDE sessions on multiple computers running HP-UX. I don't think you can set this up using the workspace buttons on the CDE toolbar.

You can set up Exceed to do an XDMCP broadcast with a list of servers to connect to. You will get a different CDE session for each system you connect to. You can then use ALT-TAB from the keyboard to switch between them. Hope that helps.

Mike D'.
Email: michael.n.daulerio@lmco.com
Sanjay_6
Honored Contributor

Re: How to switch between servers in CDE

Hi Phan,

You cannot do that. When you connect using exceed on your PC to a server, it open a CDE session for that server. all the workspace are for that server only.

If you need to open another session to a different server from another workspace on thisCDE session, you have to open a terminal window and then do a telnet/ ssh to open a session to another host. Remember you may have to export the DISPLAY varibale to get the graphics display during this session.

Hope this helps.

Regds
TwoProc
Honored Contributor

Re: How to switch between servers in CDE

I've often wanted this same thing... Sadly over the years I've determined it's not do-able. Although, at one time someone mentioned a piece of software that might do it. My research further up that idea went nowhere so I abandoned it.
We are the people our parents warned us about --Jimmy Buffett
Phan Wai Keong_1
New Member

Re: How to switch between servers in CDE

First of all, thank you very much to all of you for replying to my enquiry.

Since it is not possible for me to achieve the quest that I am on, just wondering if there is a workaround?

For example, to configure the CDE so that, upon establishing connection to a server, let's name is server A, on workspace 1, the remaining workspace 2, 3 and 4, will automatically establish individual telnet or xterm session to pre-defined destinations, let's name these destinations server B, C and D, respectively?

Thank you very much.