You are not logged in.
Hi,
gnome-terminal was not opening after I started my box today. The only things remotely related to it I can remember doing recently was upgrading dbus and xinit.
The log I was able to get from it was the journalctl entries:
Sep 26 16:16:11 scout dbus-daemon[1990]: Activated service 'org.gnome.Terminal' failed: Process org.gnome.Terminal exited with status 1
Sep 26 16:17:28 scout dbus-daemon[1990]: Activating service name='org.gnome.Terminal'
Sep 26 16:17:28 scout org.gnome.Terminal[1990]: Unable to init server: Could not connect: Connection refused
Sep 26 16:17:28 scout org.gnome.Terminal[1990]: Failed to parse arguments: Cannot open display:
Sep 26 16:17:28 scout dbus-daemon[1990]: Activated service 'org.gnome.Terminal' failed: Process org.gnome.Terminal exited with status 1
It indicated that it could not start the gnome-terminal server.
Running this on xterm did open the gnome terminal:
/usr/lib/gnome-terminal/gnome-terminal-server & gnome-terminal
Seems like gnome terminal is not getting the right display, and cannot start the server with it. I tried "export DISPLAY=:0" before starting gnome-terminal, but it didn't help.
Is my investigation on the right track? Does anyone know how I can get more details on this error?
I use xinit to start my gnome desktop and here are my package versions.
gnome-terminal 3.16.2-1
dbus 1.10.0-3
xorg-xinit 1.3.4-3
Thank you!
Last edited by esteve (2015-10-10 06:48:23)
Offline
Please post your ~/.xinitrc.
Offline
Hi,
My ~/.xinitrc
exec env GNOME_SHELL_SESSION_MODE=classic gnome-session --session gnome-classic
Offline
Hi esteve.
Thanks for posting this problem. It is identical to the problem I'd been having, and working off your post I was
able to find this link: https://bugs.archlinux.org/task/46374
I believe it will explain/solve your problem if you have not already done so. Short answer was to put this line in
my .xinitrc before starting gnome-session:
dbus-update-activation-environment --all
The link has discussion explaining it pretty well, I think.
Regards,
tony
Offline
Thank you very much, Tony.
That did the trick.
Offline