System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

How to connect HPUX CDE (GUI - mode)

SOLVED
Go to solution
senthil_kumar_1
Super Advisor

How to connect HPUX CDE (GUI - mode)

Hi All,

I am using HPUX 10.20, 11.00 and 11.11.

Normally i am using putty to connect HPUX terminal.

But now i want to connect HPUX CDE (xwindow).

How to do this?

What are prerequisites?
50 REPLIES
Sunny123_1
Esteemed Contributor

Re: How to connect HPUX CDE (GUI - mode)

Hi

For that you required Xmanager.

Regards
Sunny
OldSchool
Honored Contributor

Re: How to connect HPUX CDE (GUI - mode)

well,

1) you're going to need to have CDE installed on the HP boxes. and

2) it's going to have to be running.

3) you're also going to need X-Windows software for your PC. Cygwin X, Reflection-X and Exceed come to mind.

After that, it depends on how you want to connect. You mentioned PuTTY, so I'd guess you want to forward X over ssh????
Pete Randall
Outstanding Contributor

Re: How to connect HPUX CDE (GUI - mode)

You would need to purchase a terminal emulator like ReflectionX from WRQ or Hummingbird Excel. Off the top of my head, I don't recall any free ones available.


Pete

Pete
senthil_kumar_1
Super Advisor

Re: How to connect HPUX CDE (GUI - mode)

I require free xmanager software.

senthil_kumar_1
Super Advisor

Re: How to connect HPUX CDE (GUI - mode)

How to find if CDE has been installed in HPUX?

How to find if CDE is running properly?

Actually i have configured telnet and rlogin only but not ssh.

Is there any trial version of Reflection-X and Exceed and Hummingbird Excel available?

Could we connect from Redhat / Suse linux?

James R. Ferguson
Acclaimed Contributor

Re: How to connect HPUX CDE (GUI - mode)

Hi:

> I require free xmanager software.

I use 'Xming' :

http://www.straightrunning.com/XmingNotes/

Regards!

...JRF...
Sunny123_1
Esteemed Contributor

Re: How to connect HPUX CDE (GUI - mode)

Hi

<>

swlist |grep -i cde

Regards
Sunny
Sunny123_1
Esteemed Contributor

Re: How to connect HPUX CDE (GUI - mode)

Hi

For Xmanager software try following link

http://wareseeker.com/download/xmanager-3.0-build-0118.rar/3b6ed76a70

Regards
Sunny
V. Nyga
Honored Contributor

Re: How to connect HPUX CDE (GUI - mode)

Hi,

we use 'StarNet X-Win32'.

>How to find if CDE has been installed in HPUX?

swlist -l product|grep CDE

HTH
Volkmar
*** Say 'Thanks' with Kudos ***
senthil_kumar_1
Super Advisor

Re: How to connect HPUX CDE (GUI - mode)

Hi James,

I have downloaded xming and installed in window xp.

Now i am seeing two icons "Xlanuch" and "Xmin" in desktop.

I tried lot of ways to connect GUI of HPUX server, but not succeded.

So please explain the steps to connect the GUI of HPUX server.




Sunny123_1
Esteemed Contributor

Re: How to connect HPUX CDE (GUI - mode)

Hi

If you installed Xmanager.Then you will see xmanager icon on the desktop.In this You will find Xbrowser.

Regards
Sunny
Sunny123_1
Esteemed Contributor
Solution

Re: How to connect HPUX CDE (GUI - mode)

Hi

You must know the IP adress of the machine PC in which you are working.

1- start you X-server
2- telnet to the unix server
3- login and password
4- execute the following command, different with regards to the login shell.

you can check your shell with

echo $SHELL


((if using ksh or sh))

export DISPLAY=YOURIP:0.0

((if using csh))

setenv DISPLAY YUORIP:0.0

5- execute the command

xterm



Regards
Sunny
V. Nyga
Honored Contributor

Re: How to connect HPUX CDE (GUI - mode)

Hi,

have you checked for CDE?

Do you have a graphics card installed?

-> 'graphinfo|head' will show it.

Volkmar
*** Say 'Thanks' with Kudos ***
Mel Burslan
Honored Contributor

Re: How to connect HPUX CDE (GUI - mode)

Senthil,

