Gnome-volume-manager freezes xfce4 on logout

Hi there,
I configured gnome-volume-manager to automatically mount drives (esp. usbsticks and so on) and it is working quite smoothly.
But one side effect is bothering me a little:
As suggested in a gnome-volume-manager HowTo, the volume manager is loaded on startx in the following form
<.xinitrc>
exec startxfce4 & exec gnome-volume-manager
</.xinitrc>
as soon as I try to quit my Xfce session the session hangs and will not terminate properly, i.e. logfoff-screen appears but session is not ended.
I waited for quite a while (about an hour  :shock: )...
As I didn't change too much over the last few days, I quickly found out that the gnome-volume-manager is the culprit. As soon as the 'exec gnome-volume-manager' part is removed, Xfce will shut down normally.
Has anyone else encountered this side effect? Is there a solution?
Greez and Thx
Bernhard

JGC wrote:I wouldn't start gnome-volume-manager that way, I would configure xfce4 to add gnome-volume-manager to the session when it starts up. Putting it in your .xinitrc makes xfce4 unaware of gnome-volume-manager.
Sounds logical.
It was the way described in the HOwTo, though. That's why I started the volume-manager like this. I would have preferred a more general approach, starting the gnome-volume-manager someplace more general (and not separately for each user)
I guess the correct place would be somewhere in ~/.config/xfce4??
I would have thought maybe the xinitrc that resides there... (Maybe along with xftaskbar4...)
Or is there a more suitable file??
Greez
bernhard

