Operating System - HP-UX
1832611 Members
3113 Online
110043 Solutions
New Discussion

Re: I am not able to connect the GUI mode using XDMCP in HP-UX 11i v3

 
SOLVED
Go to solution
senthil_kumar_1
Super Advisor

I am not able to connect the GUI mode using XDMCP in HP-UX 11i v3

Hi All,

I am new to HP-UX.

I have installed HP-UX 11i v3 in new 5 HP VMs.

I have checked if the CDE is installed:

# swlist -l product | grep -i CDE
CDE B.11.31 HP-UX CDE User Interface


I am able to connect X-Terminal through exceed and run graphical window / application (xclock).

But i am not able to connect GUI of whole server through XDMCP.

How to do solve this.

22 REPLIES 22
Torsten.
Acclaimed Contributor
Solution

Re: I am not able to connect the GUI mode using XDMCP in HP-UX 11i v3

I would expect something like this:

CDE-English B.11.31 English CDE Environment

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
senthil_kumar_1
Super Advisor

Re: I am not able to connect the GUI mode using XDMCP in HP-UX 11i v3

Hi Torsten,

I want to install "CDE-English B.11.31 English CDE Environment".

Where we can download from?
Torsten.
Acclaimed Contributor

Re: I am not able to connect the GUI mode using XDMCP in HP-UX 11i v3

Do you still have your installation media (DVD)?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
James R. Ferguson
Acclaimed Contributor

Re: I am not able to connect the GUI mode using XDMCP in HP-UX 11i v3

Hi:

With 11.31, CDE is an optional product. Select the CDE-xxx bundle where "xxx" is the language you want. You will find this bundle in your core OS DVD.

Regards!

...JRF...
Sunny123_1
Esteemed Contributor

Re: I am not able to connect the GUI mode using XDMCP in HP-UX 11i v3

Hi

If you have installation media you can insatall it from that DVD.


Regards
Sunny
Steven E. Protter
Exalted Contributor

Re: I am not able to connect the GUI mode using XDMCP in HP-UX 11i v3

Shalom,

Two additional items.

1) The font server is not run by default.

/sbin/init.d/xfs
Check /etc/rc.config.d/xfs

Set the start variable to 1.

2) XDMCP is blocked by some vlan configurations on the router. Try a direct connect after you have confirmed the font server is enabled.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
senthil_kumar_1
Super Advisor

Re: I am not able to connect the GUI mode using XDMCP in HP-UX 11i v3

Hi All,

Is it "CDE-English" coming with first DVD or second DVD?

Now i have mounted the first DVD in the location "/cdrom" from that how to install the CDE-English.

Could you please guide me.
James R. Ferguson
Acclaimed Contributor

Re: I am not able to connect the GUI mode using XDMCP in HP-UX 11i v3

Hi (again):

> Is it "CDE-English" coming with first DVD or second DVD?

Probably the second DVD, though I'm not positive. There should be an index (list of contents) on the DVDs that will guide you.

> Now i have mounted the first DVD in the location "/cdrom" from that how to install the CDE-English.

# swinstall -s /cdrom CDE-English

Regards!

...JRF...
Steven E. Protter
Exalted Contributor

Re: I am not able to connect the GUI mode using XDMCP in HP-UX 11i v3

Would it not be faster to just put the media in a DVD-ROM drive and look at it than to post a question here and wait for the answer?

To summarize:

CDE is not installed by default with 11.31

xfs is not configured to auto start.

Try reinstalling or installing CDE English, and make sure that font server is running before you do anything else.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
senthil_kumar_1
Super Advisor

Re: I am not able to connect the GUI mode using XDMCP in HP-UX 11i v3

Hi James,

I have mounted second DVD.

# cd /cdrom

# ll -d CDE
dr-xr-xr-x 1 root root 8192 Feb 22 2009 CDE

Now i have executed below command:

---------------------------------------------

# swinstall -s /cdrom CDE-English

======= 01/21/10 14:40:51 CST BEGIN swinstall SESSION
(non-interactive) (jobid=emdlaghpvm03-0001)

* Session started for user "root@emdlaghpvm03".

