Does anyone know if possible to logout without executing the .logout file?
Thanks in advance!
You could always kill the shell's PID...
Joshua A. Laff, CRL operator, UofI (217) 384-6249
Disclaimer: If I were speaking for the UofI, I wouldn't be paying tuition.
 remove or rename the .logout-file .Quote:>Does anyone know if possible to logout without executing the .logout file?
Name : Bhagwandin Edgar S.
Address : PO BOX 6879 6503 GJ Nijmegen, The Netherlands
I believe that the best command is :Quote:>Does anyone know if possible to logout without executing the .logout file?
kill -1 0
This kills your current process ID of shell
Kenneth C.P. Leung 1303 Walnut Hill Ln. 2nd Floor, Irving, TX 75038
Information Specialist Voice : 214-550-8371 Fax : 214-550-9269
Innovax Concepts Corp. AURORA Supermarket Application
On Wed, 20 Jan 1999 20:35:59 GMT, Jonathan Krebs vouchsafed:
My first idea is that you change your Netscape configuration to post
plaintext to usenet.
With regard to your question, when you log out by way of the desktop,
what you're doing (in part) is killing the window manager (which, in a
typically-configured system) causes the X server either to terminate of
to reset. In either of these cases, your various windows (such as
xterm), which communicate with the X server via sockets, are suddenly
left holding the dangling end of a socket in their hand.
I would imagine that they're terminating immediately, rather than
performing niceties like running .logout...
I might be way off base with this, but it seems to fit with what I know
of X server/client interaction.
As for a solution, I don't know. If .logout needs called for each
separate terminal window, I can't think of one. If you need it to be
called once for the entire X session, you might try explicitly invoking
it in your .xinitrc after the line which runs your wm. This is a poor
kludge, but it might get you what you want.
Carl Jacobs - Software Engineer by title, SysAdmin by fait accompli
Opinions expressed are not those of Raytheon Systems Company.
cjacobs at fallschurch.esys.com, hyde at rtfm.netset.com (munged)
"Tell me your dreams, and I'll crush them." -Rebecca B. Gray