Crash do Xorg no Mint Uma XFCE durante sessão

Preciso de ajuda.

Estou rodando Linux Mint Uma e já é a segunda vez que tenho um problema em que alguns ícones da barra de tarefas e o teclado em si ficam sem resposta. Depois disso a tela apaga e me aparece só o terminal na tela me pedindo para fazer login. Ou seja, a GUI inteira para e fico só no terminal.

Das duas vezes resolvi reiniciando, já que na primeira não sabia os comandos para o xfce4 e dessa vez deram um erro de “falha de conexão”, que me levou a suspeitar que o problema seria o xorg.

Procurei então pelos pacotes relacionados ao xorg instalados e fui na tentativa-e-erro até que o xinit me deu esse output (que eu “quitei” com ctrl+c):

(EE)
Fatal server error:
(EE) Server is already active for display 0
    If this server is no longer running, remove /tmp/.X0-lock
    and start again
(EE)
(EE)
Please consult the The X.Org Foundation support
    at http://wiki.x.org
 for help.
(EE)
^Cxinit: X connection to :0 broken (explicit kill or server shutdown).
unexpected signal 2

Verifiquei o manual do xinit e lá dizia que o X procura pelo .xinitrc e depois pelo .xserverc ou então criava um X :0.

Verifiquei e nenhum deles estava na minha home de usuário e achei mesmo o /tmp/.X0-lock, mas não excluí e depois de reiniciar tem um .xsession-erros com isso na minha home:

dbus-update-activation-environment: setting GDMSESSION=xfce
dbus-update-activation-environment: setting DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
dbus-update-activation-environment: setting _=/usr/bin/dbus-update-activation-environment
/usr/bin/iceauth:  creating new authority file /run/user/1000/ICEauthority
xfce4-session-Message: 17:08:18.081: SSH authentication agent is already running
gpg-agent: Um gpg-agent já está em execução - não será iniciado outro.

(xfce4-panel:5580): garcon-CRITICAL **: 17:08:21.236: garcon_gtk_menu_get_desktop_actions_menu: assertion 'actions != NULL' failed

(wrapper-2.0:5594): GLib-GIO-CRITICAL **: 17:08:22.628: g_file_new_for_path: assertion 'path != NULL' failed

(wrapper-2.0:5594): GLib-GIO-CRITICAL **: 17:08:22.628: g_file_monitor_file: assertion 'G_IS_FILE (file)' failed

(wrapper-2.0:5594): GLib-GObject-WARNING **: 17:08:22.628: invalid (NULL) pointer instance

(wrapper-2.0:5594): GLib-GObject-CRITICAL **: 17:08:22.628: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(wrapper-2.0:5594): Gtk-WARNING **: 17:08:22.628: Attempting to add a widget with type GtkToggleButton to a container of type XfcePanelPlugin, but the widget is already inside a container of type XfcePanelPlugin, please remove the widget from its existing container first.

** (wrapper-2.0:5596): WARNING **: 17:08:22.632: No outputs have backlight property

(wrapper-2.0:5594): Gtk-WARNING **: 17:08:22.661: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node button, owner GtkToggleButton)

(wrapper-2.0:5592): Gtk-WARNING **: 17:08:22.719: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node button, owner GtkToggleButton)

(wrapper-2.0:5595): Gtk-WARNING **: 17:08:22.878: gtk_widget_size_allocate(): attempt to allocate widget with width -1 and height 28

(wrapper-2.0:5596): Gtk-WARNING **: 17:08:23.103: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node button, owner PowerManagerButton)

(wrapper-2.0:5597): Gtk-WARNING **: 17:08:23.254: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node button, owner PulseaudioButton)

** (xfce4-power-manager:5626): WARNING **: 17:08:23.499: Failed to get name owner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.xfce.PowerManager': no such name


** (xfce4-power-manager:5626): WARNING **: 17:08:23.500: Failed to get name owner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.freedesktop.PowerManagement': no such name


