Operating System - HP-UX
1830939 Members
2844 Online
110017 Solutions
New Discussion

Re: The desktop messaging system could not be started

 
SOLVED
Go to solution
ran_6
Occasional Advisor

The desktop messaging system could not be started

Dear forum

After fresh installation of HP UX 11 on a HP9000 server I'm getting "The desktop messaging system could not be started ..." error message when trying to connect to the CDE via Xmanager from my Win2k desktop.

Running the nslookup with both hostname and IP address of my Win2k desktop returns the same (successful) result.

The length of the hostname is less then 8 character.

Please advice,
Regards,
Ran.
14 REPLIES 14
Sridhar Bhaskarla
Honored Contributor
Solution

Re: The desktop messaging system could not be started

Hi,

What errors are you getting if you run the command /usr/contrib/bin/X11/dr_dt?

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
ran_6
Occasional Advisor

Re: The desktop messaging system could not be started

Dear Sri,

Attached you can find the output of the dr_dt command.

Ran.
John Dvorchak
Honored Contributor

Re: The desktop messaging system could not be started

Since this is a new installation I wonder if the HPUX box knows it's own name and address. Not having the name and address configured properly will give the same error. Make sure that /etc/rc.config.d/netconf has the correct name and address. Also make sure the the first entries in /etc/hosts is:

127.0.0.1 localhost loopback
123.123.123.23 your_server.FQDN.com your_server

Where your_server is of course your HPUX box Fully Qualified Domain name and then short name.

If the host name and/or address is not correct in both files the CDE will not start up.

Also if you just want to start over you can, as root, just run:

set_parms initial

which will have you configure the entire system again. Not a big deal and you can see how it is set now. Also do a man 1M set_parms to see the other options like "address" "hostname" etc. It is a very handy tool.

If it has wheels or a skirt, you can't afford it.
ran_6
Occasional Advisor

Re: The desktop messaging system could not be started

Thanks John,

Iâ ve double-checked all my network configuration files â all looks OK.

Any more advice?

Regards,
John Dvorchak
Honored Contributor

Re: The desktop messaging system could not be started

I replied the first time before you attached the ouput file. The first big problem I see is just as I suppected, it doesn't know it's own name and your env $DISPLAY is set to null "". Please follow my previous instructions with set_parms initial to get it all straight.
If it has wheels or a skirt, you can't afford it.
John Dvorchak
Honored Contributor

Re: The desktop messaging system could not be started

Ok if that is all fine then do this:

Telnet to your HPUX box from the Window box.
do a who -mT to get what the HPUX box thinks your Windows box really is.

Then do a export of the display:

export DISPLAY=your.windows.box:0

If you have the Windows Xmanager setup for full screen (some call it "single window") it should work.

If it has wheels or a skirt, you can't afford it.
ran_6
Occasional Advisor

Re: The desktop messaging system could not be started

Dear John,

Tried all your advices but no luck, any idea?

Regards,
Ran.

Sridhar Bhaskarla
Honored Contributor

Re: The desktop messaging system could not be started

Hi,

Sorry for the delay. Stuck up with some deadlines here.

Check your /var/dt/Xerrors and see if there are any messages printed.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
John Dvorchak
Honored Contributor

Re: The desktop messaging system could not be started

Ok sorry, I got busy also. Let's see if dtlogin is running on the HPUX box:

ps -ef|grep dtlogin

Hopefully you will get something.

Check /etc/rc.config.d/desktop and make sure it says CDE:

root> cat desktop
# CDE Desktop enabled Mon Apr 22 14:25:39 EDT 2002
DESKTOP=CDE



If it has wheels or a skirt, you can't afford it.
ran_6
Occasional Advisor

Re: The desktop messaging system could not be started

Hi Guys,

Tried all the above but the problem is still there.

Attach is the Xerror output and the dr_dt output.

Ran.

ran_6
Occasional Advisor

Re: The desktop messaging system could not be started

and the Xerror ....
Sridhar Bhaskarla
Honored Contributor

Re: The desktop messaging system could not be started

Hi Ran,

Try the following. Telnet|rlogin to the server and

1. Run "nslookup your_hostname" on the HP9000 server and see if it returns the correct address.
2. /etc/ping your_hostname and see if you get the response.
3. Look at .dt/startlog file and fix any errors found.

This is most likely an nslookup issue on the server not on win2k.

-Sri

You may be disappointed if you fail, but you are doomed if you don't try
Mcdon_1
New Member

Re: The desktop messaging system could not be started

Hi,

I am facing a similar problem. But i am able to connect to CDE as a root user but not as any other user (eg. oracle9i user)

Out put of dr_dt command is attached for reference.

Some other details (from oracle9i user):
$ cat /etc/rc.config.d/desktop
# CDE Desktop enabled Thu Feb 17 13:42:52 SST 2005
DESKTOP=CDE
DTPRTSVR=
$ nslookup your_hostname
Using /etc/hosts on: metlifeD

looking up FILES
*** No address information is available for "your_hostname"
$ cat .dt/startlog
--- Fri Jul 4 15:03:33 IST 2008
--- /usr/dt/bin/Xsession starting...
--- Xsession started by dtlogin
--- sourcing /home/oracle9i/.dtprofile...
--- sourcing /usr/dt/config/Xsession.d/0010.dtpaths...
--- sourcing /etc/dt/config/Xsession.d/0010.migration...
--- sourcing /usr/dt/config/Xsession.d/0020.dtims...
--- sourcing /usr/dt/config/Xsession.d/0030.dttmpdir...
--- sourcing /usr/dt/config/Xsession.d/0040.xmbind...
--- sourcing /usr/dt/config/Xsession.d/0060.srcsysenv...
--- sourcing /etc/dt/config/Xsession.d/9000.migration...
--- starting /usr/dt/bin/dthello &
--- starting /usr/dt/bin/dtsearchpath -ksh
--- starting /usr/dt/bin/dtappgather &
--- execing /usr/dt/bin/dtsession ...
not sourcing /home/oracle9i/.profile (see /home/oracle9i/.dtprofile)
Jeeshan
Honored Contributor

Re: The desktop messaging system could not be started

mcdon, don't ever question to any other thread. I suggest you to open a new thread.
a warrior never quits