← Back to team overview

desktop-packages team mailing list archive

[Bug 1433165] Re: evince fails to run due to a gdk_mir_display_open

 

I've tried every suggestion in this thread and still seeing issues. At
first I was getting the exact same error as the original poster, after
adding variants(symlinks and non-symlinks)of all the denied paths and
possibly associated directors:

/home/ /mnt/storage0/home/ /home/user/ /mnt/storage0/home/user/
/usr/share/locale-langpack/en/LC_MESSAGES/ /mnt/storage0/usr/share
/locale-langpack/en/LC_MESSAGES/ /usr/share/glib-2.0/schemas/
/mnt/storage0/usr/share/glib-2.0/schemas/

Running evince now produces the following crash and dmesg output.
Thoughts?

$ evince

(evince:5181): GLib-GIO-ERROR **: No GSettings schemas are installed on the system
Trace/breakpoint trap (core dumped)

$ dmesg

[ 1098.393345] audit: type=1400 audit(1442266027.531:351): apparmor="DENIED" operation="open" profile="/usr/bin/evince" name="/mnt/storage0/usr/share/locale-langpack/en/LC_MESSAGES/gtk30.mo" pid=5176 comm="evince" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[ 1098.399296] audit: type=1400 audit(1442266027.535:352): apparmor="DENIED" operation="open" profile="/usr/bin/evince" name="/mnt/storage0/usr/share/glib-2.0/schemas/gschemas.compiled" pid=5176 comm="evince" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[ 1098.399596] traps: evince[5176] trap int3 ip:7f1f2737ad00 sp:7ffcfc9e5bd0 error:0

$ sudo dpkg-reconfigure apparmor

/home/ /mnt/storage0/home/ /home/user/ /mnt/storage0/home/user/
/usr/share/locale-langpack/en/LC_MESSAGES/ /mnt/storage0/usr/share
/locale-langpack/en/LC_MESSAGES/ /usr/share/glib-2.0/schemas/
/mnt/storage0/usr/share/glib-2.0/schemas/

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to evince in Ubuntu.
https://bugs.launchpad.net/bugs/1433165

Title:
  evince fails to run due to a gdk_mir_display_open

Status in evince package in Ubuntu:
  Confirmed

Bug description:
  Here's what happens when I try to run evince under 15.04. No evince
  window comes up. Instead, just:

  
  > evince 

  No protocol specified

  ** (evince:22430): WARNING **: Could not open X display
  No protocol specified
  gdk_mir_display_open
  Failed to connect to Mir: Failed to connect to server socket: No such file or directory
  Unable to init server: Could not connect: Connection refused
  Cannot parse arguments: Cannot open display:

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: evince 3.14.2-0ubuntu1
  ProcVersionSignature: Ubuntu 3.19.0-9.9-generic 3.19.1
  Uname: Linux 3.19.0-9-generic x86_64
  ApportVersion: 2.16.2-0ubuntu3
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Tue Mar 17 11:47:57 2015
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2015-03-07 (9 days ago)
  InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Alpha amd64 (20150306)
  SourcePackage: evince
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/evince/+bug/1433165/+subscriptions


References