Does anyone know if possible to logout without executing the .logout file?
Thanks in advance!
--
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.
[1] 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
1. Help! .logout not executed on logout!
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
3. Execute a script, when logout from kde
5. Execute something on logout?
7. bash-logout not always executed with CDE
8. ipc
9. what file executes at logout?
10. executing a common file while logout
11. Script to execute on logout
12. How to re-read /etc/profile file at ksh without logout
13. How do you logout or exit without killing the window manager or X server?