You are not logged in.

#1 2015-09-26 23:53:54

esteve
Member
Registered: 2015-09-26
Posts: 7

[SOLVED] /usr/lib/gnome-terminal/gnome-terminal-server not starting?

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

#2 2015-09-27 09:04:29

Raynman
Member
Registered: 2011-10-22
Posts: 1,459

Re: [SOLVED] /usr/lib/gnome-terminal/gnome-terminal-server not starting?

Please post your ~/.xinitrc.

Offline

#3 2015-09-27 18:43:26

esteve
Member
Registered: 2015-09-26
Posts: 7

Re: [SOLVED] /usr/lib/gnome-terminal/gnome-terminal-server not starting?

Hi,
My ~/.xinitrc

exec env GNOME_SHELL_SESSION_MODE=classic gnome-session --session gnome-classic

Offline

#4 2015-10-10 00:04:58

tonyB
Member
Registered: 2012-01-15
Posts: 3

Re: [SOLVED] /usr/lib/gnome-terminal/gnome-terminal-server not starting?

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

#5 2015-10-10 06:48:54

esteve
Member
Registered: 2015-09-26
Posts: 7

Re: [SOLVED] /usr/lib/gnome-terminal/gnome-terminal-server not starting?

Thank you very much, Tony.
That did the trick.

Offline

Board footer

Powered by FluxBB