systemd user service finds incorrect gnome-terminal-server
@daniels
Submitted by Daniel Stone Assigned to GNOME Terminal Maintainers
Link to original bug (#768222)
Description
After the below, I am no longer able to run gnome-terminal from a jhbuild GNOME session. Running gnome-terminal attempts to activate gnome-terminal-server, which appears to come from the system rather than the built version. This fails as there is a mismatch between the GSettings schema, and the actual keys used. The log message here is missing (searching for use-transparent-color), but I saw that message previously, and that lines up with the actual code.
This may actually be a bug in gnome-session or jhbuild; I have no idea. If I use rxvt to manually start the correct gnome-terminal-server, things work fine.
Jun 30 13:46:47 strictly systemd[1639]: Starting GNOME Terminal Server... Jun 30 13:46:47 strictly dbus-daemon[1677]: Activating via systemd: service name='org.gnome.Terminal' unit='gnome-terminal-server.service' Jun 30 13:46:49 strictly systemd-coredump[9182]: Process 9119 (gnome-terminal-) of user 1000 dumped core.
Stack trace of thread 9119:
#0 0x00007fc73ad80393 _g_log_abort (libglib-2.0.so.0)
#1 0x00007fc73ad804f2 g_log (libglib-2.0.so.0)
#2 0x00007fc73b358b59 g_settings_schema_get_value (libgio-2.0.so.0)
#3 0x00007fc73b3590f3 g_settings_schema_key_init (libgio-2.0.so.0)
#4 0x00007fc73b35ca3b g_settings_get_value (libgio-2.0.so.0)
#5 0x00007fc73b35d9bb g_settings_get_boolean (libgio-2.0.so.0)
#6 0x0000558d692a7a4e update_color_scheme (gnome-terminal-server)
#7 0x0000558d692aa9e8 terminal_screen_profile_changed_cb (gnome-terminal-server)
#8 0x0000558d692aaeb1 terminal_screen_set_profile (gnome-terminal-server)
#9 0x0000558d692ab188 terminal_screen_new (gnome-terminal-server)
+++ This bug was initially created as a clone of Bug #759115 +++
Hi,
This is somehow related to the bug #744736
When using systemd user session manager, the gnome-terminal-server process and all the process started in the termnials are started as children of the dbus.service process (that can be checked with systemctl --user status)
Adding a .service file for gnome-terminal-server should fix that