[Bug 546992] Re: Xubuntu 10.04 USB, CD and DVD automount fails if autologin is on

2010-05-06 Thread Martin Pitt
Ah, indeed. With the dbus activation setup that we now have I think we should just patch out this check. Can you verifiy that it works then? (I'm on a conference this week and don't have time for hacking, sorry) ** Package changed: thunar (Ubuntu) => hal (Ubuntu) ** Changed in: hal (Ubuntu)

[Bug 546992] Re: Xubuntu 10.04 USB, CD and DVD automount fails if autologin is on

2010-05-06 Thread Lionel Le Folgoc
Hi Martin, I think that the bug lies in hal finally. :p I added fprintfs in libthunar-vfs, and the init code fails with libhal_ctx_init(). So I added also some printfs in libhal_ctx_init(), and it fails at: hald_exists = dbus_bus_name_has_owner (ctx->connection, "org.freedesktop.Hal", &_error);

[Bug 546992] Re: Xubuntu 10.04 USB, CD and DVD automount fails if autologin is on

2010-05-06 Thread Lionel Le Folgoc
(and fwiw, the bug is probably in libthunar-vfs and not thunar, since the places panel plugin has the same issue...) -- Xubuntu 10.04 USB, CD and DVD automount fails if autologin is on https://bugs.launchpad.net/bugs/546992 You received this bug notification because you are a member of Ubuntu Bug

[Bug 546992] Re: Xubuntu 10.04 USB, CD and DVD automount fails if autologin is on

2010-05-06 Thread Lionel Le Folgoc
Hmpf, I was finally able to test myself, and indeed, the first thunar instance doesn't detect removable devices, but if I kill it and restart it, it works. And lshal works without problem, so no issue in hal. -- Xubuntu 10.04 USB, CD and DVD automount fails if autologin is on https://bugs.launchp

[Bug 546992] Re: Xubuntu 10.04 USB, CD and DVD automount fails if autologin is on

2010-05-05 Thread Lionel Le Folgoc
Thanks for the feedback. I supposed lshal works, but I'm not so sure now (here it failed to start hal when requested). Could affected people try to run 'lshal' or/and 'sudo lshal' in a terminal (with all workarounds disabled)? If this does not work (i.e. it displays a "could not contact hald" error

[Bug 546992] Re: Xubuntu 10.04 USB, CD and DVD automount fails if autologin is on

2010-05-05 Thread Regen
Lionel, I added your PPA to my Software Sources and installed them successfully. They show the right versions in Synaptic Package Manager. Unfortunately it does not make a difference in either Mythbuntu 10.04 or Xubuntu 10.04. Both of these were fresh builds to remove any previous modifications.

[Bug 546992] Re: Xubuntu 10.04 USB, CD and DVD automount fails if autologin is on