(xfce4-power-manager:5626): GLib-GObject-WARNING **: 17:08:23.525: ../../../gobject/gsignal.c:2618: signal 'Changed' is invalid for instance '0x55a972f0e8d0' of type 'GDBusProxy'

(xfce4-power-manager:5626): xfce4-power-manager-WARNING **: 17:08:23.571: could not map keysym 1008ffa8 to keycode


** (xfce4-power-manager:5626): WARNING **: 17:08:23.601: No outputs have backlight property

(xfce4-power-manager:5626): xfce4-power-manager-WARNING **: 17:08:23.605: It seems the kernel brightness switch handling value was not restored properly on exit last time, xfce4-power-manager will try to restore it this time.
xfce4-power-manager-Message: 17:08:25.150: Set kernel brightness switch to 0

(xfce4-power-manager:5626): xfce4-power-manager-WARNING **: 17:08:25.155: Failed to get keyboard max brightness level : GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.UPower.KbdBacklight” on object at path /org/freedesktop/UPower/KbdBacklight
/usr/bin/xfce-autostart-wm:13: PyGIDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "schema" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
  settings = Gio.Settings("com.linuxmint.desktop")

(polkit-gnome-authentication-agent-1:5706): GLib-CRITICAL **: 17:08:27.656: g_variant_new_string: assertion 'string != NULL' failed

(polkit-gnome-authentication-agent-1:5706): polkit-gnome-1-WARNING **: 17:08:27.658: Failed to register client: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files

(blueberry-tray.py:5625): Bluetooth-WARNING **: 17:08:29.255: Error setting property 'Powered' on interface org.bluez.Adapter1: GDBus.Error:org.bluez.Error.Blocked: Blocked through rfkill (g-io-error-quark, 36)

** (xfce4-volumed:5744): WARNING **: 17:08:30.216: Binding 'XF86AudioRaiseVolume' failed!

** (xfce4-volumed:5744): WARNING **: 17:08:30.221: Binding 'XF86AudioLowerVolume' failed!

** (xfce4-volumed:5744): WARNING **: 17:08:30.226: Binding 'XF86AudioMute' failed!
(node:6461) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `tutanota-desktop --trace-deprecation ...` to show where the warning was created)
Gtk-Message: 17:11:26.884: Failed to load module "xapp-gtk3-module"

(xfce4-session:5432): xfce4-session-WARNING **: 17:11:27.243: ICE connection 0x5617094ae360 rejected

(xed:6844): Gtk-WARNING **: 17:14:36.341: Calling org.xfce.Session.Manager.Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such method “Inhibit”
JavaScript error: chrome://browser/content/places/browserPlacesViews.js, line 137: Error: No DOM node set for aPlacesNode.
node.type: 0. node.parent: [xpconnect wrapped nsINavHistoryResultNode]
JavaScript error: chrome://browser/content/places/browserPlacesViews.js, line 137: Error: No DOM node set for aPlacesNode.
node.type: 0. node.parent: [xpconnect wrapped nsINavHistoryResultNode]
Traceback (most recent call last):
  File "/usr/share/drawing/drawing/saving_manager.py", line 66, in save_current_image
    replacement = self._ask_overwrite_alpha(allow_alpha, can_save_as)
  File "/usr/share/drawing/drawing/saving_manager.py", line 225, in _ask_overwrite_alpha
    raise Exception(result)
Exception: 2

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/drawing/drawing/window.py", line 1059, in action_save
    return self.saving_manager.save_current_image(False, False, False, True)
  File "/usr/share/drawing/drawing/saving_manager.py", line 81, in save_current_image
    return self.saving_manager.save_current_image(False, True, False, True)
