Error constructing proxy for org.gnome.Terminal

When I launch the Gnome Terminal from dom0, I get the following error:

qvm-run --pass-io --user root <debian_template> "gnome-terminal"
# AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
# Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Error calling StartServiceByName for org.gnome.Terminal: Timeout was reached

Within the Debian templateVM everthing works fine.

1 Like

It’s something with gnome-terminal as doing it with xfce4-terminal is working fine.

qvm-run --pass-io --user root tmpl-debian-12-xfce "xfce4-terminal"
Failed to connect to session manager: Failed to connect to the session manager: SESSION_MANAGER environment variable not defined

but it runs and opens

1 Like

Not sure you can run gnome-terminal without a proper environment where dbus is available

1 Like

What do you mean exactly?
How can I fix this issue?

1 Like

gnome-terminal certainly requires dbus to work, which would not be available if you run it from qvm-run like this

I’m not sure you can do this without a weird construct that would simulate a shell with a full login involving all pre-requisites for gnome-terminal.

1 Like

Maybe try to install at-spi2-core if it’s not already installed, this might solve the issue. In your case, gnome-terminal tries to load accessibility features and may not find it (maybe because it’s not installed, maybe because dbus is not reachable :woman_shrugging: )

1 Like

it may be the case

qvm-run --pass-io tmpl-debian-12-xfce "sudo gnome-terminal"
# Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Failed to execute child process ___dbus-launch___ (No such file or directory)

1 Like