logout without executing .logout

logout without executing .logout

Post by Jun Sh » Sat, 17 Jul 1993 01:56:03



Does anyone know if possible to logout without executing the .logout file?


Thanks in advance!
--

 
 
 

logout without executing .logout

Post by Joshua A. La » Sat, 17 Jul 1993 03:25:50


:)Does anyone know if possible to logout without executing the .logout file?

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.

 
 
 

logout without executing .logout

Post by Dik T. Wint » Sat, 17 Jul 1993 06:43:40



 > Does anyone know if possible to logout without executing the .logout file?
 >

 >
exec true
--
dik t. winter, cwi, kruislaan 413, 1098 sj  amsterdam, nederland

 
 
 

logout without executing .logout

Post by Edgar Bhagwand » Sat, 17 Jul 1993 04:02:04



Quote:>Does anyone know if possible to logout without executing the .logout file?

[1] remove or rename the .logout-file .
        or
[2] kill -9 $$


>Thanks in advance!
>--


Cheers,
Edgar.

--
Name    : Bhagwandin Edgar S.


Address : PO BOX 6879  6503 GJ Nijmegen, The Netherlands

 
 
 

logout without executing .logout

Post by Kenneth Leu » Sat, 17 Jul 1993 09:05:44



Quote:>Does anyone know if possible to logout without executing the .logout file?

I believe that the best command is :

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

2. suexec problem?

3. Execute a script, when logout from kde

4. Soundblaster AWE-64 Value

5. Execute something on logout?

6. vt220 function keys

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?