openSUSE Leap 42.2
Gnome Terminal 3.20.2
I have a terminal window open. If I type the following command:
as a non-root user it successfully launches a new terminal.
However if I run the command as root I get the following error message:
Error constructing proxy for
org.gnome.Terminal:/org/gnome/Terminal/Factory0: The connection is
If I try to launch the terminal with
dbus-launch gnome-terminal then it works.
What is preventing the
gnome-terminal command launching the terminal as root? And is
dbus-launchan acceptable workaround or likely to cause unforeseen issues (I don’t really understand what it is doing)?