In order to connect to your system via xmanager of some sort, using CDE (or god forbid VUE) your server will need to broadcast something called XDMCP. Since I do not use this method of login for a long time, I totally forgot what processes need to run on the HPUX server side to make this happen, but I am sure someone will tell you in a moment or two.

More importantly, since this is a braodcast traffic, most network administrators, balk at letting it through their firewalls, and if your server and your workstation are not on the same network, i.e. there are routers and firewalls in between, you may not be able to get the broadcast even if it is running.

In my opinion, CDE is nothing more than eye-candy. The functionality it provides you is nothing different than using an MS Windows interface compared to MS-DOS. So, having said that, I am assuming your dba is asking you to enable this so that they can run their oracle installer in graphic mode or something ? Is that right ? If it is right, please consider using ssh tunneling for X-windows traffic. Just search for ssh tunneling in the forums and you will find a ton of answered questions.

Hope this helps.
________________________________
UNIX because I majored in cryptology...
senthil_kumar_1
Super Advisor

Re: How to connect HPUX CDE (GUI - mode)

Hi Nyga,

I have downloaded and installed trial version of "X-Win32".

Now i am able to connect some of HPUX server through XDMCP query.

But i am not able to connect some of HPUX servers.

How to sovle this.
V. Nyga
Honored Contributor

Re: How to connect HPUX CDE (GUI - mode)

Hi senthil,

do you get any error messages?
Could it be - like mentioned above - that these servers are in another network?
Or is it a particular os?

V.
*** Say 'Thanks' with Kudos ***
Sunny123_1
Esteemed Contributor

Re: How to connect HPUX CDE (GUI - mode)

Hi

Check that CDE is insttalled or not in that servers.Or refer Nyga's reply.


Regards
Sunny
senthil_kumar_1
Super Advisor

Re: How to connect HPUX CDE (GUI - mode)

Hi All,

I am having three HPUX 11.00 server.

Of that, i am able to connect XDMCP in one server but not in other two servers.

I checked if CDE software is installed?

1)Successfull server:

root@ad002060:/home/opsmgr > swlist -l product | grep -i cde
CDE B.11.00 HP-UX CDE User Interface
PHSS_13409 1.0 CDE Loc Action/Res Dec97 Cumulative Patch
PHSS_16482 1.0 CDE Localization for UTF8 locales
PHSS_20140 1.0 CDE Runtime OCT99 Cumulative Patch
PHSS_20145 1.0 CDE Msg Cat OCT99 Cumulative Patch
PHSS_25194 1.0 CDE Runtime OCT2001 Periodic Patch
PHSS_25199 1.0 CDE Msg Cat OCT2001 Periodic Patch


2)Not successfull server - 1:

root@lgapps:/arch_logs > swlist -l product | grep -i cde
CDE B.11.00 HP-UX CDE User Interface
CDEDevKit B.11.00.01 CDE Developer Kit
PHSS_16482 1.0 CDE Localization for UTF8 locales
PHSS_25194 1.0 CDE Runtime OCT2001 Periodic Patch
PHSS_25199 1.0 CDE Msg Cat OCT2001 Periodic Patch
PHSS_25787 1.0 CDE Runtime DEC2001 Periodic Patch


3)Not successfull server 2:

root@aa128116:/root > swlist -l product | grep -i cde
CDE B.11.00 HP-UX CDE User Interface
CDEDevKit B.11.00.01 CDE Developer Kit
PHSS_13409 1.0 CDE Loc Action/Res Dec97 Cumulative Patch
PHSS_16482 1.0 CDE Localization for UTF8 locales
PHSS_20863 1.0 CDE Msg Cat MAR2000 Periodic Patch
PHSS_20864 1.0 CDE Runtime MAR2000 Periodic Patch
PHSS_26495 1.0 CDE Msg Cat Periodic Patch
PHSS_27427 1.0 CDE Runtime Patch
PHSS_30010 1.0 CDE Runtime Patch


How to solve this problem.
Mel Burslan
Honored Contributor

Re: How to connect HPUX CDE (GUI - mode)

from your windows workstation, please open a DOS command promp and run

ipconfig /all

on the successful server and unsuccessful servers, run these commands:

netstat -in
netstat -rnv

and post the output here from all of them, separated in a way that we can understand. your traffic might be getting blocked by your network settings
________________________________
UNIX because I majored in cryptology...
Andrey Chipalyuk
Frequent Advisor

