RE: Logout
RE: Logout
- Subject: RE: Logout
- From: Joe Kelly <email@hidden>
- Date: Thu, 18 Apr 2002 14:37:30 -0700
It would seem, from reading the Apple materials
(
http://developer.apple.com/techpubs/macosx/Essentials/SystemOverview/Bootin
gLogin/) that sending a "quit all" apple event to "loginwindow" is more
appropriate than outright killing "windowmanager". Loginwindow will actually
quit open apps in the usual polite fashion.
The "init" process seems responsible for both windowmanager and loginwindow.
It restarts both if either one dies.
Loginwindow is responsible for logging in users and launching the Finder and
the Dock, as well performing the logout procedure.
That's a good chapter to read. Kind give you an idea of the fundamentals.
joe
-> -----Original Message-----
-> From: Jan Hendrikx [
mailto:email@hidden]
-> Sent: Wednesday, April 17, 2002 3:36 PM
-> To: email@hidden
-> Subject: Logout
->
->
-> Dear Scripting colleagues,
->
-> I was tackling a problem that was related to loggin in and
-> loggin out, and came across the following observation: if
-> you kill the process called "Windowmanager" it has every
-> semblance of being a similar thing to logging out. You get
-> the blue screen and the login options. I don't know what
-> happens to all the background processes, but what is the
-> difference between no longer bein logged in and being logged
-> out? So, for all practical purposes, it would seem that a
-> shell script that kills "Windowmanager" does the job of
-> logging you out...
->
->
-> Kind regards,
->
-> Jan
-> _______________________________________________
-> applescript-users mailing list | email@hidden
-> Help/Unsubscribe/Archives:
->
http://www.lists.apple.com/mailman/listinfo/applescript-users
-> Do not post admin requests to the list. They will be ignored.
->
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.