
ユーザーをログアウトするために発行されたアプリケーションまたはコマンドを保存するログ ファイルを見つけたいと思います。
Ubuntu 18.04 システムの動作がおかしくなり、作業中にログアウトしてしまいます。この問題を修正したいと思います。
システムはこのカーネルを使用しています5.4.0-42-generic #46~18.04.1-Ubuntu
。
アップデート:
このコマンドを使用して、一連のエラー メッセージを見つけましたcat /var/log/syslog.1 | grep ERROR
。それが私の問題に関連しているかどうかはわかりません。
Aug 16 19:53:53 Machine org.gnome.Shell.desktop[2451]: mutter:ERROR:core/window.c:5332:get_default_window_icon: assertion failed: (default_icon)
Aug 16 19:54:07 Machine whoopsie-upload-all[9276]: ERROR: processing /var/crash/_usr_bin_gnome-shell.1000.crash: Compressed file ended before the end-of-stream marker was reached
Aug 16 19:54:27 Machine gnome-shell[11079]: JS ERROR: Could not load extension [email protected]: Error: uuid "[email protected]" from metadata.json does not match directory name "[email protected]"#012createExtensionObject@resource:///org/gnome/shell/misc/extensionUtils.js:135:15#012_loadExtension@resource:///org/gnome/shell/misc/extensionUtils.js:186:25#012wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22#012scanExtensions/<@resource:///org/gnome/shell/misc/extensionUtils.js:197:13#012collectFromDatadirs@resource:///org/gnome/shell/misc/fileUtils.js:27:17#012scanExtensions@resource:///org/gnome/shell/misc/extensionUtils.js:196:9#012wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22#012_loadExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:330:5#012enableAllExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:338:9#012_sessionUpdated@resource:///org/gnome/shell/ui/extensionSystem.js:369:9#012init@resource:///org/gnome/shell/ui/extensionSystem.js:377:5#012_initializeUI@resource:///org/gnome/shell/ui/main.js:229:5#012start@resource:///org/gnome/shell/ui/main.js:133:5#012@<main>:1:31
Aug 16 19:54:27 Machine org.gnome.Shell.desktop[11079]: mutter:ERROR:core/window.c:5332:get_default_window_icon: assertion failed: (default_icon)
Aug 16 19:54:40 Machine whoopsie-upload-all[11118]: ERROR: processing /var/crash/_usr_bin_gnome-shell.1000.crash: Compressed file ended before the end-of-stream marker was reached
Aug 16 19:54:47 Machine chromium-browser.desktop[27638]: [27638:27638:0816/195447.653920:ERROR:chrome_browser_main_extra_parts_x11.cc(63)] X IO error received (X server probably went away)
Aug 16 19:54:47 Machine chromium-browser.desktop[27638]: [27671:27671:0816/195447.659608:ERROR:x11_util.cc(112)] X IO error received (X server probably went away)
Binary file (standard input) matches
cat /var/log/syslog.1 | grep gnome-shell
同じ期間の gnome-shell メッセージも確認してみました。以下を参照してください。
Aug 16 19:53:53 Machine gnome-shell[2451]: gdk_cairo_surface_create_from_pixbuf: assertion 'GDK_IS_PIXBUF (pixbuf)' failed
Aug 16 19:54:07 Machine whoopsie-upload-all[9276]: ERROR: processing /var/crash/_usr_bin_gnome-shell.1000.crash: Compressed file ended before the end-of-stream marker was reached
Aug 16 19:54:07 Machine whoopsie-upload-all[9276]: Collecting info for /var/crash/_usr_bin_gnome-shell.1000.crash...
Aug 16 19:54:27 Machine dbus-daemon[1403]: [system] Activating via systemd: service name='org.freedesktop.GeoClue2' unit='geoclue.service' requested by ':1.30034' (uid=1000 pid=11079 comm="/usr/bin/gnome-shell " label="unconfined")
Aug 16 19:54:27 Machine gnome-shell[11079]: Telepathy is not available, chat integration will be disabled.
Aug 16 19:54:27 Machine gnome-shell[11079]: Some code accessed the property 'ScreencastIface' on the module 'screencast'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway.
Aug 16 19:54:27 Machine gnome-shell[11079]: JS WARNING: [~/.local/share/gnome-shell/extensions/[email protected]/extension.js 943]: reference to undefined property "MESSAGE_TRAY"
Aug 16 19:54:27 Machine gnome-shell[11079]: Some code accessed the property 'SoundDeviceChooserBase' on the module 'base'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway.
Aug 16 19:54:27 Machine gnome-shell[11079]: Some code accessed the property 'SETTINGS_SCHEMA' on the module 'prefs'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway.
Aug 16 19:54:27 Machine gnome-shell[11079]: JS WARNING: [~/.local/share/gnome-shell/extensions/[email protected]/convenience.js 200]: reference to undefined property Symbol.toPrimitive
Aug 16 19:54:27 Machine gnome-shell[11079]: Some code accessed the property 'SHOW_INPUT_SLIDER' on the module 'prefs'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway.
Aug 16 19:54:27 Machine gnome-shell[11079]: [Dynamic Panel Transparency] Using theme data for: Sierra-light
Aug 16 19:54:27 Machine gnome-shell[11079]: loading user theme: /usr/share//themes/Sierra-light/gnome-shell/gnome-shell.css
Aug 16 19:54:27 Machine gnome-shell[11079]: Some code accessed the property 'NetSpeed' on the module 'net_speed'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway.
Aug 16 19:54:27 Machine gnome-shell[11079]: Some code accessed the property 'NetSpeedStatusIcon' on the module 'net_speed_status_icon'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway.
Aug 16 19:54:27 Machine gnome-shell[11079]: Some code accessed the property 'LayoutMenuItem' on the module 'layout_menu_item'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway.
Aug 16 19:54:27 Machine gnome-shell[11079]: JS WARNING: [~/.local/share/gnome-shell/extensions/[email protected]/net_speed_status_icon.js 157]: assignment to undeclared variable device
Aug 16 19:54:27 Machine gnome-shell[11079]: Device ->
Aug 16 19:54:27 Machine gnome-shell[11079]: JS ERROR: Could not load extension [email protected]: Error: uuid "[email protected]" from metadata.json does not match directory name "[email protected]"#012createExtensionObject@resource:///org/gnome/shell/misc/extensionUtils.js:135:15#012_loadExtension@resource:///org/gnome/shell/misc/extensionUtils.js:186:25#012wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22#012scanExtensions/<@resource:///org/gnome/shell/misc/extensionUtils.js:197:13#012collectFromDatadirs@resource:///org/gnome/shell/misc/fileUtils.js:27:17#012scanExtensions@resource:///org/gnome/shell/misc/extensionUtils.js:196:9#012wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22#012_loadExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:330:5#012enableAllExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:338:9#012_sessionUpdated@resource:///org/gnome/shell/ui/extensionSystem.js:369:9#012init@resource:///org/gnome/shell/ui/extensionSystem.js:377:5#012_initializeUI@resource:///org/gnome/shell/ui/main.js:229:5#012start@resource:///org/gnome/shell/ui/main.js:133:5#012@<main>:1:31
Aug 16 19:54:27 Machine gnome-shell[11079]: Extension [email protected] already installed in ~/.local/share/gnome-shell/extensions/[email protected]. /usr/share/gnome-shell/extensions/[email protected] will not be loaded
Aug 16 19:54:27 Machine gnome-shell[11079]: Extension [email protected] already installed in ~/.local/share/gnome-shell/extensions/[email protected]. /usr/share/gnome-shell/extensions/[email protected] will not be loaded
Aug 16 19:54:27 Machine gnome-shell[11079]: Extension [email protected] already installed in ~/.local/share/gnome-shell/extensions/[email protected]. /usr/share/gnome-shell/extensions/[email protected] will not be loaded
Aug 16 19:54:27 Machine gnome-shell[11079]: Extension [email protected] already installed in ~/.local/share/gnome-shell/extensions/[email protected]. /usr/share/gnome-shell/extensions/[email protected] will not be loaded
Aug 16 19:54:27 Machine gnome-shell[11079]: gdk_cairo_surface_create_from_pixbuf: assertion 'GDK_IS_PIXBUF (pixbuf)' failed
に関連するすべてのメッセージとは別にproperty
、私は気づいた
Machine gnome-shell[11079]: loading user theme: /usr/share//themes/Sierra-light/gnome-shell/gnome-shell.css
ディレクトリ パスが間違っているようです。これが問題の原因かどうかはわかりません。テーマは機能します。ただし、正しいパスは のはずです/usr/share/themes/Sierra-light/gnome-shell/gnome-shell.css
。これを修正するにはどうすればよいですか?
答え1
ターミナルを開いて次cat /var/log/syslog | grep shutdown
のように入力してください。昨日のログはsyslog.1である可能性があります。