Pagina 1 di 1

[RISOLTO]Metacity o Compiz all'avvio non si avviano...

Inviato: mercoledì 20 maggio 2009, 20:30
da lbrfabio
Salve  ;D

Da ieri, senza installare o rimuovere nulla, quando faccio il login non si avvia compiz o metacity.
Mi spiego meglio...
Se disattivo gli effetti visivi non parte metacity come dovrebbe e sono costretto ad aprire compiz o metacity manualmente (e lì non ho problemi).
Se li attivo ho sempre lo stesso problema..

Mi era già capitato una cosa simile ma con nautilus e avevo risolto modificando in un certo modo lo xorg.conf nella sezione della scheda video...

l'xorg è questo:

Codice: Seleziona tutto

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (buildd@crested)  Sun Feb  1 20:25:37 UTC 2009

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder26)  Thu Nov  9 17:55:59 PST 2006
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf(5) manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg
# commented out by update-manager, HAL is now used
#Section "InputDevice"
#    Identifier     "Generic Keyboard"
#    Driver         "kbd"
#    Option         "CoreKeyboard"
#    Option         "XkbRules" "xorg"
#    Option         "XkbModel" "pc105"
#    Option         "XkbLayout" "it"
#EndSection
# commented out by update-manager, HAL is now used
#Section "InputDevice"
#    Identifier     "Configured Mouse"
#    Driver         "mouse"
#    Option         "CorePointer"
#    Option         "Device" "/dev/input/mice"
#   # Option         "Protocol" "ImPS/2"
#    Option         "Protocol" "ExplorerPS/2"
#    Option         "ZAxisMapping" "4 5"
#    Option         "Emulate3Buttons" "false"
#    Option         "ButtonMapping" "1 2 3 6 7"
#EndSection
# commented out by update-manager, HAL is now used
#Section "InputDevice"
#    Identifier     "stylus"
#    Driver         "wacom"
#    Option         "Device" "/dev/input/wacom"
#    Option         "Type" "stylus"
#    Option         "ForceDevice" "ISDV4"# Tablet PC ONLY
#EndSection
# commented out by update-manager, HAL is now used
#Section "InputDevice"
#    Identifier     "eraser"
#    Driver         "wacom"
#    Option         "Device" "/dev/input/wacom"
#    Option         "Type" "eraser"
#    Option         "ForceDevice" "ISDV4"# Tablet PC ONLY
#EndSection
# commented out by update-manager, HAL is now used
#Section "InputDevice"
#    Identifier     "cursor"
#    Driver         "wacom"
#    Option         "Device" "/dev/input/wacom"
#    Option         "Type" "cursor"
#    Option         "ForceDevice" "ISDV4"# Tablet PC ONLY
#EndSection

Section "ServerLayout"

# commented out by update-manager, HAL is now used
#    InputDevice    "Generic Keyboard"
# commented out by update-manager, HAL is now used
#    InputDevice    "Configured Mouse"
# commented out by update-manager, HAL is now used
#    InputDevice    "stylus" "SendCoreEvents"
# commented out by update-manager, HAL is now used
#    InputDevice    "cursor" "SendCoreEvents"
# commented out by update-manager, HAL is now used
#    InputDevice    "eraser" "SendCoreEvents"
    Identifier     "Default Layout"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"

	# path to defoma fonts
    FontPath        "/usr/share/fonts/X11/misc"
    FontPath        "/usr/share/fonts/X11/cyrillic"
    FontPath        "/usr/share/fonts/X11/100dpi/:unscaled"
    FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"
    FontPath        "/usr/share/fonts/X11/Type1"
    FontPath        "/usr/share/fonts/X11/100dpi"
    FontPath        "/usr/share/fonts/X11/75dpi"
    FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
    Load           "i2c"
    Load           "bitmap"
    Load           "ddc"
    Load           "extmod"
    Load           "freetype"
    Load           "glx"
    Load           "int10"
    Load           "vbe"
