You are not logged in.

#1 2010-05-06 16:56:38

Diego7
Member
Registered: 2010-05-06
Posts: 3

Evince doesn't remember last page. DBus error. Works if i log as root.

Evince doesn't remember the last page when i re-open the same file, it doesn't remember window size and position either. Here is the warning i get from evince:

** (evince:4177): WARNING **: DBus error org.freedesktop.DBus.Error.Failed: Unable to set metadata key

If i run evince with sudo this is the warning i get:

** (evince:4227): WARNING **: Failed to create dbus proxy for org.gnome.SettingsDaemon: Could not get owner of name 'org.gnome.SettingsDaemon': no such name

If i log as root evince doesn't throw any warning and everything works fine, it does remember the last page and window size-position. I tried adding my user to every group that the root user is in, but it doesn't work either (i removed my user from those groups now).
I'm running evince 2.30.1 and gnome 2.30.0. I've found this related thread: http://bbs.archlinux.org/viewtopic.php?pid=751573 but since it works if i log as root i don't think is a problem with evince or gnome. I've also read this one: http://bbs.archlinux.org/viewtopic.php?id=95368 and i tried reinstalling gnome-settings-daemon, reinstalling evince, etc... But still doesn't work.

Thanks!

Offline

#2 2010-05-06 20:42:23

polymetr
Member
Registered: 2009-12-04
Posts: 40

Re: Evince doesn't remember last page. DBus error. Works if i log as root.

Did you mean to start either window manager or desktop managed as root? Or just evince?

Offline

#3 2010-05-06 20:45:44

Diego7
Member
Registered: 2010-05-06
Posts: 3

Re: Evince doesn't remember last page. DBus error. Works if i log as root.

Starting evince with my user and root privileges (using sudo) throws me the second error i put. But logging into gnome with the root account gives no error and evince works fine.

Last edited by Diego7 (2010-05-06 20:52:44)

Offline

#4 2010-05-06 21:08:20

polymetr
Member
Registered: 2009-12-04
Posts: 40

Re: Evince doesn't remember last page. DBus error. Works if i log as root.

Yes. I have same issue(same error precisely). I just do not use gnome(i use fluxbox). it was told that this issue was fixed in evince 2.30.1, but no luck until. If I am starting fluxbox as root there is same error.

Offline

#5 2010-05-06 21:14:33

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Evince doesn't remember last page. DBus error. Works if i log as root.

try starting your session using exec ck-launch-session wm. if doesn't work append dbus-launch too after ck-launch


Give what you have. To someone, it may be better than you dare to think.

Offline

#6 2010-05-06 21:31:23

Diego7
Member
Registered: 2010-05-06
Posts: 3

Re: Evince doesn't remember last page. DBus error. Works if i log as root.

Same thing happens...

Offline

#7 2010-11-10 02:54:21

Tobu
Member
Registered: 2010-06-25
Posts: 3

Re: Evince doesn't remember last page. DBus error. Works if i log as root.

I had the same error. To diagnose it:

dbus-monitor
strace -f /usr/lib/gvfs/gvfsd-metadata

The error message was immediately after mmap-ing the metadata for the home filesystem.

To fix it:

mv ~/.local/share/gvfs-metadata/home{,.tobu-bak}

Presumably I just removed a lot of metadata in a corrupt file, I'm not sure what exactly it contained or how important it was.

Last edited by Tobu (2010-11-10 02:54:59)

Offline

#8 2012-02-11 15:48:06

tailer
Member
Registered: 2012-02-11
Posts: 1

Re: Evince doesn't remember last page. DBus error. Works if i log as root.

Try to install "gnome-base/gvfs"

Offline

Board footer

Powered by FluxBB