1849917 Members
3763 Online
104047 Solutions
New Discussion

Re: ttsession

 
SOLVED
Go to solution
Cenk Guler
Occasional Contributor

ttsession

I had to re-install the OS to my C3600. Everything was OK. But when I tried to login for the first time as a root, an error poped up. It was giving me "Unable to initialize or connect to the Desktop Messaging Sytem..."

What should I do to get rid of this error?

Thanks,
4 REPLIES 4
Steve Steel
Honored Contributor

Re: ttsession

Hi

You have 2 choices. I always do 2

1)If you are not working with something like sun you can turn it off.

1a)vi /etc/inetd.conf
comment out the line containing rpc.ttdbserver
1b)inetd -c to reread
1c)kill the process rpc.ttdbserver

2)Clean it out
This is best done when CDE is not in use.

Tooltalk is the protocol used by CDE to communicate.

Your problem is.
The TT_DB database is corrupt.

2a)vi /etc/inetd.conf
2b)Find
rpc stream tcp swait root /usr/dt/bin/rpc.ttdbserver 100083 1 /usr/dt/bin/rpc.tt
dbserver
2c)Comment it out.
2d)inetd -c
2e)Find the $PPID of /usr/dt/bin/rpc.ttdbserver and kill -9 $PPID
2f)mv /TT_DB/ to other name on root and any local directories where it exists.
ll /TT_DB /*/TT_DB and remove all directories found which are local.
2g)vi /etc/inetd.conf
2h)Find
rpc stream tcp swait root /usr/dt/bin/rpc.ttdbserver 100083 1 /usr/dt/bin/rpc.ttdbserver
2i)Remove the comment and reopen the line.
2j)inetd -c

The first rpc request will rebuild the database.


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Steve Steel
Honored Contributor

Re: ttsession

Hi


Almost forgot.

check that rpc.ttdbserver is running first in case it is not installed.


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Alex Glennie
Honored Contributor

Re: ttsession

The most likely cause is hostname resolution : I'd be tempted to run set_parms initial and check out your ip, hostname and network entries, or check manually via nslookup and view the contents of /etc/hosts, resolv.conf, etc etc

maybe if using DNS use files first via nsswitch.conf ? (dr_dt - The CDE diagnostic tool may also pick up something)
Steve Steel
Honored Contributor
Solution

Re: ttsession

Hi


The name resolution is a good point.


run
/usr/contrib/bin/X11/dr_dt


Correct errors


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)