AttributeError: 'DrSavingManager' object has no attribute 'saving_manager'
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 153, in apport_excepthook
    with os.fdopen(os.open(pr_filename,
FileNotFoundError: [Errno 2] Arquivo ou diretório inexistente: '/var/crash/_usr_bin_drawing.1000.crash'

Original exception was:
Traceback (most recent call last):
  File "/usr/share/drawing/drawing/saving_manager.py", line 66, in save_current_image
    replacement = self._ask_overwrite_alpha(allow_alpha, can_save_as)
  File "/usr/share/drawing/drawing/saving_manager.py", line 225, in _ask_overwrite_alpha
    raise Exception(result)
Exception: 2

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/drawing/drawing/window.py", line 1059, in action_save
    return self.saving_manager.save_current_image(False, False, False, True)
  File "/usr/share/drawing/drawing/saving_manager.py", line 81, in save_current_image
    return self.saving_manager.save_current_image(False, True, False, True)
AttributeError: 'DrSavingManager' object has no attribute 'saving_manager'
Traceback (most recent call last):
  File "/usr/share/drawing/drawing/saving_manager.py", line 66, in save_current_image
    replacement = self._ask_overwrite_alpha(allow_alpha, can_save_as)
  File "/usr/share/drawing/drawing/saving_manager.py", line 225, in _ask_overwrite_alpha
    raise Exception(result)
Exception: 2

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/drawing/drawing/window.py", line 1059, in action_save
    return self.saving_manager.save_current_image(False, False, False, True)
  File "/usr/share/drawing/drawing/saving_manager.py", line 81, in save_current_image
    return self.saving_manager.save_current_image(False, True, False, True)
AttributeError: 'DrSavingManager' object has no attribute 'saving_manager'
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 153, in apport_excepthook
    with os.fdopen(os.open(pr_filename,
FileNotFoundError: [Errno 2] Arquivo ou diretório inexistente: '/var/crash/_usr_bin_drawing.1000.crash'

Original exception was:
Traceback (most recent call last):
  File "/usr/share/drawing/drawing/saving_manager.py", line 66, in save_current_image
    replacement = self._ask_overwrite_alpha(allow_alpha, can_save_as)
  File "/usr/share/drawing/drawing/saving_manager.py", line 225, in _ask_overwrite_alpha
    raise Exception(result)
Exception: 2

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/drawing/drawing/window.py", line 1059, in action_save
    return self.saving_manager.save_current_image(False, False, False, True)
  File "/usr/share/drawing/drawing/saving_manager.py", line 81, in save_current_image
    return self.saving_manager.save_current_image(False, True, False, True)
AttributeError: 'DrSavingManager' object has no attribute 'saving_manager'
JavaScript error: chrome://browser/content/places/browserPlacesViews.js, line 137: Error: No DOM node set for aPlacesNode.
node.type: 0. node.parent: [xpconnect wrapped nsINavHistoryResultNode]
JavaScript error: chrome://browser/content/places/browserPlacesViews.js, line 137: Error: No DOM node set for aPlacesNode.
node.type: 0. node.parent: [xpconnect wrapped nsINavHistoryResultNode]

(xed:7966): Gtk-WARNING **: 17:32:42.564: Calling org.xfce.Session.Manager.Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such method “Inhibit”

Eis o detalhe do que estava rodando durante a sessão via terminal:

    PID TTY          TIME CMD
   5145 ?        00:00:00 systemd
   5154 ?        00:00:00 (sd-pam)
   5162 ?        00:08:36 pulseaudio
   5168 ?        00:00:02 xfce4-session
   5169 ?        00:00:05 dbus-daemon
   5247 ?        00:00:00 ssh-agent
   5267 ?        00:00:00 gvfsd
   5272 ?        00:00:00 gvfsd-fuse
   5278 ?        00:00:00 at-spi-bus-laun
   5284 ?        00:00:00 dbus-daemon
   5286 ?        00:00:00 xfconfd
   5292 ?        00:00:02 at-spi2-registr
   5302 ?        00:00:00 gpg-agent
   5304 ?        00:03:41 xfwm4
   5311 ?        00:00:01 xfsettingsd
   5317 ?        00:00:21 xfce4-panel
   5321 ?        00:00:06 Thunar
   5326 ?        00:00:06 xfdesktop
   5329 ?        00:00:06 panel-1-whisker
   5331 ?        00:00:04 panel-8-systray
   5333 ?        00:00:01 xfce4-power-man
   5334 ?        00:00:00 panel-9-notific
   5335 ?        00:00:03 panel-10-xapp-s
   5336 ?        00:00:02 panel-11-power-
   5339 ?        00:00:15 panel-12-pulsea
   5348 ?        00:00:00 xfce4-notifyd
   5373 ?        00:00:00 redshift-gtk
   5415 ?        00:00:00 light-locker
   5420 ?        00:00:00 dconf-service
   5423 ?        00:00:02 redshift
   5428 ?        00:00:00 evolution-alarm
   5435 ?        00:00:06 nm-applet
   5441 ?        00:00:41 mintreport-tray
   5453 ?        00:00:02 applet.py
   5458 ?        00:00:01 gvfs-udisks2-vo
   5464 ?        00:00:00 gvfs-afc-volume
   5470 ?        00:00:00 agent
   5475 ?        00:00:00 gvfs-goa-volume
   5484 ?        00:00:00 gvfs-mtp-volume
   5485 ?        00:00:00 xfce4-volumed
   5489 ?        00:00:00 gvfs-gphoto2-vo
   5490 ?        00:00:00 sticky
   5491 ?        00:00:02 sticky.py
   5494 ?        00:00:00 blueberry-obex-
   5507 ?        00:00:00 polkit-gnome-au
   5519 ?        00:00:02 mintUpdate
   5522 ?        00:00:00 obexd
   5526 ?        00:00:00 gvfsd-trash
   5537 ?        00:00:00 evolution-sourc
   5564 ?        00:00:00 evolution-calen
   5589 ?        00:00:00 evolution-addre
   5661 ?        00:00:00 flatpak-session
   5665 ?        00:00:00 p11-kit-server
   5667 ?        00:00:00 xdg-document-po
   5670 ?        00:00:00 xdg-permission-
   7685 ?        00:00:01 kwalletd5
   7691 ?        00:00:00 gnome-keyring-d
   9595 ?        00:01:17 psensor
  17834 ?        00:00:00 gvfsd-metadata
  27681 tty4     00:00:00 bash
  28166 tty4     00:00:00 ps

Já aconteceu de o teclado e os ícones ficarem irresponsíveis mas sem dar erro no xorg, o que eu acho que pode ser só um problema com o meu teclado. Mas no geral estou sem ideia do que fazer.

Eu queria pelo menos uma dica de como reiniciar o xorg caso aconteça de novo, porque já procurei pela internet um erro parecido e encontrei nada. E não queria ter que reiniciar toda vez.

qual sua placa de vídeo?

Intel Graphics HD 620, é integrada ao meu processador da intel.
Meu hardware completo tá no linux-hardware.org:
HW probe of Dell Inspiron 3584 #4f8cf87cd0

Detalhe: atualizei o kernel recentemente, mas estava atualizado todas nas duas vezes que o xorg encerrou.

Ele menciona que o meu teclado e a minha placa wireless já registraram problemas em outras máquinas, por isso acho que talvez tenha algum efeito.

Ainda assim imagino que alguma outra coisa pode estar errada.

provavelmente deve ser um bug no xorg,xfce… ou um conflito nos arquivos de configuração.
eu já tive vários problemas no dessa natureza (por isso eu não uso mais a bomba do xorg)
experimenta criar um novo usuário e passa um tempo nesse novo usuário só pra testar.
quando eu era novo no linux, eu tive um problema com as fontes que ficavam todas bugadas, e eu sem saber como resolver, criei um novo usuário e apaguei o antigo, o problema sumiu, sabe lá o que era.

1 curtida

Vlw a dica
O chato é que tem um programa que compilei nessa conta e os arquivos tão na pasta de usuário. Mas vou fazer isso

Este tópico foi fechado automaticamente 3 dias depois da última resposta. Novas respostas não são mais permitidas.