2010-05-05 Thread Lionel Le Folgoc
The simplest way is to add my ppa to your sources.list (using the info given on https://launchpad.net/~mrpouit/+archive/ppa). Or you can also download the deb packages separately in a folder, open a terminal, go into this folder, and run "dpkg -i ". -- Xubuntu 10.04 USB, CD and DVD automount fail

[Bug 546992] Re: Xubuntu 10.04 USB, CD and DVD automount fails if autologin is on

2010-05-05 Thread Regen
Lionel, I am very new to Linux, so I am not sure what I should be doing with your PPA. I have been to https://launchpad.net/~mrpouit/+archive/ppa/+sourcepub/1124104/+listing-archive-extra and clicked on libthunar-vfs-1-2_1.0.1-3ubuntu1.1~ppa1_i386.deb, then chose to open it with the default opt

[Bug 546992] Re: Xubuntu 10.04 USB, CD and DVD automount fails if autologin is on

2010-05-04 Thread Erik
Thanks for the patch. I can only test it in 9 days because I am leaving for a holiday in 2 hours. Will test when I return. -- Xubuntu 10.04 USB, CD and DVD automount fails if autologin is on https://bugs.launchpad.net/bugs/546992 You received this bug notification because you are a member of Ubun

[Bug 546992] Re: Xubuntu 10.04 USB, CD and DVD automount fails if autologin is on

2010-05-04 Thread Lionel Le Folgoc
I've put some thunar packages in my PPA (https://launchpad.net/~mrpouit/+archive/ppa/+sourcepub/1124104 /+listing-archive-extra). It's just a small patch to init hal the same way lshal does (it works in lshal, so maybe there's a race condition somewhere in Thunar). Could affected people remove any

[Bug 546992] Re: Xubuntu 10.04 USB, CD and DVD automount fails if autologin is on

2010-05-04 Thread Erik
** Attachment added: "xsession-errors.mounted-before-reboot" http://launchpadlibrarian.net/47821946/xsession-errors.mounted-before-reboot -- Xubuntu 10.04 USB, CD and DVD automount fails if autologin is on https://bugs.launchpad.net/bugs/546992 You received this bug notification because you a

[Bug 546992] Re: Xubuntu 10.04 USB, CD and DVD automount fails if autologin is on

2010-05-04 Thread Erik
Now for the Dennis suggestion in #& of 572042: inserting the USB stick on reboot. This does make a slight difference in my case. The devices /dev/sdb and /dev/sdb1 are created, no hal proces is stated, but an entry in /media/ is created with root as owner. Result is I cannot read from it or write t

[Bug 546992] Re: Xubuntu 10.04 USB, CD and DVD automount fails if autologin is on

2010-05-04 Thread Erik
** Attachment added: "xsession-errors.kill-Thunar" http://launchpadlibrarian.net/47821725/xsession-errors.kill-Thunar -- Xubuntu 10.04 USB, CD and DVD automount fails if autologin is on https://bugs.launchpad.net/bugs/546992 You received this bug notification because you are a member of Ubunt

[Bug 546992] Re: Xubuntu 10.04 USB, CD and DVD automount fails if autologin is on

2010-05-04 Thread Erik
I tested both Lionel's suggestion in #57, and Dennis suggestion in #7 of 572042. First the results for Lionel's suggestion in #57 of this bug: - rebooted without hald in rc.local - inserted USB stick - Killed 1 Thunar instance (Thunar --sm-cliend-id --daemon - started Thunar --daemon. - This did

[Bug 546992] Re: Xubuntu 10.04 USB, CD and DVD automount fails if autologin is on

2010-05-04 Thread Lionel Le Folgoc
When this bug happens, if you kill (or quit) all thunar instances (e.g. with Thunar --quit or ps + kill $pid), and restart it (Thunar --daemon), does automounting work with the new instance? -- Xubuntu 10.04 USB, CD and DVD automount fails if autologin is on https://bugs.launchpad.net/bugs/546992

[Bug 546992] Re: Xubuntu 10.04 USB, CD and DVD automount fails if autologin is on

2010-05-04 Thread Markhor
Erik, in my case automount didn't work only if I autologin-ed. If I used a normal login instead, then everything was ok. Your bug seems to have a different flavor. -- Xubuntu 10.04 USB, CD and DVD automount fails if autologin is on https://bugs.launchpad.net/bugs/546992 You received this bug noti

[Bug 546992] Re: Xubuntu 10.04 USB, CD and DVD automount fails if autologin is on

2010-05-03 Thread Erik
** Attachment added: "xsession-errors.second-login" http://launchpadlibrarian.net/47635819/xsession-errors.second-login -- Xubuntu 10.04 USB, CD and DVD automount fails if autologin is on https://bugs.launchpad.net/bugs/546992 You received this bug notification because you are a member of Ubu

[Bug 546992] Re: Xubuntu 10.04 USB, CD and DVD automount fails if autologin is on

2010-05-03 Thread Erik
** Attachment removed: "xsession-errors.second-login" http://launchpadlibrarian.net/47633822/xsession-errors.second-login ** Attachment removed: "dmesg.second-login" http://launchpadlibrarian.net/47633432/dmesg.second-login ** Attachment added: "dmesg.second-login" http://launchpadlibra

[Bug 546992] Re: Xubuntu 10.04 USB, CD and DVD automount fails if autologin is on

2010-05-03 Thread Erik
** Attachment added: "xsession-errors.second-login" http://launchpadlibrarian.net/47633822/xsession-errors.second-login -- Xubuntu 10.04 USB, CD and DVD automount fails if autologin is on https://bugs.launchpad.net/bugs/546992 You received this bug notification because you are a member of Ubu

[Bug 546992] Re: Xubuntu 10.04 USB, CD and DVD automount fails if autologin is on

2010-05-03 Thread Erik
** Attachment added: "dmesg.second-login" http://launchpadlibrarian.net/47633432/dmesg.second-login -- Xubuntu 10.04 USB, CD and DVD automount fails if autologin is on https://bugs.launchpad.net/bugs/546992 You received this bug notification because you are a member of Ubuntu Bugs, which is s

[Bug 546992] Re: Xubuntu 10.04 USB, CD and DVD automount fails if autologin is on

2010-05-03 Thread Erik
** Attachment added: "xsession-errors.first-login" http://launchpadlibrarian.net/47633105/xsession-errors.first-login -- Xubuntu 10.04 USB, CD and DVD automount fails if autologin is on https://bugs.launchpad.net/bugs/546992 You received this bug notification because you are a member of Ubunt

[Bug 546992] Re: Xubuntu 10.04 USB, CD and DVD automount fails if autologin is on

2010-05-03 Thread Erik
I could reproduce this on my 3 Xubuntu boxes I just upgraded. I do not use auto-login, so that is not a factor. What I notice is that in the first login session (xubuntu session) started after a reboot, hal is not started. If you that logout and log back in again, hal is started. All three had the

[Bug 546992] Re: Xubuntu 10.04 USB, CD and DVD automount fails if autologin is on

2010-05-03 Thread Lionel Le Folgoc
There is probably a race condition somewhere in thunar or libhal (since hal startup is delayed until something explicitely requests it). I don't think the bug is in policykit-1 anyway. ** Package changed: policykit-1 (Ubuntu) => thunar (Ubuntu) -- Xubuntu 10.04 USB, CD and DVD automount fails if

[Bug 546992] Re: Xubuntu 10.04 USB, CD and DVD automount fails if autologin is on

2010-05-03 Thread Regen
** Summary changed: - Xubuntu 10.04 usb automount fails if autologin is on + Xubuntu 10.04 USB, CD and DVD automount fails if autologin is on -- Xubuntu 10.04 USB, CD and DVD automount fails if autologin is on https://bugs.launchpad.net/bugs/546992 You received this bug notification because you