erro no gedit quando usado com sudo

Iniciado por Caike, 23 de Março de 2006, 20:57

tópico anterior - próximo tópico

Caike

Quando eu uso o gedit sozinho, ele funciona numa boa.
Agora quando eu uso pra abrir algum arquivo com permissão de root, ele fica um BOM tempo processando e depois dá erro.

A seguir:
caike@step2:~$ gedit a
caike@step2:~$ sudo gedit a

** (gedit:9524): CRITICAL **: gedit_mdi_set_state: assertion `GEDIT_IS_MDI (mdi)' failed

** (gedit:9524): CRITICAL **: gedit_prefs_manager_get_int: assertion `gedit_prefs_manager->gconf_client != NULL' failed

** (gedit:9524): CRITICAL **: gedit_prefs_manager_get_bool: assertion `gedit_prefs_manager->gconf_client != NULL' failed

** (gedit:9524): CRITICAL **: gedit_prefs_manager_get_bool: assertion `gedit_prefs_manager->gconf_client != NULL' failed

** (gedit:9524): CRITICAL **: gedit_prefs_manager_get_int: assertion `gedit_prefs_manager->gconf_client != NULL' failed

(gedit:9524): GLib-GObject-WARNING **: invalid uninstantiatable type `<invalid>' in cast to `GObject'

(gedit:9524): GLib-GObject-WARNING **: instance of invalid non-instantiatable type `<invalid>'

(gedit:9524): GLib-GObject-CRITICAL **: g_signal_connect_object: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(gedit:9524): GLib-GObject-WARNING **: invalid uninstantiatable type `<invalid>' in cast to `BonoboMDI'

** (gedit:9524): CRITICAL **: bonobo_mdi_add_child: assertion `BONOBO_IS_MDI (mdi)' failed

(gedit:9524): GLib-GObject-WARNING **: invalid uninstantiatable type `<invalid>' in cast to `BonoboMDI'

** (gedit:9524): CRITICAL **: bonobo_mdi_get_active_window: assertion `BONOBO_IS_MDI (mdi)' failed

** (gedit:9524): CRITICAL **: gedit_utils_set_status: assertion `BONOBO_IS_WINDOW (win)' failed

(gedit:9524): GLib-GObject-WARNING **: invalid uninstantiatable type `<invalid>' in cast to `BonoboMDI'

** (gedit:9524): CRITICAL **: bonobo_mdi_get_active_window: assertion `BONOBO_IS_MDI (mdi)' failed

** (gedit:9524): CRITICAL **: bonobo_window_flash: assertion `win != NULL' failed

(gedit:9524): GLib-GObject-WARNING **: invalid uninstantiatable type `<invalid>' in cast to `BonoboMDI'

** (gedit:9524): CRITICAL **: bonobo_mdi_add_views: assertion `BONOBO_IS_MDI (mdi)' failed

** (gedit:9524): CRITICAL **: gedit_mdi_set_state: assertion `GEDIT_IS_MDI (mdi)' failed


Seria erro do gnome ?
Estou tendo alguns erros na instalação do FireFox também.. (isso NUNCA tinha me acontecido)
Alguém ?  :roll:
"It´s all about the blood, the sweat, the tears... "

Caike

Já que não tinha muita coisa mesmo, resolvi o problema do gedit reinstalando o Ubuntu 5.10
Mas problema do FireFox persiste.
Após baixar o arquivo, descompactar, chmod +x no firefox-bin, obtenho o seguinte erro:


root@ubuntu:~/Desktop/firefox# ./firefox-bin
./firefox-bin: error while loading shared libraries: libmozjs.so: cannot open shared object file: No such file or directory
"It´s all about the blood, the sweat, the tears... "

KubLin