EndSection

Section "ServerFlags"
    Option         "Xinerama" "0"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "HSD HW191D"
    HorizSync       30.0 - 80.0
    VertRefresh     49.0 - 75.0
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 7600 GT"
    Option         "Coolbits" "1"
    Option         "NoLogo" "True"
EndSection

Section "Screen"

# Removed Option "metamodes" "1440x900_75 +0+0; 1024x768_66 +0+0; 1024x768 +0+0; 832x624 +0+0; 800x600 +0+0; 640x480 +0+0"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "AddARGBVisuals" "True"
    Option         "NoLogo" "True"
    Option         "RenderAccel" "True"
    Option         "AllowGLXWithComposite" "True"
    Option         "AddARGBGLXVisuals" "True"
    Option         "TwinView" "0"
    Option         "TwinViewXineramaInfoOrder" "CRT-0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Extensions"
    Option         "Composite" "Enable"
EndSection

mentre nell'.xsession-errors immediatamente dopo l'avvio ho questi errori:

Codice: Seleziona tutto

/etc/gdm/Xsession: Beginning session setup...
I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.
I: caps.c: Dropping root privileges.
I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.
GNOME_KEYRING_SOCKET=/tmp/keyring-pF7tMY/socket
SSH_AUTH_SOCK=/tmp/keyring-pF7tMY/socket.ssh

(gnome-settings-daemon:4173): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
Failed to play sound: Sound disabled
** (gnome-panel:4181): DEBUG: Adding applet 0.
** (gnome-panel:4181): DEBUG: Initialized Panel Applet Signaler.
** (gnome-panel:4181): DEBUG: Adding applet 1.
** (gnome-panel:4181): DEBUG: Adding applet 2.
** (gnome-panel:4181): DEBUG: Adding applet 3.
** (gnome-panel:4181): DEBUG: Adding applet 4.
** (gnome-panel:4181): DEBUG: Adding applet 5.
** (gnome-panel:4181): DEBUG: Adding applet 6.
** (gnome-panel:4181): DEBUG: Adding applet 7.
** (gnome-panel:4181): DEBUG: Adding applet 8.
** (gnome-panel:4181): DEBUG: Adding applet 9.

** (nautilus:4193): WARNING **: Unable to add monitor: Non supportato
** (gnome-panel:4181): DEBUG: Adding applet 10.

** (nautilus:4193): WARNING **: Can not calculate _NET_NUMBER_OF_DESKTOPS

** (nautilus:4193): WARNING **: Can not calculate _NET_NUMBER_OF_DESKTOPS

** (nautilus:4193): WARNING **: Can not get _NET_WORKAREA

** (nautilus:4193): WARNING **: Can not determine workarea, guessing at layout

** (gnome-panel:4181): DEBUG: Adding applet 11.
** (gnome-panel:4181): DEBUG: Adding applet 12.
** (gnome-panel:4181): DEBUG: Adding applet 13.

(gnome-panel:4181): Gdk-WARNING **: /build/buildd/gtk+2.0-2.16.1/gdk/x11/gdkdrawable-x11.c:878 drawable is not a pixmap or window

(gnome-panel:4181): libglade-WARNING **: Unexpected element <requires-version> inside <glade-interface>.
** (gnome-panel:4181): DEBUG: Adding applet 14.
** (gnome-panel:4181): DEBUG: Adding applet 15.
Do: Fatal IO error 11 (Risorsa temporaneamente non disponibile) on X server :0.0.
** (gnome-panel:4181): DEBUG: Adding applet 16.

credo che il problema sia in

Codice: Seleziona tutto

** (nautilus:4193): WARNING **: Unable to add monitor: Non supportato

Codice: Seleziona tutto

** (nautilus:4193): WARNING **: Can not calculate _NET_NUMBER_OF_DESKTOPS

