#929493 totem crashes on startup due to protocol error

Package:
totem
Source:
totem
Description:
Simple media player for the GNOME desktop based on GStreamer
Submitter:
Jorge Gonzalez
Date:
2019-12-21 19:57:06 UTC
Severity:
important
#929493#5
Date:
2019-05-24 17:07:53 UTC
From:
To:
Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
        Normal update via apt-get update && upgrade

   * What exactly did you do (or not do) that was effective (or
     ineffective)?
        Launching totem from GNOME or console doesn't work, throws the
following error:
        Gdk-Message: 18:52:28.873: Error 71 (Protocol error) dispatching to
Wayland display.

        To launch totem from the console the following has to be executed:
GDK_BACKEND=x11 totem

   * What was the outcome of this action?
        If launched without GDK_BACKEND=x11 the alreday mentioned error is
shown:
        Gdk-Message: 18:52:28.873: Error 71 (Protocol error) dispatching to
Wayland display.

        If launched with GDK_BACKEND=x11 it plays one video but no videos can
be played drag-and-dropping.

   * What outcome did you expect instead?
        Normal totem opening and video playing.

#929493#10
Date:
2019-08-29 22:12:07 UTC
From:
To:
This bug still exists in 3.33.90-2.

as noted witht he x11 token, this problem affects the ability to run totem when
using wayland.

I was puzzled as to why this bug was affecting our Debian based home
entertainment system, but not any of our laptops. When I ran totem from the
terminal, it threw the aforementioned error 71. I immediately checked to see
whether the unaffected systems were using Wayland: they were not.  Upgrading to
3.33.90-2 did not solve the problem. Switching from Gnome Wayland "system x11
default" - as expected - corrected the problem, enabling videos to play
normally in totem and launch from nautilus.

#929493#15
Date:
2019-12-21 19:47:48 UTC
From:
To:
Usual google advise to change Exec to: Exec=GDK_BACKEND=x11 totem %U  seamed to have no effect.    After few hours I found how to apply  'GDK_BACKEND=x11 totem'   in Nautilus   In file:  org.gnome.Totem.desktop  changed two lines so they look like:  Exec=/home/user/.local/bin/tot %U  DBusActivatable=false   file totemx11:  #!/bin/sh  GDK_BACKEND=x11 /usr/bin/totem "$@"