On Thu, Jul 28, 2022 at 02:51:04PM -0300, Chris Mitchell wrote:
> I don't appear to have a .xsession file at all:
> 
> (Right after a "sudo updatedb")
> $ locate .xsession
>   /home/chris/.xsession-errors
>   /home/chris/.xsession-errors.old
>   /home/chris/.xsession-startup-dump

It's something you either create, or don't create.  People who use startx
are practically guaranteed to be the types who would create their own
.xsession files.

Desktop Environment users who login with a GUI Display Manager tend not
to be be the types of people to create a .xsession file, but it's never
guaranteed.

> Hm. Okay, so now that those xterms are adoptees of PID 1, is there some
> way you could discover that the now-deceased parents from which PID 1
> adopted them were instances of xtoolwait, if you didn't already know
> that?

Not via "ps" or any other standard tools, no.  The kernel doesn't track
"birth parents" like that.  The only way you could figure it out is if
something writes that PID in a log file, and you happen to find that log.

Reply via email to