Operating System - HP-UX
1831944 Members
3153 Online
110032 Solutions
New Discussion

Only root can access CDE more than once.

 
Andrew Penney
Advisor

Only root can access CDE more than once.

I'm using a third party package to fire up an remote Xsession on an L2000 HPUX11.0 server.(Graphon-Bridges)

The root account works fine. All other users can access the X interface once, and after they log out, they only recieve the blue copyright screen the next time they try to connect then the software closes itself.

The user accounts can reconnect if I remove the .dt directory from their home directories.

I think it may be a permission issue. Should I reinstall the CDE runtime bits and see if that works? or has anyone else had this problem and fixed it?

Thanks in advance everyone.
4 REPLIES 4
Vincenzo Restuccia
Honored Contributor

Re: Only root can access CDE more than once.

Check $HOME/.dtprofile
Alex Glennie
Honored Contributor

Re: Only root can access CDE more than once.

It may be useful to name & shame the packages ..... However : why not check the permissions on the .dt directory and see if they change ... if they do get in touch with the vendor.

CDE's diagnostic tool dr_dt is v.good on permissions but i don't think it checks on users .dt dirs.

However perhaps if its not permissions it could be resources ? maybe your saving a resource in either a home or current session that's got a conflict ... check the contents of $HOME/.dt/sessions (home or current) to see if you can spot anything ...maybe worth comaring vs the root user ?

If you are using a current session ... try saving a home session where no apps / clients are running and save this and return to it each time a user logs in.

If all else fails make use of $HOME/.dt/sessions/sessionexit (not there by default) create a script of this name, make it executable and CDE will run it last thing before a user logs out ...simply rm -R $HOME/.dt sounds like it may get you out of a hole ?
Rick Beldin
HPE Pro

Re: Only root can access CDE more than once.

I've had some experience with GraphOn. Make sure that you have the latest CDE patches. There was a defect in dtlogin that prevented it from working properly in its default form.

The other thing to check would be to check the following areas in order:

$HOME/.dt/errolog
$HOME/.dt/startlog
/var/dt/dt/Xerrors
$HOME/core (file core - does one exist? is it from dtsession?)

Necessary questions: Why? What? How? When?
Andrew Penney
Advisor

Re: Only root can access CDE more than once.

Well, I fixed the problem. Using this software as a client, it seems that I can only use /usr/bin/sh as my login shell. If I use any others, such as bash or Korn, the xserver will not allow connection.

I'm not sure if this is a HP-UX thing or a Graphon Bridges problem. I'm recreating my users one by one with the /usr/bin/sh and I'll see if it works.

Thanks everyone.