log de erros do gnome-shell

2

Onde posso encontrar gnome-shell erro (ou depuração) log?

Estou interessado em responder a mensagens de erro / aviso porque tenho um problema GLX que preciso depurar e acredito que a chave pode estar nas mensagens gnome-shell .

    
por Dean 20.07.2018 / 17:22

1 resposta

2

Eu começaria com os logs do journald. Experimente um destes:

$ journalctl /usr/bin/gnome-shell
$ journalctl /usr/bin/gnome-session

Se os registros não estiverem lá, tente isto:

$ journalctl -xe

Pesquisando no Google, encontrei este tópico intitulado: log do gnome-session que teve vários exemplos que funcionaram quando os experimentei em um sistema Ubuntu 16.04 que eu tenho.

SYSLOG_IDENTIFIER = gnome-session-binary
$ journalctl SYSLOG_IDENTIFIER=gnome-session-binary -n 5
-- Logs begin at Sun 2018-07-15 06:33:41 EDT, end at Sat 2018-07-21 00:23:03 EDT. --
Jul 16 18:35:21 manny gnome-session-binary[17047]: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Jul 16 18:35:21 manny gnome-session-binary[17047]: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Jul 16 18:35:21 manny gnome-session-binary[17047]: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Jul 17 02:11:43 manny gnome-session-binary[18526]: Entering running state
Jul 17 13:08:48 manny gnome-session-binary[23495]: Entering running state
SYSLOG_IDENTIFIER = gnome-session
$ journalctl SYSLOG_IDENTIFIER=gnome-session -n 5
-- Logs begin at Sun 2018-07-15 06:33:41 EDT, end at Sat 2018-07-21 00:23:03 EDT. --
Jul 20 06:30:10 manny gnome-session[18526]: (gnome-software:18773): Gs-WARNING **: failed to call gs_plugin_refresh on apt: apt transaction returned result exit-failed
Jul 20 06:30:10 manny gnome-session[18526]: (gnome-software:18773): Gs-WARNING **: failed to refresh the cache: no plugin could handle refresh
Jul 20 07:36:18 manny gnome-session[18526]: Nautilus-Share-Message: Called "net usershare info" but it failed: 'net usershare' returned error 255: mkdir failed on directory /var/run/samba/msg.l
Jul 20 07:36:18 manny gnome-session[18526]: net usershare: cannot open usershare directory /var/lib/samba/usershares. Error No such file or directory
Jul 20 07:36:18 manny gnome-session[18526]: Please ask your system administrator to enable user sharing.
.xsession-errors
$ tail -n 5 ~/.xsession-errors
upstart: indicator-session main process (25074) killed by TERM signal
upstart: indicator-application main process (25139) killed by TERM signal
upstart: unity7 main process (25334) terminated with status 1
upstart: unity-panel-service-lockscreen main process (32162) killed by HUP signal
upstart: Disconnected from notified D-Bus bus
    
por 21.07.2018 / 06:24