* Beginning Selection
* Target connection succeeded for "emdlaghpvm03:/".
* "emdlaghpvm03:/cdrom": Cannot open the logfile on this target
or source. Possibly the media is read-only or there is a
permission problem. Check the daemon logfile and
"/var/tmp/swagent.log" on this host for more information.
* Source: /cdrom
* Targets: emdlaghpvm03:/
* Software selections:
CDE-English,r=B.11.31,a=HP-UX_B.11.31_IA/PA,v=HP
AudioSubsystem.AUD-ENG-A-MAN,r=B.11.31,a=HP-UX_B.11.31_IA/PA,v=HP,fr=B.11.31,fa=HP-UX_B.11.31_IA/PA
AudioSubsystem.AUDIO-RUN,r=B.11.31,a=HP-UX_B.11.31_IA/PA,v=HP,fr=B.11.31,fa=HP-UX_B.11.31_IA
AudioSubsystem.AUDIO-SHLIB-IA,r=B.11.31,a=HP-UX_B.11.31_IA/PA,v=HP,fr=B.11.31,fa=HP-UX_B.11.31_IA
AudioSubsystem.AUDIO-SHLIBS,r=B.11.31,a=HP-UX_B.11.31_IA/PA,v=HP,fr=B.11.31,fa=HP-UX_B.11.31_IA/PA
AudioSubsystem.AUDIO-SRV,r=B.11.31,a=HP-UX_B.11.31_IA/PA,v=HP,fr=B.11.31,fa=HP-UX_B.11.31_IA
CDE.CDE-DTTERM,r=B.11.31,a=HP-UX_B.11.31_IA/PA,v=HP,fr=B.11.31,fa=HP-UX_B.11.31_IA
CDE.CDE-DTTERM-COM,r=B.11.31,a=HP-UX_B.11.31_IA/PA,v=HP,fr=B.11.31,fa=HP-UX_B.11.31_IA/PA
CDE.CDE-ENG-A-HELP,r=B.11.31,a=HP-UX_B.11.31_IA/PA,v=HP,fr=B.11.31,fa=HP-UX_B.11.31_IA/PA
CDE.CDE-ENG-A-MAN,r=B.11.31,a=HP-UX_B.11.31_IA/PA,v=HP,fr=B.11.31,fa=HP-UX_B.11.31_IA/PA
CDE.CDE-ENG-A-MSG,r=B.11.31,a=HP-UX_B.11.31_IA/PA,v=HP,fr=B.11.31,fa=HP-UX_B.11.31_IA/PA
CDE.CDE-FONTS,r=B.11.31,a=HP-UX_B.11.31_IA/PA,v=HP,fr=B.11.31,fa=HP-UX_B.11.31_IA/PA
CDE.CDE-HELP-RUN,r=B.11.31,a=HP-UX_B.11.31_IA/PA,v=HP,fr=B.11.31,fa=HP-UX_B.11.31_IA
CDE.CDE-HLP-RUN-CM,r=B.11.31,a=HP-UX_B.11.31_IA/PA,v=HP,fr=B.11.31,fa=HP-UX_B.11.31_IA/PA
CDE.CDE-ICONS,r=B.11.31,a=HP-UX_B.11.31_IA/PA,v=HP,fr=B.11.31,fa=HP-UX_B.11.31_IA/PA
CDE.CDE-LANGS,r=B.11.31,a=HP-UX_B.11.31_IA/PA,v=HP,fr=B.11.31,fa=HP-UX_B.11.31_IA/PA
CDE.CDE-MIN,r=B.11.31,a=HP-UX_B.11.31_IA/PA,v=HP,fr=B.11.31,fa=HP-UX_B.11.31_IA
CDE.CDE-MIN-COM,r=B.11.31,a=HP-UX_B.11.31_IA/PA,v=HP,fr=B.11.31,fa=HP-UX_B.11.31_IA/PA
CDE.CDE-RUN,r=B.11.31,a=HP-UX_B.11.31_IA/PA,v=HP,fr=B.11.31,fa=HP-UX_B.11.31_IA
CDE.CDE-RUN-COM,r=B.11.31,a=HP-UX_B.11.31_IA/PA,v=HP,fr=B.11.31,fa=HP-UX_B.11.31_IA/PA
CDE.CDE-SHLIBS,r=B.11.31,a=HP-UX_B.11.31_IA/PA,v=HP,fr=B.11.31,fa=HP-UX_B.11.31_IA/PA
CDE.CDE-SHLIBS-IA,r=B.11.31,a=HP-UX_B.11.31_IA/PA,v=HP,fr=B.11.31,fa=HP-UX_B.11.31_IA
CDE.CDE-TT,r=B.11.31,a=HP-UX_B.11.31_IA/PA,v=HP,fr=B.11.31,fa=HP-UX_B.11.31_IA
CDE.CDE-TT-COM,r=B.11.31,a=HP-UX_B.11.31_IA/PA,v=HP,fr=B.11.31,fa=HP-UX_B.11.31_IA/PA
ImagingSubsystem.IMAGE-SHLIB-IA,r=B.11.31,a=HP-UX_B.11.31_IA/PA,v=HP,fr=B.11.31,fa=HP-UX_B.11.31_IA
ImagingSubsystem.IMAGE-SHLIBS,r=B.11.31,a=HP-UX_B.11.31_IA/PA,v=HP,fr=B.11.31,fa=HP-UX_B.11.31_IA/PA
TechPrintServ.TPS-C-HELP,r=B.11.31,a=HP-UX_B.11.31_IA/PA,v=HP,fr=B.11.31,fa=HP-UX_B.11.31_IA/PA
TechPrintServ.TPS-C-SERV,r=B.11.31,a=HP-UX_B.11.31_IA/PA,v=HP,fr=B.11.31,fa=HP-UX_B.11.31_IA/PA
TechPrintServ.TPS-FONTS,r=B.11.31,a=HP-UX_B.11.31_IA/PA,v=HP,fr=B.11.31,fa=HP-UX_B.11.31_IA/PA
TechPrintServ.TPS-MAN,r=B.11.31,a=HP-UX_B.11.31_IA/PA,v=HP,fr=B.11.31,fa=HP-UX_B.11.31_IA/PA
TechPrintServ.TPS-MIN,r=B.11.31,a=HP-UX_B.11.31_IA/PA,v=HP,fr=B.11.31,fa=HP-UX_B.11.31_IA/PA
TechPrintServ.TPS-RELNOTES,r=B.11.31,a=HP-UX_B.11.31_IA/PA,v=HP,fr=B.11.31,fa=HP-UX_B.11.31_IA/PA
TechPrintServ.TPS-SERV,r=B.11.31,a=HP-UX_B.11.31_IA/PA,v=HP,fr=B.11.31,fa=HP-UX_B.11.31_IA/PA
TechPrintServ.TPS-SHLIBS,r=B.11.31,a=HP-UX_B.11.31_IA/PA,v=HP,fr=B.11.31,fa=HP-UX_B.11.31_IA/PA
* Selection succeeded.


