The highlighted lines in the above are the first one and the second, which seems to me to indicate that the direct parent of gnome-terminal-[server] is systemd (PID 1).
I'm not logged in as root, I'm logged in as a user created in the normal way with the Ubuntu GNOME installer.
Sorry if I've misread something or done something wrong. Here's more detail:
$ whoami server terminal- ,26250 .local/ lib/luarocks/ rocks-5. 3/cw/2. 0.4-1/bin/ cw /home/rrt/ .local/ lib/luarocks/ rocks-5. 3/cw/2. 0.4-1/libexec/ cw/pstree -alp -H26250 -s 26250 ─{gdbus} ,26252 ─{gmain} ,26251
rrt
$ id -u
1000
$ pidof gnome-terminal-
26250
$ pstree -alp -H26250 -s 26250
systemd,1 splash
└─gnome-
├─bash,5594
│ └─lua,14120 /home/rrt/
│ └─pstree,14122 -alp -H26250 -s 26250
├─bash,8014
├─bash,26254
├─{dconf worker},26253
├
└
The highlighted lines in the above are the first one and the second, which seems to me to indicate that the direct parent of gnome-terminal- [server] is systemd (PID 1).
I'm not logged in as root, I'm logged in as a user created in the normal way with the Ubuntu GNOME installer.