You are not logged in.

#1 2008-09-15 19:36:15

thayer
Fellow
From: Vancouver, BC
Registered: 2007-05-20
Posts: 1,560
Website

[SOLVED] Nautilus GVFS broken outside of gnome-session

After a recent package update, Nautilus no longer opens virtual filesystems unless gnome-session is running.  This affects computer:, burn:, sftp:, network:, trash:, etc.

The exact error message is: Nautilus cannot handle $PROTOCOL locations where $PROTOCOL is sftp:, smb:, etc.

I'm not sure which package broke it (glib2 maybe), but I've found the following:

* If I run startx with exec gnome-session, everything works fine
* If I run startx with anything else, nautilus is broken as described above--this includes openbox-session, openbox, blackbox, twm, etc.

Could anyone else with testing enabled and an alternative window manager try this out with Nautilus?  It's driving me nuts!

Update...bug filed: http://bugs.archlinux.org/task/11496

Last edited by thayer (2008-09-17 15:51:02)


thayer williams ~ cinderwick.ca

Offline

#2 2008-09-15 20:02:05

moljac024
Member
From: Serbia
Registered: 2008-01-29
Posts: 2,676

Re: [SOLVED] Nautilus GVFS broken outside of gnome-session

Hey thayer, I don't use the testing repo but nautilus won't open those virtual connections when I'm in openbox.
I always figured it needed gnome-session to be running....


The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...

Offline

#3 2008-09-15 20:06:45

thayer
Fellow
From: Vancouver, BC
Registered: 2007-05-20
Posts: 1,560
Website

Re: [SOLVED] Nautilus GVFS broken outside of gnome-session

moljac024 wrote:

Hey thayer, I don't use the testing repo but nautilus won't open those virtual connections when I'm in openbox.
I always figured it needed gnome-session to be running....

Interesting...I had assumed it was a testing package update.  Nautilus should definitely be able to access remote shares, such as SSH or SMB without gnome-session so there's something going on here.


thayer williams ~ cinderwick.ca

Offline

#4 2008-09-15 23:19:26

thayer
Fellow
From: Vancouver, BC
Registered: 2007-05-20
Posts: 1,560
Website

Re: [SOLVED] Nautilus GVFS broken outside of gnome-session

FYI, bug report filed: http://bugs.archlinux.org/task/11496


thayer williams ~ cinderwick.ca

Offline

#5 2008-09-15 23:27:58

moljac024
Member
From: Serbia
Registered: 2008-01-29
Posts: 2,676

Re: [SOLVED] Nautilus GVFS broken outside of gnome-session

lol I never even figured it could be a bug smile
Thanks.


The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...

Offline

#6 2008-09-16 00:05:29

Xappe
Member
Registered: 2008-05-17
Posts: 105

Re: [SOLVED] Nautilus GVFS broken outside of gnome-session

It seems that Nautilus/gvfs needs dbus to function properly. I'm using openbox and fixed this by adding the following lines to my autostart.sh:

# D-bus
if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
       eval `dbus-launch --sh-syntax --exit-with-session`
fi

vanum est vobis ante lucem surgere

Offline

#7 2008-09-16 02:09:32

moljac024
Member
From: Serbia
Registered: 2008-01-29
Posts: 2,676

Re: [SOLVED] Nautilus GVFS broken outside of gnome-session

Xappe wrote:

It seems that Nautilus/gvfs needs dbus to function properly. I'm using openbox and fixed this by adding the following lines to my autostart.sh:

# D-bus
if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
       eval `dbus-launch --sh-syntax --exit-with-session`
fi

Uncommenting that part from autostart.sh never did work for me.
But using dbus-launch to open nautilus works

So, is thayer's bug report wrong then ?


The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...

Offline

#8 2008-09-17 15:50:08

thayer
Fellow
From: Vancouver, BC
Registered: 2007-05-20
Posts: 1,560
Website

Re: [SOLVED] Nautilus GVFS broken outside of gnome-session

moljac024 wrote:

Uncommenting that part from autostart.sh never did work for me.
But using dbus-launch to open nautilus works

So, is thayer's bug report wrong then ?

It seems it was...Xappe's solution did the trick, and so does adding:

. $GLOBALAUTOSTART

to ~/.config/openbox/autostart.sh

I don't know why it requires this all of the sudden, but I consider the issue closed.


thayer williams ~ cinderwick.ca

Offline

#9 2008-09-17 16:43:28

moljac024
Member
From: Serbia
Registered: 2008-01-29
Posts: 2,676

Re: [SOLVED] Nautilus GVFS broken outside of gnome-session

Hmm, so what's wrong for me then ? Because even if I launch d-bus at startup and verify it is running, it still doesn't work. I have to run things with dbus-launch nevertheless..


The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...

Offline

#10 2009-11-23 10:12:40

ruscook
Member
From: Sydney Australia
Registered: 2007-08-27
Posts: 105
Website

Re: [SOLVED] Nautilus GVFS broken outside of gnome-session

Same here. I've just moved from running openbox from GDM to running it and LXDE directly from xinitrc. Now Nautilus doesn't automount or SSHFS unless I use the dbus-launch nautilus command.

Offline

Board footer

Powered by FluxBB