You are not logged in.

#1 2009-04-05 06:19:47

justinnhli
Member
Registered: 2009-04-05
Posts: 10

Cannot start xconsole or gnome-terminal after update

I use fluxbox, and I have gnome-terminal bound to a keyboard shortcut as well as a menu item. However, since upgrading to GNOME 2.26, gnome-terminal would not start. There is no visual indication of failure; the window just doesn't show up.

I also tried xconsole (by adding xconsole to the menu through TTY), and I get a message saying simply that "couldn't open console"

I read something about the permissions of /dev/console not being set probably, and that commenting out lines in /etc/fbtab would help, but no such table file exists on my system.

Thanks in advance for your help.

Offline

#2 2009-04-05 06:50:10

justinnhli
Member
Registered: 2009-04-05
Posts: 10

Re: Cannot start xconsole or gnome-terminal after update

I redirected standard error to a file, and here's what I got

Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Failed to contact the GConf daemon; exiting.

Offline

#3 2009-04-05 07:01:48

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,914
Website

Re: Cannot start xconsole or gnome-terminal after update

http://www.nabble.com/Re:-Failed-to-con … 69260.html

Only thing I could find relating to your problem

Maybe check your version of gconf


Mr Green

Offline

#4 2009-04-05 10:20:00

kgas
Member
From: Qatar
Registered: 2008-11-08
Posts: 718

Re: Cannot start xconsole or gnome-terminal after update

I also got similar error.  gconf  version is  2.26.0-2.  Can any one point where the GConf-2.26.0nb1 package is?

I think all gnome related application are broken now. I tried to run gnochm and got the following errors.
Traceback (most recent call last):
  File "/usr/bin/gnochm", line 1977, in <module>
    inst = MainApp()
  File "/usr/bin/gnochm", line 763, in __init__
    self.setup_gnome_app()
  File "/usr/bin/gnochm", line 825, in setup_gnome_app
    gnome.ui.gnome_app_setup_toolbar(tbar, tdock)
AttributeError: 'module' object has no attribute 'gnome_app_setup_toolbar'

I am having some gnome applications with lxde.

Last edited by kgas (2009-04-05 10:29:16)

Offline

#5 2009-04-07 15:05:05

kgas
Member
From: Qatar
Registered: 2008-11-08
Posts: 718

Re: Cannot start xconsole or gnome-terminal after update

downgrading to  gnome-terminal to version 2.24.3-1 works fine. gnochm now works. (DE is lxde).
Since I am trying sakura now for the terminal emulator in lxde I can wait for the corrected package. wink
(with PKGBUILD also I could not get the gnome-terminal version 2.26.0-1-i686 working correctly and the error Failed to contact the GConf daemon; exiting  remains).
Note: In another PC I have upgraded  gnome to latest version and so far no problem faced with the applications I am using.

Last edited by kgas (2009-04-07 15:23:51)

Offline

#6 2009-04-07 21:44:22

Teoulas
Member
From: Athens, Greece
Registered: 2009-03-21
Posts: 70

Re: Cannot start xconsole or gnome-terminal after update

I also get the same error when trying to open a root terminal. Whether I do a "sudo gnome-terminal" or "gksu gnome-terminal" the output is the same:

Failed to contact the GConf daemon; exiting.

However, when I first "su" and then try to run gnome-terminal, I get this message:

** (gnome-terminal:8987): WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported

Failed to get the session bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Falling back to non-factory mode.
Failed to contact the GConf daemon; exiting.

Offline

#7 2009-04-08 16:44:38

jspicoli
Member
Registered: 2008-06-19
Posts: 10

Re: Cannot start xconsole or gnome-terminal after update

I had the same issue (Failed to contact the GConf daemon; exiting.) with the recent gnome-terminal upgrade to 2.26.  I use dwm.

If I change to gnome-session gnome-terminal will start.   I was able to somewhat randomly get gnome-terminal to start with dwm via a combo of restarting dbus and starting dwm with `exec dbus-launch --exit-with-session dwm` but that only worked once.

downgrading to gnome-terminal 2.24.3-1 solved the problem for me as well.

Offline

#8 2009-04-22 13:24:02

publius
Member
Registered: 2008-10-18
Posts: 15

Re: Cannot start xconsole or gnome-terminal after update

Where exactly does one have access to previous releases of gnome-terminal?

Offline

