Thanks to Mr Tyson Ackland, who was kind enough to
tell me that CDE equivalent for .xsession is
$HOME/.dt/sessions/sessionetc.
And that it is possible to make a logout from the
system happen automatically after exiting the
application in sessionetc:
/usr/local/your_application etc... (NOT backgrounded)
/usr/dt/bin/dtaction ExitSession
I tried this out and it seems to work. However, this
approach consumes more system resources than
.xsession because all the CDE stuff starts up,
too. That's why I haven't taken this in use yet.
I haven't received any good ideas from Compaq,
either. They say that there might be something to fix
this in patch kit 3 - but I wouldn't count on it.
Regards,
Minna
The original message follows:
Dear Managers,
recently I upgraded a couple of AlphaServers from
3.2C to 4.0E.
After that, my users have been experiencing problems
during startup of their X application. They are using X
software on their PC desktop (Reflection X, Xvision
etc.) They connect with XDMCP and start their
application from .xsession file in their home directory.
After upgrades, the application rarely starts up during
first attempt. Often they have to try many times before
succeeding and the situation seems to get worse all
the time (maybe because I haven't restarted the
servers for a while).
Nothing appears in /var/dt/Xerrors file, but I've directed
the output from running .xsession in a log file, and it
says
/usr/home/user/.xsession[2]: 3699 Memory fault
X connection to p8383:0.0 broken (explicit kill or server
shutdown).
This produces a core file, too, but I don't really know
how to analyze it.
Regular CDE users (like myself) don't have problems,
this seems to have something to do with running the
application binary.
The users are running Korn shell and it came into my
mind that maybe something could be done with ulimit
or system wide parameters but I don't know where to
start.
It might also be wise to replace the .xsession file with
CDE style files but so far I haven't figured out how to
do this.
I'd be grateful of any ideas to solve this problem.
Regards,
Minna Varjonen
Sys Admin
Orion Corp.
Received on Tue Nov 30 1999 - 07:08:51 NZDT