* Beginning Analysis and Execution
* Session selections have been saved in the file
"/.sw/sessions/swinstall.last".
* "emdlaghpvm03:/": 2 filesets have the selected revision
already installed.

NOTE: More information may be found in the agent logfile using the
command "swjob -a log emdlaghpvm03-0001 @ emdlaghpvm03:/".

======= 01/21/10 14:43:57 CST END swinstall SESSION (non-interactive)
(jobid=emdlaghpvm03-0001)

---------------------------------------------

I have checked whether the CDE-English has been installed, but still it is not installed.

# swlist -l product | grep -i cde
CDE B.11.31 HP-UX CDE User Interface


How to install the software from DVD, please explain me step by step.
Johnson Punniyalingam
Honored Contributor

Re: I am not able to connect the GUI mode using XDMCP in HP-UX 11i v3

>>How to install the software from DVD, please explain me step by step<<

>>>I have mounted second DVD<<

# cd /cdrom

# ll -d CDE
dr-xr-xr-x 1 root root 8192 Feb 22 2009 CDE<<<

than did you change directory to CDE ?? and look for .depot files to install your software ??

or simple way if you are familer with "SMH" or "SAM" or you can simply type "swinstall" than follow

step 1:-

A_Server:/ # swinstall -> follow "Screen -driven"

step 2:-

Specify the source type, then host name, then path on that host

Source Depot Type: [ Network Directory/CDROM ->] [ Find Local CD ]

[ Source Host Name... ] A_Server

[ OK ] [ Cancel ] [ Help ]

step 3:- Go to Action ->Select->Software->Mark for Install-> Install
Problems are common to all, but attitude makes the difference
Dennis Handly
Acclaimed Contributor

Re: I am not able to connect the GUI mode using XDMCP in HP-UX 11i v3

>I have checked whether the CDE-English has been installed, but still it is not installed.
# swlist -l product | grep -i cde
CDE B.11.31 HP-UX CDE User Interface

You have checked to see if there is a SD product with CDE. But CDE-English is a SD bundle.

Just do:
swlist CDE-English

>Johnson: # cd /cdrom, then did you change directory to CDE? and look for .depot files

You shouldn't be looking inside your depot. /cdrom is the directory depot.
senthil_kumar_1
Super Advisor

Re: I am not able to connect the GUI mode using XDMCP in HP-UX 11i v3

Hi All,

Now i have installed the CDE-English.

Then i have installed and started xfs.

For example:

# swlist -l bundle | grep -i cde
CDE-English B.11.31 English CDE Environment


# swlist -l product | grep -i cde
CDE B.11.31 HP-UX CDE User Interface


# vi /etc/rc.config.d/xfs

