Anydesk crashes after another user accepts remote connection

I have installed anydesk application from this url. However, when I tried to remote to my friend computer, my anydesk was closed immediately.

So to track this issue, I tried to start it with sudo anydesk, in terminal it show message:

(anydesk:21940): Gtk-CRITICAL **: 17:06:01.099: IA__gtk_widget_set_tooltip_markup: assertion 'GTK_IS_WIDGET (widget)' failed

(anydesk:21940): Gtk-CRITICAL **: 17:06:01.102: IA__gtk_widget_set_tooltip_markup: assertion 'GTK_IS_WIDGET (widget)' failed

(anydesk:21940): Gtk-CRITICAL **: 17:06:01.106: IA__gtk_signal_connect_full: assertion 'GTK_IS_OBJECT (object)' failed

When I remote to my friend computer, and he accepted connection, in terminal show this message:

(anydesk:21940): Gtk-CRITICAL **: 17:06:01.099: IA__gtk_widget_set_tooltip_markup: assertion 'GTK_IS_WIDGET (widget)' failed

(anydesk:21940): Gtk-CRITICAL **: 17:06:01.102: IA__gtk_widget_set_tooltip_markup: assertion 'GTK_IS_WIDGET (widget)' failed

(anydesk:21940): Gtk-CRITICAL **: 17:06:01.106: IA__gtk_signal_connect_full: assertion 'GTK_IS_OBJECT (object)' failed
terminate called after throwing an instance of 'base::invalid_argument_exception_t'

And my anydesk was closed. I have no clue what cause this error, I tried to re-install it several times already, but still the same.


Solution 1:

I have faced the same issue with the same error as you while restarting Anydesk.

The fix is very simple. Just follow the below steps:

  1. Go to your home directory ~.
  2. Press Ctrl+H to show all hidden files.
  3. You will find a .anydesk folder. Just delete that folder, remove your Anydesk and reinstall it.