GNOME Bugzilla – Bug 668020
external hard drives are not being mounted
Last modified: 2012-01-30 13:32:17 UTC
title pretty much says it all :-) i just added the testing ppa and now no usb devices are being mounted, i can go into disk manager and manually mount them but that is it.
Can you have a look at the org.gnome.desktop.media-handling.automount setting in dconf-editor? It should be set to 'true', which is the default.
Created attachment 205376 [details] screenshot it was the first place i checked :-)
Did it work with a previous version of GNOME+Shell? Could you try with a newly created user?
yes it worked with the previous version 3.2 which was also a fresh install of ubuntu 11.10
yes it worked with the previous version 3.2 which was also a fresh install of ubuntu 11.10 just tried in unity and in a guest sesion with a new usr account still doesn't auto mount!
Could you attach your ~/.xsession-errors? What's the exact version of gnome-shell?
Created attachment 205404 [details] xsession-errors here is the./xsession-errors :-) I also just installed gnome-shell dbg as well using the latest git snapshot from ricos/testing ppa, this was happening with the last 5 or 6 builds. cheers
OK, many errors there, but nothing very interesting for us, unless if the extensions you're using break automount. When you say "got to the disk manager", do you mean clicking on the device in Nautilus mounts the device? If you start /usr/libexec/gnome-fallback-mount-helper, does automount work? Else, is there anything interesting in /var/log/messages?
Created attachment 205420 [details] disk utility no it doesn't show in nautilus but you see it with the disk utility.
this doesn't exist /usr/libexec/gnome-fallback-mount-helper! it is /usr/lib/gnome-settings-daemon i think when i run as cil root i get: Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1598:17: Invalid animation description ** WARNING **: Failed to get the current CK session: GDBus.Error:org.freedesktop.ConsoleKit.Manager.GeneralError: Unable to lookup session information for process '5934' and nothing i could see in /var/log/messages? todo with G-Shell i can post a screenshot again of it if you need?
sorry forgot the full path. /usr/lib/gnome-settings-daemon/gnome-fallback-mount-helper
If it doesn't show up in Nautilus, then something is really broken deeper in the system. I think you'd better file a bug in Ubuntu. This for example isn't a good sign: > ** WARNING **: Failed to get the current CK session: > GDBus.Error:org.freedesktop.ConsoleKit.Manager.GeneralError: Unable to lookup > session information for process '5934'
i filed a bug with ubuntu and will keep you updated when i hear from them. thanks for your help :-)
(In reply to comment #13) > i filed a bug with ubuntu Could you provide the link to it here?
here you go :-) https://bugs.launchpad.net/ubuntu/+bug/917583
https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/917637
Also for me inserting a media key doesnt'show any notification. I'm using gnome-shell from git (master branch) 3.3.4 release. These are gsettings value marco@deneb:~$ gsettings get org.gnome.desktop.media-handling automount true marco@deneb:~$ gsettings get org.gnome.desktop.media-handling automount-open true Inserting a DVD-video or a usb key doesnt'show anything. Instead, as you suggeted, launching /usr/lib/gnome-settings-daemon/gnome-fallback-mount-helper opens totem video player inserting a DVD and open a nautilus window on inserting media USB key (but no notification) I found non relevant information in .xsession-errors. Marco
(In reply to comment #17) > Also for me inserting a media key doesnt'show any notification. What's your distribution? > I'm using gnome-shell from git (master branch) 3.3.4 release. > These are gsettings value > marco@deneb:~$ gsettings get org.gnome.desktop.media-handling automount > true > marco@deneb:~$ gsettings get org.gnome.desktop.media-handling automount-open > true > Inserting a DVD-video or a usb key doesnt'show anything. > > Instead, as you suggeted, launching > /usr/lib/gnome-settings-daemon/gnome-fallback-mount-helper opens totem video > player inserting a DVD and open a nautilus window on inserting media USB key > (but no notification) Thanks, so this is probably a bug in the Shell. But the original reporter didn't even see the drives in Nautilus, so you might be experiencing a different problem. > I found non relevant information in .xsession-errors. Could you attach it anyway?
> > Also for me inserting a media key doesnt'show any notification. > What's your distribution? Debian unstable with many gnome components compiled from git. Probably the problem I have is due to the fact I have systemd enabled with new logind (that bypass consolekit). G-S-D now have an option to enable systemd for the gnome-session. (https://bugzilla.gnome.org/show_bug.cgi?id=666787) I will try to recomile G-S-D with systemd enabled and I will give a feedback. > Thanks, so this is probably a bug in the Shell. But the original reporter > didn't even see the drives in Nautilus, so you might be experiencing a > different problem. Yes, I agree. Mine is a different bug from the starting one.
just to follow up there is still a problem with media being mounted in G-S using 3.3.4 and 12.04 it shows in nautilus but doesn't mount you have to restart G-S, alt-F2 r and then it shows in the bottom tray and also as mounted in nautilus.
I'm experiencing the same as Marko, maybe because I've a similar setup (Debian sid/experimental with self-compiled gnome 3.3.4 and systemd). There is nothing in the .xsession-errors file. As Brian pointed out, opening and mounting the storage device via nautilus (here nautilus can mount external storage devices) and restarting the shell via alt-F2 makes gnome-shell recognize that there is a device attached, otherwise not. While Brian is encountering maybe a more general problem, I'm convinced that mine (and the one of Marko) is related to the GDBus port of automountManager.js. Reverting commit 6547f75b1286b6304d832409424effc69c56cbf7 only for this file makes gnome-shell automounting the devices again. Regards, Gert
Created attachment 206384 [details] [review] automountManager: Make sure sessionActive is initialized Since the port to GDBus, sessionActive is only set on DBus name owner changes; this means that it may end up not being initialized at all, and therefore always evaluate to false. Make sure that the property is always initialized on startup. (In reply to comment #21) > I'm convinced that mine is related to the GDBus port of automountManager.js. > Reverting commit 6547f75b128 only for this file makes gnome-shell automounting > the devices again. Thanks, that was helpful!
Review of attachment 206384 [details] [review]: Sure.
Attachment 206384 [details] pushed as 3d0dd38 - automountManager: Make sure sessionActive is initialized
just upgraded G-S from ricotz/testing and now media mount is showing active pop-up again :-) nice :-)