#9 2009-04-28 19:46:25

KoS
Member
Registered: 2006-02-02
Posts: 35

Re: Cannot start xconsole or gnome-terminal after update

I'm facing the same problem.
After downgrade to gnome-terminal-2.24.2-1 it is working again :-/
I'm using fluxbox, so I don't know what other parts of Gnome are broken...

Offline

#10 2009-04-28 19:48:19

KoS
Member
Registered: 2006-02-02
Posts: 35

Re: Cannot start xconsole or gnome-terminal after update

publius wrote:

Where exactly does one have access to previous releases of gnome-terminal?

Unfortunately the only way I know is your local cache directory: /var/cache/pacman/pkg/

Offline

#11 2009-05-06 12:25:25

jspicoli
Member
Registered: 2008-06-19
Posts: 10

Re: Cannot start xconsole or gnome-terminal after update

http://bugzilla.gnome.org/show_bug.cgi?id=564649

Explains things a bit.

This works for me, included the script for convenience.

Comment is by Arnaldo Mandel, wrote on 2009-05-03

https://bugs.launchpad.net/ubuntu/+sour … bug/328575
--------8<-------
I didn't work, until I caught on the typo (ticks instead of backticks). Here is the corrected script:

#!/bin/sh
eval `dbus-launch --sh-syntax --exit-with-session`
/usr/lib/libgconf2-4/gconfd-2&
gnome-terminal

Now it does indeed work. I can gksudo this script and can also invoke it remotely.
----------8<---------

Offline

#12 2009-05-09 20:53:15

giorgidze
Member
Registered: 2009-03-12
Posts: 7

Re: Cannot start xconsole or gnome-terminal after update

I am not sure whether the following patch makes sense but it fixes aforementioned problems with gnome-terminal.

By following the suggestion from http://bugzilla.gnome.org/show_bug.cgi?id=564649 I have created the following patch:

--- src/terminal.c    2009-03-30 18:17:08.000000000 +0100
+++ src/terminal.c    2009-05-09 21:14:25.129888742 +0100
@@ -448,11 +448,11 @@
    * session bus running), we'd crash later on. Tell the user about it
    * now, and exit. See bug #561663.
    */
-  if (!gconf_ping_daemon ())
-    {
-      g_printerr ("Failed to contact the GConf daemon; exiting.\n");
-      exit (1);
-    }
+/*   if (!gconf_ping_daemon ()) */
+/*     { */
+/*       g_printerr ("Failed to contact the GConf daemon; exiting.\n"); */
+/*       exit (1); */
+/*     } */
 
   gtk_window_set_default_icon_name (GNOME_TERMINAL_ICON_NAME);

and modified the PKGBUILD:

# $Id$
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=gnome-terminal
pkgver=2.26.1
pkgrel=1
pkgdesc="The GNOME Terminal Emulator"
arch=(i686 x86_64)
license=('GPL')
depends=('gconf>=2.26.0-2' 'vte>=0.20.1' 'startup-notification>=0.9')
makedepends=('pkgconfig' 'gnome-doc-utils>=0.16.0' 'intltool') 
options=('!emptydirs')
url="http://www.gnome.org"
groups=('gnome-extra')
install=gnome-terminal.install
source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.26/${pkgname}-${pkgver}.tar.bz2 ${pkgname}-${pkgver}.patch)
md5sums=('49acf3da4c820249b763d636f27e3a46' '0862775e42f767b9dc4a1f59bbd9e527')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  patch -p0 < ${startdir}/${pkgname}-${pkgver}.patch
  ./configure --prefix=/usr --sysconfdir=/etc \
              --localstatedir=/var --disable-scrollkeeper || return 1
  make || return 1
  make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install || return 1
  
  install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
  gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain gnome-terminal ${pkgdir}/etc/gconf/schemas/*.schemas || return 1
  rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
}

I installed modified gnome-terminal and works like a charm as a standalone application in my xmonad window manager session without tweaking env vars, gconf, dbus or gnome-settings-daemon.

Cheers, George

Offline

#13 2009-05-10 23:54:10

angvp
Forum Fellow
From: Buenos Aires, Argentina
Registered: 2008-05-15
Posts: 32
Website

Re: Cannot start xconsole or gnome-terminal after update

Hehehe now it's working, Thanks for the workaround smile

Offline

Board footer

Powered by FluxBB