Similar Messages

  • [SOLVED] gnome-volume-manager is lazy

    Until some update that I missed all was fine. I boot, my volumes are mounted, I can see them in ROX (my main file management program).
    I insert a CD/DVD/whatever, its mounted and its all in /media/.:D
    But now it just does nothing, until I start Nautilus, then everything gets mounted.
    I close Nautilus, and it doesnt mount anything again.
    gnome-volume-manager process is up and running after login before running nautilus and after closing it too.
    How can I make it behave nicely without the nuisance that Nautilus is?
    Oh and Im running Openbox as the window manager in Gnome, Nautilus desktop handling disabled.
    Last edited by Hohoho (2008-05-28 20:21:12)

    i had the same problem.
    i looked in the changelog and it appears that from now on the automount function is disabled upstream because that function is to be handled by the nautilus ( http://ftp.gnome.org/pub/GNOME/sources/ … .3.changes ). For me it is a problem because i use openbox and thunar, so you just have to recompile the package with the option: "--enable-automount" .
    info from:
    ~/Desktop/gnome-volume-manager-2.22.3  $  ./configure --help
    then start it ( after recompiling with abs, for example ), but look that the path changed, now in my autostart file for openbox i have:
    /usr/lib/gnome-volume-manager/gnome-volume-manager --sm-disable --daemon=yes &
    hope it helps you, because this annoyed me for a long time and this is the only easy way to mount my partitions easily
    Last edited by Diaz (2008-05-28 20:04:56)

  • Mounting drives on a udev+hal+gnome-volume-manager setup

    Hi,
    I set up Arch Linux on a friends computer. The setup seems to work, for example gnome-cd is started when one inserts an Audio CD. However, everything that involves mounting does not work. The error message given by gnome-volume-manager is
    mount: wrong fs type, bad option, bad superblock on /dev/sda1,
    or too many mounted file systems
    * /bin/mount has sid set, 755, owner and file group are root
    * udev is set up correctly, so /dev/hdc for example does have write rights for the group disk, and the user is member of that group.
    What could be wrong?

    The problem was mainly about mounting, and not about /dev/sda or /dev/hdc. We found the solution:
    The "mount" binary in Arch's current is confused by the entry "managed" that hal puts in /etc/fstab. You can correct this by
    a) Adding a policy file in /usr/share/hal/fdi/95userpolicy named, for example, local.fdi that hinders hal from doing so:
    <?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- -->
    <deviceinfo version="0.2">
    <!-- Default policies merged onto computer root object -->
    <device>
    <match key="info.udi" string="/org/freedesktop/Hal/devices/computer">
    <merge key="storage.policy.default.managed_keyword.primary" type="string">user</merge>
    </match>
    </device>
    </deviceinfo>
    Then restart hal by typing
    /etc/rc.d/hal restart
    as root
    b) Patching "mount" as described in Arch Linux bug #1930.[/code]

  • [SOLVED]gnome-volume-manager / hal 0.5.10 - can't deactivate automount

    http://wiki.archlinux.org/index.php/HAL
    I've created /etc/hal/policy/preferences.fdi
    <?xml version="1.0" encoding="UTF-8"?>
    <deviceinfo version="0.2">
    <device>
    <match key="storage.hotpluggable" bool="false">
    <match key="storage.removable" bool="false">
    <merge key="storage.automount_enabled_hint" type="bool">false</merge>
    </match>
    </match>
    </device>
    </deviceinfo>
    The article say "Policies" may be deprecated in hal 0.5.10. I doubt that, but i dont know what is deprecated though.
    I did check the documentation out, and everything i did still seems to be valid.
    http://people.freedesktop.org/~david/ha … ies-volume
    Does gnome-volume-manager honor this setting in gnome 2.20?
    Last edited by pelle.k (2008-02-04 20:12:51)

    It would seem i solved it myself.
    First of all, gnome-volume-manager need to be recompiled with a patch i found (ubuntu gutsy); http://patches.ubuntu.com/by-release/ex … hint.patch
    Why this isn't included by default in gnome-volume-manager is beyond me!? You bad, bad, gnome devs!
    Replace the PKGBUILD when building from ABS.
    # Contributor: Link Dupont <[email protected]>
    pkgname=gnome-volume-manager
    pkgver=2.17.0
    pkgrel=3
    pkgdesc="GNOME daemon to auto-mount and manage media devices"
    arch=(i686 x86_64)
    license=('GPL')
    url=http://www.gnome.org/
    depends=('libgnomeui>=2.20.0' 'libnotify>=0.4.4' 'gnome-mount>=0.6')
    makedepends=('nautilus>=2.20.0' 'perlxml' 'pkgconfig')
    install=gnome-volume-manager.install
    groups=('gnome-extra')
    source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/2.17/${pkgname}-${pkgver}.tar.bz2
    gvm-mount-async.patch
    gvm-check-local.patch
    http://patches.ubuntu.com/by-release/extracted/ubuntu/g/gnome-volume-manager/2.17.0-2ubuntu2/02_honour_automount_enabled_hint.patch)
    md5sums=('104cec26e721e0bba69debd392367195'
    '534b8b9633148bd975b2b9b518c41fb4'
    'cb45810b2adb95d39e1272470f10a21a'
    '7288a9dc57df321d6a379c9b6a7caaff')
    build() {
    cd ${startdir}/src/${pkgname}-${pkgver}
    patch -Np0 -i ${startdir}/src/gvm-mount-async.patch || return 1
    patch -Np0 -i ${startdir}/src/gvm-check-local.patch || return 1
    patch -Np1 -i ${startdir}/src/02_honour_automount_enabled_hint.patch || return 1
    ./configure --prefix=/usr --sysconfdir=/etc \
    --localstatedir=/var
    make || return 1
    make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR=${startdir}/pkg install
    mkdir -p ${startdir}/pkg/usr/share/gconf/schemas
    gconf-merge-schema ${startdir}/pkg/usr/share/gconf/schemas/${pkgname}.schemas ${startdir}/pkg/etc/gconf/schemas/*.schemas
    rm -f ${startdir}/pkg/etc/gconf/schemas/*.schemas
    Also, this is my /etc/hal/fdi/policy/preferences.fdi
    <match key="storage.hotpluggable" bool="false">
    <match key="storage.removable" bool="false">
    <merge key="storage.automount_enabled_hint" type="bool">false</merge>
    </match>
    </match>
    If you compare that to my first version, you'll note that it is *not* enclosed in <deviceinfo> and <device> tags, simply because that wouldn't work. Don't ask me why. i'm by no means a HAL expert...
    Last edited by pelle.k (2008-02-04 20:12:00)

  • Firewire and gnome-volume-manager

    I have a firewire scanner, when hotplugged, nothing happens in gnome. I have 'run when scanner is plugged' checked, but I get nothing.
    Does gnome-volume-manager work with firewire devices? or is it just my scanner? (Canon 2540 photo)

    I don't know about scanners, but my firefire external HD is recognised perfectly by gnome-volume-manager. So it does listen for firewire devices. Maybe you'll need to add something to udev to make gnome-volume-manager know it's a scanner?
    I have a scsi scanner, so I won't try hotplugging it

  • Dbus/hal/gnome-volume-manager problem

    I've got hal and dbus running but it doesnt even seem that gnome-volume-manager is started. I added it to my gnome session but that didnt seem to do the trick. I'm trying to be able to just plug in my usb key and ipod and have them automount. It works if I restart hal or run gnome-volume-manager from the command line but then work work again unless I restart that stuff again. Here is a cut from my fstab:
    /dev/sda1 /mnt/usb auto user,noauto 0 0
    /dev/sda2 /mnt/ipod auto user,noauto 0 0

    Hi lhoerste,
    I had this problem with automount as well. The way I fixed it was adding
    dbus hal to daemons line in /etc/rc.conf. You probably did this already.
    Next, when you are in the gnome desktop, stick in a cd. Nothing happens right?
    Now go to preferences=>removable drives and media (I think this is what it is called. I'm not sitting infront of my computer at the moment). Then make sure that the checkboxes pertaining to "mount automatically" are checked.
    Close window.
    Now your cd should automount and appear on the desktop. Eject the cd by right clicking on the icon and choosing eject.
    Now, restart and ***make sure you save settings*** before leaving.
    Get back into the gnome desktop and plug your cd back in. It should automount now.
    This is how I got automount to work for me.

  • Suggestion for dbus, hal. new gnome-volume-manager-version.

    Heya,
    I just installed dbus, hall from cvs and gnome-volume-manager from tarball and have some suggestions:
    dbus:
    the default during configure seems to be to detect if you have the necessary things installed and based on that enable a component.
    To disbale qt-bindings add:
    --disable-qt
    to configure, else it will try to compile the qt-bindings and without a libGL.la it won't work ... (and this isn't in the Mesa package or wasn't anyway as far as I can tell).
    hal:
    could you add the option "--enable-fstab-sync" to configure in the new versions? It seems to be usefull . It can be it wasn't available earlier ...
    gnome-volume-manager:
    I just upgraded to 0.9.9 If anyone wants to have the binary just tell me where to upload.
    greetz,
    Michel

    Michel wrote:
    Heya,
    I just installed dbus, hall from cvs and gnome-volume-manager from tarball and have some suggestions:
    dbus:
    the default during configure seems to be to detect if you have the necessary things installed and based on that enable a component.
    To disbale qt-bindings add:
    --disable-qt
    to configure, else it will try to compile the qt-bindings and without a libGL.la it won't work ... (and this isn't in the Mesa package or wasn't anyway as far as I can tell).
    there are solutions on this forum to fix the libGL.la. this file will be included with future builds of xorg/xfree86. NVIDIA drivers should also provide this file. this file is only an issue for building.
    file a bug report feature report to add this build option to the package
    hal:
    could you add the option "--enable-fstab-sync" to configure in the new versions? It seems to be usefull . It can be it wasn't available earlier ...
    if this package is in one of the three official repos file a feature request.
    gnome-volume-manager:
    I just upgraded to 0.9.9 If anyone wants to have the binary just tell me where to upload.
    if a package has just fallen out of date up to about two week leave time for the maintainer to upgrade it .  you can flage the package out of date via the web page. this is way better than offering it to people or uploading it somewhere.
    the flag otu of date feature is always a better option to cluttering the list with update requests and the bug tracker is the best way to convey your wanted build changes. alot of the developers do not frequent this forum but all are member of the bug tracker notification system.

  • Gnome-volume-manager doesn't work, nor another automounter

    Hi there,
    I have installed gnome-volume-manager but it apparentely does not work. I've followed the instructions from the FAQ - Arch Linux, and I have tried also recompiling it with --enable-automounting. I have tried also having Nautilus opened at the same time but it didn't work. My WM is IceWM.
    //ivman works for the cdrom but not for usb devices. And I don't like AutoFS.
    Last edited by jmcejuela (2009-04-10 15:06:34)

    I had this problem and it was related to ConsoleKit not being initialized properly. I was using SLIM as login manager and had to add ck-launch-session to my .xinitrc when starting the gnome session.
    Last edited by iBertus (2009-04-10 17:21:33)

  • Hal/Dbus/gnome-volume-manager mount permission problem

    Hello,
    I have hal/dbus/gnome-volume-manager installed (of course I use gnome as DE).
    I need help in configuring the permissions for automatically mounted disk/partitions.
    When I connect an external USB HDD having 1 NTFS and 1 partition, these partitions are auto-mounted and the desktop icons appear for the both.
    As a normal user I am able to read/write FAT partition (I think, not because I have configured anything properly, but because FAT does not support permissions on filesystem), but I am not even able to read (browse) NTFS filesystem (ERORR: You do not have permission...).
    Yes, I have NTFS filesystm support enabled, because I am able to access that same NTFS partition as root.

    Well, Thanks for the reply but I had not put any static entry in fstab for this external USB HDD.
    Anyway, I figured out something (havn't tested it yet)
    When an external USB HDD is attached ... depending storage.policy and volume.policy rules in /usr/share/hal .. the hal daemon (hald) calls fstab-sync with appropriate parameters.
    fstab-sync, then, generates /etc/fstab enteries automatically (with comment=managed keyword).
    I have added a user policy so that umask and gid value is set correctly. I'll test is as soon as I'll get time.
    In the meanwhile if anybody have any other suggestions, please post it here.

  • Gnome-volume-manager and plugdev

    I'm trying to work out some kinks in gnome-volume-manager0--namely, that I cannot unmount disks as a regular user.  Everything I have found says that a user must be a member of the plugdev group for such things to work, so I looked around and found that I should be able to add myself to the plugdev groups like so:
    usermod -G plugdev isez2001
    But upon giving this command, I receive an error saying that the plugdev group is unknown.
    Do I have to create the plugdev group myself?  If so, why?  It really seems like something that should be made to just work.

    Alright, I'm a member of the storage group already.
    Upon further investigation, I find that my USB flash drive is autmounted in /media under the group "root," and my DVD drive automounts under the group "-1".
    I am unable to unmount either of these as a normal user.
    Is there something I should do that will make disks mount under the storage group?

  • Gnome-volume-manager can't automount removable media any more

    Strange,  I don't know why, it worked perfectly, but now it lost functionability. Anyone with any suggestion? Thanks in advance.

    Strange,  I don't know why, it worked perfectly, but now it lost functionability. Anyone with any suggestion? Thanks in advance.

  • Kde-volume-manager .. cause manual click on eject on cdrom..

    ...doesnt work anymore...
    Is somewhere kde-volume-manager?? Graphical UI for KDE users ...??
    Because Gnome-volume-manager has the worst support for automount...
    This is stupid  that I want to eject my cdrom and I can't manual click on eject button on cdrom.. beacuse it's locked... <confused>
    Even subfs [submount] or supermount has this implementation...
    Any help??
    post scriptum.... Rest HAL&DBUS work fine..

    ...doesnt work anymore...
    Is somewhere kde-volume-manager?? Graphical UI for KDE users ...??
    Because Gnome-volume-manager has the worst support for automount...
    This is stupid  that I want to eject my cdrom and I can't manual click on eject button on cdrom.. beacuse it's locked... <confused>
    Even subfs [submount] or supermount has this implementation...
    Any help??
    post scriptum.... Rest HAL&DBUS work fine..

  • Xfce4 and gnome-network-manager [solved]

    I just made a clean install of archlinux. installed xorg and Xfce4, xfce-goodies, gnome-panel, gnome-desktop and gnome-network-manager. also I enabled GNOME services in startup and sessions. how do I start that network manager now? is nowhere in the settings, nor there is icon to add to the taskbar (i got xfapplets installed too)
    Last edited by anarxi (2009-01-14 00:22:42)

    quoted from a previous thread
    I solved it by uncommenting my <locale><charset> in /etc/locale.gen.
    First you have to enable the locales you want being supported by your system. To enable or disable them, the file /etc/locale.gen is used. It contains every locale you can enable, and you have just to uncomment lines you want to do so.
    As we want to setup an english UTF-8 conform system, we want to enable en_US.UTF-8. But for compatibility to programs that don't support UTF-8 yet, it's recommended to support any other locale, prefixed with en_US as well. Having this in mind, we enable this set of locales:
    en_US.UTF8 UTF-8
    en_US ISO-8859-1
    After you've enabled the necessary locales, you have to run locale-gen as root to update them:
    # sudo locale-gen
    Generating locales...
    en_US.UTF-8... done
    en_US.ISO-8859-1... done
    Generation complete.

  • Unable to find Logical Volume manager in OEL6

    Hi Guru's,
    I am new to Linux.
    I have installed OEL6 in my windows box with Virtual Box.
    After logging in
    i don't see
    the Logical Volume manager
    and Network option under Administration menu too.
    I tried to install lvm-1.0.8-14.x86_64.rpm (downloaded from redhat) but no luck.
    Please help me to fix this.
    Thank you
    chandra

    I remember the Red Hat 6.0 release notes outlining that Samba and LVM configuration GUI were removed without a replacement. Same goes for the system-network-config tool. More recent versions of the release notes at http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/6.0_Release_Notes/storage.html outline that system-config-lvm is in the process of transitioning to a more maintainable tool named gnome-disk-utility.
    You did not specify which version of Oracle Linux you installed. I suggest you refer to the release notes. A text based version of "system-config-network" should still be installed, which you can open from the command line.
    Regarding LVM gui you should setup the system software repository following the instructions at http://public-yum.oracle.com. You can then use yum to install the system-config-lvm package.

  • Changing brightness in gnome-power-manager has no effect

    Well it's mostly all in the title. When I change the brightness slider in gnome-power-manager it has no affect on brightness. However the fn key combo for changing the brightness does have change the brightness yet it brings up the volume like dialog for brightness yet no change is registered on the slider (despite brightness increasing). This erratic behavior is not seen in Fedora or Ubuntu so I know it can be made to work. I have a Dell Inspiron 640m.

    thunderogg wrote:Maybe a stupid question: Are you a member of the power group? I had a similar problem when I forgot to add my user to the power group.
    I am now. But it hasn't fixed anything. I restarted X after adding my user to the group.
    However when I started gnome-power-manager as root.  It wouldn't let me access the preference dialog BUT when I increased or decreased the brightness it showed me the proper progressbar indicator. I will restart and see what happens.
    edit:
    After a restart all is working well as far as I can tell. Thank you very much for all your help. It seems it was in fact an issue with the groups.
    Last edited by ihavenoname (2008-09-09 05:26:13)

Maybe you are looking for

  • Template with tabs Export to excel with variable dataprovider

    I have looked at examples in this forum of how others have used an "export to excel" button with a variable dataprovider but I cannot get these examples to work for my situation. I have a web template with 2 tabs, 1 dataprovider on each. The template

  • Satellite E105-S1402

    Hi! I have a problem! My speaker volume is very low... can any one help me, i tried a couple of things but nothing helped. thanks!

  • Possible to update Flash without admin rights AND without internal server?

    We have numerous laptops and tablets that are rarely, if ever, connected to our internal network.  All of our users are standard users; our users are not allowed to be administrator users. Nonetheless, we'd like Flash Player to automatically update i

  • Content query using linked property [WLP 9.2]

    Hi - I've set up a content type in WLP 9.2 that consists of three properties: - linkedDevice (Link-Property -> to Node of type Device) - linkedTariff (Link-Property -> to Node of type Tariff) - combinedPrice (Double-Property) Now I'm trying to get th

  • Is it possible to do weekly closes in New GL?

    We are doing requirements for our SAP implementation and would like to know if it is possible to do weekly closes in New GL.  If this is possible what is involved? Thanks.