Operating System - HP-UX
1833153 Members
3235 Online
110051 Solutions
New Discussion

not able to start cde-session

 

not able to start cde-session

Hi,

when logging in as non-root I get the following message:

"Unable to initialize or connect to the Desktop messaging system. Check your $HOME/.dt/errorlog for more information. Press OK and your session will exit."

Lookin into .dt/errorlog reveals the following:

"dtsession: The ToolTalk session server (ttsession) could not be started. This
indicates that either ToolTalk is not installed or that it is not
installed correctly on this machine. Please see your System
Administrator.

Workspace Manager: I/O error on display:: dummy:0.0"

But there is a process "/usr/dt/bin/ttsession -s" running.

I am able to log in as root without problems. Please give me some hints! Should I reinstall ToolTalk. Or are there any config-files I've missed?

Best regards,
Aleksandar Vujevic
9 REPLIES 9
G. Vrijhoeven
Honored Contributor

Re: not able to start cde-session

Hi A.

Check out this link:Alex suggestions will solve the problem

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xd827cbaac6dcd5118ff40090279cd0f9,00.html

Gideon

Sridhar Bhaskarla
Honored Contributor

Re: not able to start cde-session

Hi,

Looks like it is a permissions issue.

Check the permissions of /etc/resolv.conf, /etc/hosts, /etc/services files. They should have read permissions for others.

Run /usr/contrib/bin/X11/dr_dt

and fix the errors that show up.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
D.Blond
Frequent Advisor

Re: not able to start cde-session

HI,
Remove
$HOME/.TTauthority
$HOME/.Xauthority
$HOME/.dt
$HOME/.dtprofile
Dominique
D.Blond
Steven E. Protter
Exalted Contributor

Re: not able to start cde-session

Adding this line to my user profile:

DISPLAY=$(who -m -u | awk '{print $8}'):0.0
export DISPLAY

Usually makes that problem go away.

I put it in /etc/profile

others put it in .profile

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

Re: not able to start cde-session

Hi and thanks for the quick replies. Unfortunatley I still can't log in.

I checked dr_dt's output and removed some warnings about some missing langauge files. Now I get no warnings at all.

I installed patch PHSS_29201 which resolves some ttsession issues, notably a version mismatch warning showing up in syslog.log:

"/usr/dt/bin/rpc.ttdbserver[1492]: rpc.ttdbserverd version (1.1) does not match the version () of the database tables. Please install an rpc.ttdbserverd version (or greater)"

The syslog is clean now. I would guess the problem has something to do with permissons but then dr_dt says it's all right. Is there anything else I can do?

Thanks,
Aleks
Alex Glennie
Honored Contributor

Re: not able to start cde-session

upon what h/w are you logging in via ? workstation,xterminal,pc

nslookup dummy ? nsloopup dummy's_ip ?

can we see the entries in /etc/hosts or is DNS or NIS involved ? If yes what happens if we rely on entries in /etc/hosts via nsswitch.confs hosts: line ....

ll $HOME ? for an affected user ? what's the ownership of the .TTauthority file ? it's not owned by root at all ? or are the non-root users sharing the same $HOME or similar ie uuid

Re: not able to start cde-session

Hi Alex,

it looks like it doesn't matter how I try to log in (workstation, xterminal or pc (via Exceed)). It's the same error message (see 1st message).

Networking is ok. I'm using DNS and I can ping and nslookup the workstation. I can start a CDE-session as root but not as some other user.

I just noticed there is no .TTauthority file for some users. Those who have this file the ownership ist 600 (owned by the user).

Kenneth Platz
Esteemed Contributor

Re: not able to start cde-session

Try checking the permissions on /tmp (should be 777), /var/tmp (should be 777), and the user's home directories (should be 755, and owned by the user).

If root can login but the users cannot, it's almost always a permission problem somewhere. I would also check the /etc/hosts file (should be 444), the /etc/resolv.conf file (again, 444), and /etc/nsswitch.conf (444).

Hope this helps.
I think, therefore I am... I think!

Re: not able to start cde-session

The Problem is solved. Because of Kenneth's post I checked the permissions of some files again.

/etc/resolv.conf had 640. Changed it to 644 and everything is ok. Unfortunatly dr_dt doesn't check this file.

Thank you all for your help.

Aleks

P.S.: At least I learned a lot about CDE ;-)