Re: How to connect HPUX CDE (GUI - mode)

>>Now i am able to connect some of HPUX server through XDMCP query.
>>But i am not able to connect some of HPUX servers.
>>How to sovle this.

You must check XDMCP:

netstat -a|grep xdmcp

Check dtlogin also:

ps -ef|grep dt
senthil_kumar_1
Super Advisor

Re: How to connect HPUX CDE (GUI - mode)

Hi All,

Still i am not able to connect GUI using xdmcp by exceed.

1)I am able to connect GUI in below server (HP-UX 11.11):


root@:/root > swlist -l product | grep -i cde
CDE B.11.11 HP-UX CDE User Interface
PHSS_30788 1.0 CDE Base Periodic Patch
PHSS_30789 1.0 CDE Applications Periodic Patch
VUEtoCDE B.11.11 HP VUE to CDE Migration Tools



root@:/root > graphinfo
sh: graphinfo: not found.


root@:/root > netstat -a | grep -i xdmcp


In above server, i am able to connect GUI.

2)But in below server, i am not able to connect GUI.

root@aa128116:/root > swlist -l product | grep -i cde
CDE B.11.00 HP-UX CDE User Interface
CDEDevKit B.11.00.01 CDE Developer Kit
PHSS_13409 1.0 CDE Loc Action/Res Dec97 Cumulative Patch
PHSS_16482 1.0 CDE Localization for UTF8 locales
PHSS_20863 1.0 CDE Msg Cat MAR2000 Periodic Patch
PHSS_20864 1.0 CDE Runtime MAR2000 Periodic Patch
PHSS_26495 1.0 CDE Msg Cat Periodic Patch
PHSS_27427 1.0 CDE Runtime Patch
PHSS_30010 1.0 CDE Runtime Patch


root@:/root > graphinfo
graphinfo: unable to open device file at /dev/crt


root@:/root > netstat -a | grep -i xdmcp

How to solve the 2 one.

please help me, i can provide if you need more details.



OldSchool
Honored Contributor

Re: How to connect HPUX CDE (GUI - mode)

you might start by answering the posts above from Mel B and Andrey C, specifically,

"from your windows workstation, please open a DOS command promp and run

ipconfig /all

on the successful server and unsuccessful servers, run these commands:

netstat -in
netstat -rnv"


-AND-

"Check dtlogin also:

ps -ef|grep dt"


What error messages, if any, do you get on the non-working one?

What OS is the non-working one?

Is CDE even started on the non-working one?

Not sure why you keep trying graphinfo.....
senthil_kumar_1
Super Advisor

Re: How to connect HPUX CDE (GUI - mode)

1)I am able to ping both servers from my windows xp.


2)I am getting the error "Fatal error: manager unwilling." while connecting unsuccessfull server from exceed.

3)Output of the command "#ps -ef | grep -i dt"

Successfull server:

root@lgsna:/root > ps -ef | grep -i dt
root 2048 1 0 Jun 10 ? 0:00 /sbin/sh /usr/dt/bin/dtrc
root 2077 2048 0 Jun 10 ? 0:00 /usr/dt/bin/dtlogin
root 28105 737 0 Aug 4 ? 0:00 /usr/dt/bin/rpc.ttdbserver
root 20296 20260 1 10:33:54 pts/0 0:00 grep -i dt


Unsuccessfull server:

root@aa128116:/root > ps -ef | grep -i dt
root 1993 1 0 Jul 4 ? 0:00 /sbin/sh /usr/dt/bin/dtrc
root 2037 1993 0 Jul 4 ? 0:00 /usr/dt/bin/dtlogin
root 28333 28288 1 11:40:30 pts/0 0:00 grep -i dt

4)How to know that CDE has been started, if not how to start?

5)OS of non working one is HP-UX 11.00 and HP-UX 11.31, I am having this same issue in that both OS. (I think it may not related to OS.)
OldSchool
Honored Contributor

Re: How to connect HPUX CDE (GUI - mode)

see if the file "/var/dt/Xerrors" shows anything relevant on the "non-working" boxes.

also check upd port 177 is open.

check for the presence of /etc/X11/xdm/Xaccess file, and compare it's contents (working -vs- non-working)

there are other ways besides xdmcp to connect by the way (like x tunneled thru ssh)