Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #242338
| From | Greg Wooledge <greg@wooledge.org> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: How to cause a process started in .xsessionrc to terminate with x-session termination? |
| Date | 2021-11-23 14:00 +0100 |
| Message-ID | <DmDyV-4gA-1@gated-at.bofh.it> (permalink) |
| References | (5 earlier) <DlFW9-2sS-1@gated-at.bofh.it> <Dmjqx-Ko-1@gated-at.bofh.it> <DmjTA-TP-7@gated-at.bofh.it> <DmkFX-1p4-1@gated-at.bofh.it> <DmCMx-41p-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue, Nov 23, 2021 at 12:05:37PM +0000, Jonathan Dowland wrote: > On Mon, Nov 22, 2021 at 11:39:46AM -0500, Greg Wooledge wrote: > > I don't know the exact time that I closed the login shell on tty2. It > > *could* have been at exactly 11:19:00 but that seems like a suspiciously > > round number (and a suspiciously long time after I started the service). > > You don't, but your system(d) does: the system instance, not the user > instance. > > From my "journalctl --follow" output, after a "su -" and then > immediately after closing the resulting shell: > > Nov 23 12:03:27 coil su[1330250]: pam_unix(su-l:session): session closed for user root Nov 22 11:18:27 unicorn systemd[1604310]: Started Sleep command for testing. Nov 22 11:18:50 unicorn login[1604301]: pam_unix(login:session): session closed> Nov 22 11:18:50 unicorn systemd[1]: getty@tty2.service: Succeeded. Nov 22 11:18:50 unicorn systemd[1]: session-7634.scope: Succeeded. Nov 22 11:18:50 unicorn systemd[1]: getty@tty2.service: Scheduled restart job, > Nov 22 11:18:50 unicorn systemd-logind[611]: Session 7634 logged out. Waiting f> Nov 22 11:18:50 unicorn systemd[1]: Stopped Getty on tty2. Nov 22 11:18:50 unicorn systemd[1]: Started Getty on tty2. Nov 22 11:18:50 unicorn systemd-logind[611]: Removed session 7634. Nov 22 11:18:50 unicorn pulseaudio[1604331]: Error opening PCM device front:1: > Nov 22 11:18:50 unicorn systemd[1604310]: pulseaudio.service: Succeeded. Nov 22 11:19:00 unicorn systemd[1]: Stopping User Manager for UID 1004... This basically confirms my guesswork: the "User Manager" isn't stopped immediately when the last login session is closed. There's some delay. Maybe it's the next time the clock reads *:00 or maybe it's 10 seconds. Nov 22 11:19:00 unicorn systemd[1]: Stopping User Manager for UID 1004... Nov 22 11:19:00 unicorn systemd[1604310]: Stopped target Main User Target. Nov 22 11:19:00 unicorn systemd[1604310]: Stopping D-Bus User Message Bus... Nov 22 11:19:00 unicorn systemd[1604310]: Stopping Multimedia Service... Nov 22 11:19:00 unicorn systemd[1604310]: Stopping Sleep command for testing... Nov 22 11:19:00 unicorn systemd[1604310]: dbus.service: Succeeded. Nov 22 11:19:00 unicorn systemd[1604310]: Stopped D-Bus User Message Bus. Nov 22 11:19:00 unicorn systemd[1604310]: sleeper.service: Succeeded. Nov 22 11:19:00 unicorn systemd[1604310]: Stopped Sleep command for testing. [...] It seems to do what's desired. That's the important takeaway.
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
How to cause a process started in .xsessionrc to terminate with x-session termination? Arkadiusz Dabrowski <ardabro@gmail.com> - 2021-11-17 22:40 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Greg Wooledge <greg@wooledge.org> - 2021-11-17 23:10 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Brian <ad44@cityscape.co.uk> - 2021-11-18 00:50 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Greg Wooledge <greg@wooledge.org> - 2021-11-18 14:10 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? songbird <songbird@anthive.com> - 2021-11-18 14:10 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? David Wright <deblis@lionunicorn.co.uk> - 2021-11-18 21:40 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Greg Wooledge <greg@wooledge.org> - 2021-11-18 21:50 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Jonathan Dowland <jon+debian-user@dow.land> - 2021-11-18 22:30 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Greg Wooledge <greg@wooledge.org> - 2021-11-18 23:00 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Arkadiusz Dabrowski <ardabro@gmail.com> - 2021-11-18 23:10 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Brian <ad44@cityscape.co.uk> - 2021-11-19 19:40 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Arkadiusz Dabrowski <ardabro@gmail.com> - 2021-11-20 21:50 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Greg Wooledge <greg@wooledge.org> - 2021-11-20 22:20 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Arkadiusz Dabrowski <ardabro@gmail.com> - 2021-11-21 19:20 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Greg Wooledge <greg@wooledge.org> - 2021-11-21 20:20 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Arkadiusz Dabrowski <ardabro@gmail.com> - 2021-11-21 20:50 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? David Wright <deblis@lionunicorn.co.uk> - 2021-11-22 06:50 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Greg Wooledge <greg@wooledge.org> - 2021-11-22 13:40 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? David Wright <deblis@lionunicorn.co.uk> - 2021-11-22 21:50 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Musbur <musbur@posteo.org> - 2021-11-22 16:30 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Greg Wooledge <greg@wooledge.org> - 2021-11-22 17:00 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Greg Wooledge <greg@wooledge.org> - 2021-11-22 17:50 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Jonathan Dowland <jon+debian-user@dow.land> - 2021-11-23 13:10 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Greg Wooledge <greg@wooledge.org> - 2021-11-23 14:00 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? David Wright <deblis@lionunicorn.co.uk> - 2021-11-23 16:30 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Andrei POPESCU <andreimpopescu@gmail.com> - 2021-12-10 14:40 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Andrei POPESCU <andreimpopescu@gmail.com> - 2021-12-10 15:10 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? David Wright <deblis@lionunicorn.co.uk> - 2021-11-22 21:50 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Greg Wooledge <greg@wooledge.org> - 2021-11-22 22:20 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? David Wright <deblis@lionunicorn.co.uk> - 2021-11-23 16:30 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Jonathan Dowland <jon+debian-user@dow.land> - 2021-11-18 22:30 +0100
Re: How to cause a process started in .xsessionrc to terminate with x-session termination? Mark Neyhart <Mark.Neyhart@akleg.gov> - 2021-11-18 22:20 +0100
csiph-web