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

2017-03-15 Thread shubham wange
hduser@AJ:/home/aj$ nautilus No protocol specified ** (nautilus:6153): WARNING **: Could not open X display No protocol specified gdk_mir_display_open Failed to connect to Mir: Failed to connect to server socket: Permission denied Unable to init server: Could not connect: Connection refused

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

2015-09-14 Thread Seth Arnold
Alan, those are some surprising errors. It looks a lot like you've got / symlinked to /mnt/stoarge0/ or something else similar. If so, you'd probably be better served with a rule like: alias / -> /mnt/storage0/, in the /etc/apparmor.d/tunables/alias file. Then you could clean up the @{HOME}

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

2015-09-14 Thread Alan Meekins
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/

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

2015-09-13 Thread Frits van der Holst
Just additional note for anyone else stumbling into this. I ran into this problem, thought first my /home located on another disk caused it. So ran the reconfig and all, no fix. Careful rereading this report, lead met to check my .Xauthority... and there it was. I changed those for some

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

2015-07-10 Thread Thales
#15 Is the right workaround. Thanks -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, 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 To manage notifications about

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

2015-06-09 Thread xadder
Ah, yes, that worked. Thanks! -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, 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 To manage notifications about this

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

2015-06-08 Thread xadder
Just tried another pdf which fails with the same errors: ls -lt Issue_54_AprMay_2015.pdf -rw-rw-r-- 1 davids davids 6452563 May 3 11:13 Issue_54_AprMay_2015.pdf ie read permission for all. And my .Xauthority looks like: $ls -lt .Xauthority -rw--- 1 davids davids 65 Jun 8 17:03

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

2015-06-08 Thread Seth Arnold
xadder, I think instead of dpkg-reconfigure apparmor name=/work/davids/ try name=/work/ Thanks -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to evince in Ubuntu. https://bugs.launchpad.net/bugs/1433165 Title: evince fails to run

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

2015-06-08 Thread xadder
I have the same problem, but the above solutions don't work: $evince testpdf.pdf No protocol specified ** (evince:5819): 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

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

2015-06-08 Thread Underground78
Have you checked the owner and rights of the file? My .Xauthority had them wrong so reconfiguring AppArmor wasn't enough. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to evince in Ubuntu. https://bugs.launchpad.net/bugs/1433165

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

2015-04-26 Thread Alexander Lazarević
Thanks for reporting this. The was spot on. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, 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 To manage notifications

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

2015-03-29 Thread Alberto Salvia Novella
** Changed in: evince (Ubuntu) Importance: Undecided = High -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, 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 To

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

2015-03-27 Thread LuoZheng
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

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

2015-03-26 Thread Underground78
I have the same issue and using sudo dpkg-reconfigure apparmor to add /local/home/ does not change anything. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to evince in Ubuntu. https://bugs.launchpad.net/bugs/1433165 Title: evince

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

2015-03-26 Thread Seria
% evince No protocol specified ** (evince:8940): 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

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

2015-03-23 Thread Jamie Strandboge
You should pass '/ssdhome/' as can be seen from the kernel denial. Hope this helps. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to evince in Ubuntu. https://bugs.launchpad.net/bugs/1433165 Title: evince fails to run due to a

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

2015-03-21 Thread Swarnendu Biswas
Hi Seth, I have my home under /home/, it is just on a different partition. I face the same issue with evince. Executing sudo dpkg-reconfigure apparmor does not solve the problem for me. I passed /home/ and /home/user/ but it doesn't work. Any suggestions? -- You received this bug notification

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

2015-03-21 Thread Swarnendu Biswas
A very crude workaround that I tried is to disable the apparmor profile evnice, similar to firefox and issuing sudo apparmor_parser -R /etc/apparmor.d/usr.bin.evince. Obviously evince works now, but this is far from satisfactory. -- You received this bug notification because you are a member

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

2015-03-17 Thread Seth Arnold
It looks like you moved your home directories away from /home: [11617.240214] audit: type=1400 audit(1426607239.103:39): apparmor=DENIED operation=open profile=/usr/bin/evince name=/ssdhome/cpbl/.Xauthority pid=20599 comm=evince requested_mask=r denied_mask=r fsuid=1000 ouid=1000 To modify the

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

2015-03-17 Thread Seth Arnold
** Changed in: evince (Ubuntu) Status: Incomplete = Invalid -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, 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

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

2015-03-17 Thread Christopher Barrington-Leigh
Yes. Though its symlinked from /home. Your reconfigure solves the problem. Is the behaviour I experienced all as it should be, then? thanks, Chris -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to evince in Ubuntu.

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

2015-03-17 Thread Seth Arnold
Excellent, thanks for reporting back Christopher. The kernel follows symlinks before prompting AppArmor to allow or deny something. which is why the reports include the 'real' name. This all appears to be working as expected. Thanks -- You received this bug notification because you are a member