I have used terminator as my default terminal for years. Recently I found docker commands started requiring
sudo to run, and while debugging this, discovered terminal emulators on my system (terminator, MATE Terminal, Xfce Terminal, XTerm) start without loading many of my user's groups.
In these emulators, running
mark@mypc:~$ groups mark
When I run
groups in Gnome Terminal, however:
mark@mypc:~$ groups mark adm cdrom sudo dip plugdev lpadmin sambashare docker
I have tried apt remove & purge terminator, and reinstalled, with the same result. From Gnome Terminal, I can run docker commands without sudo (which was my goal initially). However I would prefer to continue to use terminator as my default emulator. So, How can I have the terminal emulator start with all of my users groups enabled?
I have tried apt remove & purge terminator, and reinstalled, with the same result. However, when I user Gnome Terminal to launch Terminator, terminator starts with all of my user groups.
I'm using Ubunutu 18.04 with cinnamon desktop environment. Thanks in advance!
Output of pstree in broken terminator instance:
mark@mypc:~$ pstree -sp $$ systemd(1)───terminator(26282)───bash(26291)───pstree(26578)
Output of pstree in (working) Gnome Terminal:
mark@mypc:~$ pstree -sp $$ systemd(1)───systemd(3363)───gnome-terminal-(30711)───bash(22983)───pstree(24955)