First machine:
Ubuntu 23.10
Evince 45.0-1  ($ apt show evince)

Second machine:
Ubuntu 24.04
Evince 46.0-1build1


I've also added Google Drive through Online Accounts and can't open PDFs with 
evince 45.0-1.

- Opening image files works by double-clicking in Nautilus.

- Opening Google Drive PDFs in Firefox works (only tried on 1st machine,
though).

- Can also copy/paste files into, and out of, Google Drive using
Nautilus.


Double-clicking PDF in Nautilus, Error
--------------------------------------

Unable to open document “file:///run/user/1000/gvfs/google-
drive:host=tecnico.ulisboa.pt,user=daniel.andrade/0AKMJJbX-j2jTUk9PVA/0B6MJJbX-j2jTc3RhcnRlcl9maWxl”.

Permission denied


Opening via Terminal in Evince, Error
--------------------------------------

$ evince file:///run/user/1000/gvfs/google-
drive:host=tecnico.ulisboa.pt,user=daniel.andrade/0AKMJJbX-j2jTUk9PVA/0B6MJJbX-j2jTc3RhcnRlcl9maWxl

(evince:26649): GVFS-WARNING **: 17:47:33.617: The peer-to-peer
connection failed: Error while getting peer-to-peer dbus connection:
Could not connect: Permission denied. Falling back to the session bus.
Your application is probably missing --filesystem=xdg-run/gvfsd
privileges.

{ Error message repeats 5 times. Evince window opens with the same error
as double-click in Nautilus. }


Opening via Terminal in Firefox, Works
--------------------------------------
$ firefox 
file:///run/user/1000/gvfs/google-drive:host=tecnico.ulisboa.pt,user=daniel.andrade/0AKMJJbX-j2jTUk9PVA/0B6MJJbX-j2jTc3RhcnRlcl9maWxl

{ PDF opens in browser successfully. I'm not logged in in my Google
account in Firefox. }

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

Title:
  Permission denied when trying to open a pdf file form Google Drive

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


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to