Re: log/messages

Startseite

Nachricht beantworten
Autor: Patrick Dupre
Datum:  
To: olivieraj
CC: Guilde
Betreff: Re: log/messages
Voici ce que le recupere pour une gnome-seesion qui plante (user):
La session X commence mais reste indefiniment avec un pointer sans
charger la session !B


xauth: creating new authority file /root/.serverauth.3029


X.Org X Server 1.5.3
Release Date: 5 November 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.18-92.1.18.el5 i686
Current Operating System: Linux Teucidide 2.6.27.19-170.2.35.fc10.i686 #1 
SMP Mon Feb 23 13:21:22 EST 2009 i686
Build Date: 16 February 2009  01:58:52AM
Build ID: xorg-x11-server 1.5.3-13.fc10
     Before reporting problems, check http://wiki.x.org
     to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
     (++) from command line, (!!) notice, (II) informational,
     (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Mar  4 00:02:35 2009
(==) Using config file: "/etc/X11/xorg.conf"
The XKEYBOARD keymap compiler (xkbcomp) reports:

> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 

symbols
>                   Ignoring extra symbols

Errors from xkbcomp are not fatal to the X server
imsettings information
==========================
Is DBus enabled: yes
Is imsettings enabled: yes
Is GTK+ supported: no
Is Qt supported: no
DESKTOP_SESSION:
DISABLE_IMSETTINGS:
IMSETTINGS_DISABLE_DESKTOP_CHECK:
DBUS_SESSION_BUS_ADDRESS:
unix:abstract=/tmp/dbus-GJvmWYiUtT,guid=2333bef5b33b09fc78cf82a149adc51f
GTK_IM_MODULE: gtk-im-context-simple
QT_IM_MODULE:
XMODIFIERS: @im=imsettings
IMSETTINGS_MODULE: none

Started none
gnome-session[3241]: EggSMClient-WARNING: Desktop file
'/etc/xdg/autostart/esc.desktop' has malformed Icon key 'esc.png'(should
not include extension)
gnome-session[3241]: WARNING: Unable to find provider 'nautilus' of
required component 'filemanager'
** Message: another SSH agent is running at:
/tmp/ssh-vvSRVA3241/agent.3241
Window manager warning: Failed to read saved session file
/root/.config/metacity/sessions/108ae54a4936c10de6123612496389825200000032410019.ms:
Failed to open file
'/root/.config/metacity/sessions/108ae54a4936c10de6123612496389825200000032410019.ms':
No such file or directory
Acceleration key: disabled
*** Exiting...
XSETTINGS manager support is explicitly disabled.

** (nm-applet:3376): WARNING **: No connections defined

(gnome-settings-daemon:3345): GLib-GObject-CRITICAL **: g_object_unref:
assertion `G_IS_OBJECT (object)' failed

** (gnome-panel:3356): WARNING **: panel-applet-frame.c:1285: failed to
load applet OAFIID:GNOME_FastUserSwitchApplet:
(null)
[root@Teucidide ~]# cat /tmp/startx.pd.2.log
xauth: creating new authority file /home/pd/.serverauth.13248


X.Org X Server 1.5.3
Release Date: 5 November 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.18-92.1.18.el5 i686
Current Operating System: Linux Teucidide 2.6.27.19-170.2.35.fc10.i686 #1 
SMP Mon Feb 23 13:21:22 EST 2009 i686
Build Date: 16 February 2009  01:58:52AM
Build ID: xorg-x11-server 1.5.3-13.fc10
     Before reporting problems, check http://wiki.x.org
     to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
     (++) from command line, (!!) notice, (II) informational,
     (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Mar  3 23:42:50 2009
(==) Using config file: "/etc/X11/xorg.conf"
The XKEYBOARD keymap compiler (xkbcomp) reports:

> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 

symbols
>                   Ignoring extra symbols

Errors from xkbcomp are not fatal to the X server
imsettings information
==========================
Is DBus enabled: yes
Is imsettings enabled: yes
Is GTK+ supported: no
Is Qt supported: no
DESKTOP_SESSION:
DISABLE_IMSETTINGS:
IMSETTINGS_DISABLE_DESKTOP_CHECK:
DBUS_SESSION_BUS_ADDRESS:
unix:abstract=/tmp/dbus-p6897ZFIsE,guid=2149a1dffb0f0879399927b949adc07c
GTK_IM_MODULE: gtk-im-context-simple
QT_IM_MODULE:
XMODIFIERS: @im=imsettings
IMSETTINGS_MODULE: none

Started none

gnome-session[13483]: EggSMClient-WARNING: Desktop file
'/etc/xdg/autostart/esc.desktop' has malformed Icon key 'esc.png'(should
not include extension)
gnome-session[13483]: WARNING: No required applications specified
** Message: another SSH agent is running at:
/tmp/ssh-kmqxS13483/agent.13483

(imsettings-applet:13631): GConf-CRITICAL **: gconf_value_get_string:
assertion `value != NULL' failed

(imsettings-applet:13631): GConf-CRITICAL **: gconf_value_free: assertion
`value != NULL' failed
Acceleration key: disabled

(imsettings-applet:13631): GConf-CRITICAL **: gconf_value_free: assertion
`value != NULL' failed
*** Exiting...
XSETTINGS manager support is explicitly disabled.

(imsettings-applet:13631): GConf-CRITICAL **: gconf_value_free: assertion
`value != NULL' failed
No value set for `/desktop/gnome/applications/at/visual/exec'

++++++++++++++++++++++++++++++++
Et un session qui fonctione (root)

xauth: creating new authority file /root/.serverauth.3029


X.Org X Server 1.5.3
Release Date: 5 November 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.18-92.1.18.el5 i686
Current Operating System: Linux Teucidide 2.6.27.19-170.2.35.fc10.i686 #1 
SMP Mon Feb 23 13:21:22 EST 2009 i686
Build Date: 16 February 2009  01:58:52AM
Build ID: xorg-x11-server 1.5.3-13.fc10
     Before reporting problems, check http://wiki.x.org
     to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
     (++) from command line, (!!) notice, (II) informational,
     (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Mar  4 00:02:35 2009
(==) Using config file: "/etc/X11/xorg.conf"
The XKEYBOARD keymap compiler (xkbcomp) reports:

> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 

symbols
>                   Ignoring extra symbols

Errors from xkbcomp are not fatal to the X server
imsettings information
==========================
Is DBus enabled: yes
Is imsettings enabled: yes
Is GTK+ supported: no
Is Qt supported: no
DESKTOP_SESSION:
DISABLE_IMSETTINGS:
IMSETTINGS_DISABLE_DESKTOP_CHECK:
DBUS_SESSION_BUS_ADDRESS:
unix:abstract=/tmp/dbus-GJvmWYiUtT,guid=2333bef5b33b09fc78cf82a149adc51f
GTK_IM_MODULE: gtk-im-context-simple
QT_IM_MODULE:
XMODIFIERS: @im=imsettings
IMSETTINGS_MODULE: none

Started none
gnome-session[3241]: EggSMClient-WARNING: Desktop file
'/etc/xdg/autostart/esc.desktop' has malformed Icon key 'esc.png'(should
not include extension)
gnome-session[3241]: WARNING: Unable to find provider 'nautilus' of
required component 'filemanager'
** Message: another SSH agent is running at:
/tmp/ssh-vvSRVA3241/agent.3241
Window manager warning: Failed to read saved session file
/root/.config/metacity/sessions/108ae54a4936c10de6123612496389825200000032410019.ms:
Failed to open file
'/root/.config/metacity/sessions/108ae54a4936c10de6123612496389825200000032410019.ms':
No such file or directory
Acceleration key: disabled
*** Exiting...
XSETTINGS manager support is explicitly disabled.

** (nm-applet:3376): WARNING **: No connections defined

(gnome-settings-daemon:3345): GLib-GObject-CRITICAL **: g_object_unref:
assertion `G_IS_OBJECT (object)' failed

** (gnome-panel:3356): WARNING **: panel-applet-frame.c:1285: failed to
load applet OAFIID:GNOME_FastUserSwitchApplet:
(null)
++++++++++++++++++++++++++++++++++++++++++++++++++++

J'avoue que je ne comprends pas grand chose.
Il semble que quelque chose se passe mal ensuite, mais quoi !!


>
> ----- "Patrick Dupre" <pd520@???> a écrit :
>
> [...]
>
>>>> D'autre part, est-ce qu'il y a un moyen de recuperer une trace
>>>> d'une gnome-session ?
>>>>
>>>> startx > tmp
>>>>
>>>> me semble incomplet
>>>
>>> Regarde le ~/.xsession-error
>>
>> Il semble que les ficgier Xsession ne soit utilises que lors d'un
>> loggin
>> en mode graphique. Pour un loggingin mode test puis un demarrage X
>> par
>> startx, il semble que ce soit plutot xinitrc qui soit active ?
>
> Ce n'est effectivement pas le même mécanisme. Comme cela fait des années que je n'ai pas démarré startx à la main (le login kdm/gdm/slim/autre est bien plus pratique) donc je m'étendrai pas sur le sujet
>
>> Du moins sur fedora.
>
> Les distributions Linux sont en générale assez hétérogène sur le mécanisme de démarrage de X. Et comme je n'ai pas de Fedora sous la main, je ne peux pas regarder dans les sources.
>
>> Pour ce qui est de Xession (qui ne semble pas active dans mon cas),
>> il
>
> Il te faut :
> - soit installer un gestionnaire de session, comme kdm/gdm/slim
> - soit démarrer en mode "init 5" (voir le "/etc/initrc" pour cela)
> - soit forcer le mode d'init au niveau de GRUB/LILO ("init 5" dans la ligne "kernel" du dit bootloader)
>
>> semble qu'il faille positionner la variable errfile, est-ce que je
>> peux
>> faire de meme dans xinitrc ?
>
> Dans le cas du /etc/X11/Xsession, le script Debian fait ceci :
> - il tente de créer un ~/.xsession-error
> - si il n'y arrive pas, il créé un /tmp/xsession-error.nom_utilisateur
>
>> Il semble que la syntaxe de xinitrc et Xsession soit un peu differente
>> !
>
> Dans tout ces cas, si tu veux démarrer X à la main avec "startx", il te suffit de revenir aux bonnes vielles méthodes classiques, en fusionnant le STDOUT avec le STDERR :
>
> startx >/tmp/startx.log 2>&1
>
>> Merci pour les conseils.
>
> De rien.
>
> Cordialement,
>
>                                           Olivier

>
>


-- 
---
==========================================================================
  Patrick DUPRÉ                      |   |
  Department of Chemistry            |   |    Phone: (44)-(0)-1904-434384
  The University of York             |   |    Fax:   (44)-(0)-1904-432516
  Heslington                         |   |
  York YO10 5DD  United Kingdom      |   |    email: pd520@???
==========================================================================