** (nautilus:4193): WARNING **: Can not calculate _NET_NUMBER_OF_DESKTOPS

** (nautilus:4193): WARNING **: Can not get _NET_WORKAREA

** (nautilus:4193): WARNING **: Can not determine workarea, guessing at layout

Questo errore qui invece pare sia l'applet clock da come ho visto nelle varie ricerche di oggi ma anche se tolgo l'applet non risolvo

Codice: Seleziona tutto

(gnome-panel:4181): Gdk-WARNING **: /build/buildd/gtk+2.0-2.16.1/gdk/x11/gdkdrawable-x11.c:878 drawable is not a pixmap or window

(gnome-panel:4181): libglade-WARNING **: Unexpected element <requires-version> inside <glade-interface>.
Inoltre se attivo in gnome-session pactl load-module module-x11-xsmp  (PulseAudio Session Management)    mi da un errore

Codice: Seleziona tutto

Fallimento: Inizializzazione del modulo non riuscita
Ma non ho cmq errori audio... e questo errore lo avevo già da molto molto tempo...

Nel daemon.log ho

Codice: Seleziona tutto

May 20 20:03:21 illusion-linux console-kit-daemon[2952]: WARNING: Couldn't read /proc/2951/environ: Failed to open file '/proc/2951/environ': No such file or directory 
Soluzioni? :-[

Re: Metacity o Compiz all'avvio non si avviano...

Inviato: mercoledì 20 maggio 2009, 21:31
da gargantua
Installare la fusion-icon e farla partire con i programmi di avvio? Prova, e in ogni caso è più semplice attivare/disattivare il composite di compiz/metacity.

Re: Metacity o Compiz all'avvio non si avviano...

Inviato: giovedì 21 maggio 2009, 1:10
da lbrfabio
non mi cambia in pratica nulla fusion-icon...
lo uso cmq per riattivare compiz\metacity dopo l'avvio. ma in ogni caso devo fare 2 reload altrimenti non va compiz...
stessa cosa se lo metto all'avvio. poi devo fare un reload su fusion-icon. il problema è che compiz\metacity non si avviano per un problema di nautilus\schermo e quindi pure gnome-do che mi tocca riaprilo ecc

Re: Metacity o Compiz all'avvio non si avviano...

Inviato: giovedì 21 maggio 2009, 1:25
da gargantua
Succedeva anche a me, poi ho tolto la fusion-icon dai programmi di avvio e la carico quando serve.

Re: Metacity o Compiz all'avvio non si avviano...

Inviato: giovedì 21 maggio 2009, 2:03
da lbrfabio
non è all'avvio fusion-icon
e in ogni caso sia che glielo metta o meno non ho ne le decorazioni di metacity(anche senza composite...) ne di compiz

attualmente loggo e non ho le decorazion e sono costretto ad aprire fusion-icon.fare un reload perchè la prima volta fa cilecca e poi aprire manualmente pure gnome-do dato che si chiude non avendo un composite..

Re: Metacity o Compiz all'avvio non si avviano...

Inviato: giovedì 21 maggio 2009, 2:40
da lbrfabio
ho provato a loggare con un altro utente e lì non ho di questi problemi...
ora mi chiedo, c'è un modo per fare una determinata cernita delle impostazione senza distruggere tutto?<.<
tipo, se sposto .gconf e il problema non si risolve, rimettendo la cartella torna tutto ok no ? u.u
faccio delle prove...

edit:

rinominato .gconf, .gnome2, .metacity....e nulla non va.  :-\

Re: Metacity o Compiz all'avvio non si avviano...

Inviato: giovedì 21 maggio 2009, 5:34
da lbrfabio
ho risolto cancellando ~/.local/share/applications

a quanto pare c'erano dei .desktop tipo "compiz.desktop" o "metacity.desktop" e simili in "Altro" del menu. Forse li avevo cancellati mentre pulivo il menù.