Even executing "gnome-terminal" from an xterm goes through dbus/systemd. "gnome-terminal" is just a controlling client that asks systemd to start up a server which then displays the window and does all the rest.
Don't ask why the architecture is like this, I don't know. But gnome-terminal definitely doesn't do anything with groups, nor asks dbus/systemd/whatever to tamper with the groups.
The issue is probably in systemd, starting up gnome-terminal (and presumably any other app that it starts up) with the wrong groups.
> Starting a gnome-terminal from this terminal
Even executing "gnome-terminal" from an xterm goes through dbus/systemd. "gnome-terminal" is just a controlling client that asks systemd to start up a server which then displays the window and does all the rest.
Don't ask why the architecture is like this, I don't know. But gnome-terminal definitely doesn't do anything with groups, nor asks dbus/systemd/ whatever to tamper with the groups.
The issue is probably in systemd, starting up gnome-terminal (and presumably any other app that it starts up) with the wrong groups.