← Back to team overview

desktop-packages team mailing list archive

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

 

Solved, by adding /run/user through dpkg-reconfigure apparmor.

An overkill for this bug is:

1) Run evince xxx.pdf in terminal
2) Find out the last lines of the output of dmesg, which should go like this:

[ 7091.704251] audit: type=1400 audit(1427518665.187:100):
apparmor="DENIED" operation="open" profile="/usr/bin/evince"
name="/run/user/1000/gdm/Xauthority" pid=20485 comm="evince"
requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000

, and remember the directory after "name="
3) Run dpkg-reconfigure apparmor, add the directory after "name="( in this case it is /run/user/1000/gdm).

Hope this works.

** Changed in: evince (Ubuntu)
       Status: Invalid => Confirmed

-- 
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