RUN_X_FONT_SERVER=1
CONFIG_FILE_NAME=/etc/X11/fs/config

# ps -ef | grep -i xfs
root 67 0 0 11:30:51 ? 0:00 vxfsd
root 1566 1 0 11:32:32 ? 0:00 /usr/bin/X11/xfs -config /etc/X11/fs/config -port 7000 -daemon -quiet_if_addrinuse


Now i am able to connect CDE through XDMCP.

But immediately after logged in to the server, i am getting one pop-up screen that has following meessage.


--------------------------------------------
Action Required

The desktop messaging system could not be started.

To correct the problem:

1. Choose [OK] to return to the login screen.

2. Select Failsafe Session from the login screen's option
menu and log in.

3. Check to see that the desktop is properly installed,
the hostname is correct (/etc/hosts) and that the
network is properly configured.


For additional information, see the CDE User's Guide.

--------------------------------------------

I am not able to close this screen, so i have pressed OK, after that my session is closing automatically.


I have checked /etc/hosts

# more /etc/hosts
10.250.0.187 emdlaghpvm03
127.0.0.1 localhost loopback


How to solve this issue.
Michal Kapalka (mikap)
Honored Contributor

Re: I am not able to connect the GUI mode using XDMCP in HP-UX 11i v3

AVV
Super Advisor

Re: I am not able to connect the GUI mode using XDMCP in HP-UX 11i v3

Hi,

Try with

#swinstall -s /cdrom and see your needed product is there in the first CD, if not umount and load the second.
senthil_kumar_1
Super Advisor

Re: I am not able to connect the GUI mode using XDMCP in HP-UX 11i v3

Now i found the solution.

The issue is with /etc/nsswitch.conf.

Example:
--------------------------------------------
# more /etc/nsswitch.conf

passwd: compat
group: compat
hosts: dns [NOTFOUND=return] files
ipnodes: nis [NOTFOUND=return] files
networks: nis [NOTFOUND=return] files
protocols: nis [NOTFOUND=return] files
rpc: nis [NOTFOUND=return] files
publickey: nis [NOTFOUND=return] files
netgroup: nis [NOTFOUND=return] files
automount: files nis
aliases: files nis
services: files
--------------------------------------------




Hi All,

As I told, this issue is being solved only for one server.

Actually I am having 5 HP VM servers running HP-UX 11i v3.

The mentioned issue is solved at only one server only, remaining four have the same issue.

I tried the steps, what i have used to solve that one working server, on all four servers. but still it is giving that error message.

How to solve
Nido
Trusted Contributor

Re: I am not able to connect the GUI mode using XDMCP in HP-UX 11i v3

Hello Senthil,

Check these files and correct the entries if required for host name resolution on remaining 3 hosts.
/etc/nsswitch.conf
/etc/resolv.conf
/etc/hosts

Cheers!!
" Let Villagers Be Happy!! "
Steven E. Protter
Exalted Contributor

Re: I am not able to connect the GUI mode using XDMCP in HP-UX 11i v3

Shalom,

I think if all five servers have the same /etc/resolv.conf /etc/nsswitch.conf and /etc/hosts file and the hosts file includes all five systems, they will act the same way.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
James R. Ferguson
Acclaimed Contributor

Re: I am not able to connect the GUI mode using XDMCP in HP-UX 11i v3

Hi Senthil:

> Now i found the solution. The issue is with /etc/nsswitch.conf. ... The mentioned issue is solved at only one server only, remaining four have the same issue.

Then why do you think you have correctly identified the cause of your problem?

Regards!

...JRF...
senthil_kumar_1
Super Advisor

Re: I am not able to connect the GUI mode using XDMCP in HP-UX 11i v3

Hi James,

Actually first I tried on one server, the issue has been resolved after making some changes on /etc/nsswitch.conf.

So that I have replied that the issue has been solved.

But the same issue is having in remaining four server, I have verified the files /etc/nsswitch.conf, /etc/resolv.conf and /etc/hosts
between working server and non working servers.

All are same, but still the issue is not solved.
Nido
Trusted Contributor

Re: I am not able to connect the GUI mode using XDMCP in HP-UX 11i v3

Senthil,

One more suggestion would be to check .profile and .dtprofile.
Can you create a test user and see, if this user can login.

I had the similar issue.

Cheers!!
" Let Villagers Be Happy!! "
senthil_kumar_1
Super Advisor

Re: I am not able to connect the GUI mode using XDMCP in HP-UX 11i v3

Hi Nido,

The two files ".profile" and ".dtprofile" are available.

And I have created one test user and checked.

Still there is same issue.