Re: [Bug 407529] Re: Camera (USB PTP) not accessible to non-root user
On Mon, Aug 3, 2009 at 8:46 AM, Martin Pittmartin.p...@ubuntu.com wrote: Ah, that explains it then. Not a wdm bug then, and I'm afraid this is not quite a supported configuration right now. You can try wrapping your X session scripts into a ck-launch-session x-session-program, or install a login manager. I installed 'slim' and then things worked as expected so I looked at what it was running and stole that and put in in my .xinitrc like so: /usr/bin/ssh-agent /usr/bin/ck-launch-session /usr/bin/dbus-launch --exit-with-session wmaker stopped slim then logged in with startx, and things worked as expected. In future if I find any other odd behaviour I'll test against using a login manager vs without. Thanks for your perseverance with this. -- Camera (USB PTP) not accessible to non-root user https://bugs.launchpad.net/bugs/407529 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 407529] Re: Camera (USB PTP) not accessible to non-root user
On Mon, Aug 3, 2009 at 3:46 AM, Martin Pittmartin.p...@ubuntu.com wrote: Oh, sorry for not having spotted this before. In bug 267238 you pasted your ck-list-sessions output: $ ck-list-sessions Session1: unix-user = '1000' realname = 'jamesc,,,' seat = 'Seat1' session-type = '' active = FALSE x11-display = '' x11-display-device = '' display-device = '/dev/tty1' remote-host-name = '' is-local = TRUE on-since = '2009-07-27T06:15:37.099359Z' login-session-id = '' idle-since-hint = '2009-07-27T06:16:08.001685Z' This means that you were logged in on a text console (VT1), but your X session does not have a consolekit session for some reason. Which login manager are you using? gdm and kdm get this alright, and even xdm should, though /etc/X11/Xsession.d/90consolekit . You said you are using window maker as WM, so I tentatively assign this to wdm. If you use another login manager, we can reassign. I don't actually use a login manager, I've not found one I like. My laptop boots then I log into a text console and type 'startx'. The window manager ideally registers a CK session by itself, but if not, it at least needs to run all the /etc/X11/Xsession.d/ scripts. ** Package changed: hal (Ubuntu) = wdm (Ubuntu) -- Camera (USB PTP) not accessible to non-root user https://bugs.launchpad.net/bugs/407529 You received this bug notification because you are a direct subscriber of the bug. Status in “wdm” package in Ubuntu: Incomplete Bug description: Binary package hint: hal https://bugs.launchpad.net/ubuntu/+source/libgphoto2/+bug/267238 but brought across to a new bug report against HAL as requested. I can't access my Canon IXUS 80IS as a non root user. -- Camera (USB PTP) not accessible to non-root user https://bugs.launchpad.net/bugs/407529 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 407529] Re: Camera (USB PTP) not accessible to non-root user
Can you please give me the output of polkit-action|grep device- access # polkit-action | grep device-access org.freedesktop.hal.device-access.audio-player org.freedesktop.hal.device-access.camera org.freedesktop.hal.device-access.cdrom org.freedesktop.hal.device-access.dvb org.freedesktop.hal.device-access.fingerprint-reader org.freedesktop.hal.device-access.floppy org.freedesktop.hal.device-access.ieee1394-avc org.freedesktop.hal.device-access.ieee1394-iidc org.freedesktop.hal.device-access.joystick org.freedesktop.hal.device-access.modem org.freedesktop.hal.device-access.mouse org.freedesktop.hal.device-access.obex org.freedesktop.hal.device-access.pda org.freedesktop.hal.device-access.ppdev org.freedesktop.hal.device-access.printer org.freedesktop.hal.device-access.removable-block org.freedesktop.hal.device-access.scanner org.freedesktop.hal.device-access.sound org.freedesktop.hal.device-access.video org.freedesktop.hal.device-access.video4linux org.freedesktop.hal.device-access.smart-card-reader -- Camera (USB PTP) not accessible to non-root user https://bugs.launchpad.net/bugs/407529 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 407529] [NEW] Camera (USB PTP) not accessible to non-root user
Public bug reported: Binary package hint: hal https://bugs.launchpad.net/ubuntu/+source/libgphoto2/+bug/267238 but brought across to a new bug report against HAL as requested. I can't access my Canon IXUS 80IS as a non root user. ** Affects: hal (Ubuntu) Importance: Undecided Status: New -- Camera (USB PTP) not accessible to non-root user https://bugs.launchpad.net/bugs/407529 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 407529] Re: Camera (USB PTP) not accessible to non-root user
** Attachment added: hal.log http://launchpadlibrarian.net/29762025/hal.log -- Camera (USB PTP) not accessible to non-root user https://bugs.launchpad.net/bugs/407529 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 407529] Re: Camera (USB PTP) not accessible to non-root user
** Attachment added: lshal.txt http://launchpadlibrarian.net/29762060/lshal.txt -- Camera (USB PTP) not accessible to non-root user https://bugs.launchpad.net/bugs/407529 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 407529] Re: Camera (USB PTP) not accessible to non-root user
** Attachment added: dmesg.log http://launchpadlibrarian.net/29762065/dmesg.log -- Camera (USB PTP) not accessible to non-root user https://bugs.launchpad.net/bugs/407529 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 267238] Re: libgphoto2 missing udev rules?
On Thu, Jul 30, 2009 at 1:29 AM, Martin Pittmartin.p...@ubuntu.com wrote: OK, thanks. Can you please get a hal debugging output, as described on https://wiki.ubuntu.com/DebuggingHal, open a new bug against hal, and attach the log there? Please give me the other bugs' number here, to keep the cross-reference. Thanks! https://bugs.launchpad.net/ubuntu/+source/hal/+bug/407529 -- libgphoto2 missing udev rules? https://bugs.launchpad.net/bugs/267238 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 267238] Re: libgphoto2 missing udev rules?
On Wed, Jul 29, 2009 at 12:53 AM, Martin Pittmartin.p...@ubuntu.com wrote: Thanks, the ck-list-sessions output looks fine. Since you don't get an automatic ACL, there must be something wrong with hal. Do you have hal installed (dpkg -s hal). Package: hal Status: install ok installed Priority: optional Section: admin Installed-Size: 1920 Maintainer: Ubuntu Core Developers ubuntu-devel-disc...@lists.ubuntu.com Architecture: i386 Version: 0.5.12~rc1+git20090403-0ubuntu4 -- libgphoto2 missing udev rules? https://bugs.launchpad.net/bugs/267238 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 267238] Re: libgphoto2 missing udev rules?
On Mon, Jul 27, 2009 at 6:47 AM, Martin Pittmartin.p...@ubuntu.com wrote: libgphoto deliberately does not have any udev rules in Ubuntu 9.04 and earlier, closing again. (Just to avoid confusion, Ubuntu 9.10 version does have udev rules again, the hal ACL management moved to udev). ck-list-sessions gives no output, as a normal user or root. That would be the real problem then. Do you have libpam-ck-connector installed? I installed libpam-ck-connector and restarted X and logged back in. gphoto2 --auto-detect -L -- Could not claim the USB device. It's probably a permissions problem of some sort, as I can run 'gphoto2 --auto-detect -L' and it fails, if I run that as a sudo command it works (likewise with gtkam) fyi: jam...@beast:~$ ck-list-sessions Session1: unix-user = '1000' realname = 'jamesc,,,' seat = 'Seat1' session-type = '' active = FALSE x11-display = '' x11-display-device = '' display-device = '/dev/tty1' remote-host-name = '' is-local = TRUE on-since = '2009-07-27T06:15:37.099359Z' login-session-id = '' idle-since-hint = '2009-07-27T06:16:08.001685Z' What desktop do you use? I use Window Maker as my window manager. -- libgphoto2 missing udev rules? https://bugs.launchpad.net/bugs/267238 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 267238] Re: libgphoto2 missing udev rules?
** Changed in: libgphoto2 (Ubuntu) Status: Invalid = New -- libgphoto2 missing udev rules? https://bugs.launchpad.net/bugs/267238 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 267238] Re: libgphoto2 missing udev rules?
I'm affected by this bug as well. I can access my camera as root but not as a normal user. Ubuntu Alternate 9.04. I don't do Gnome or KDE. ck-list-sessions gives no output, as a normal user or root. r...@beast:~# lsusb Bus 002 Device 009: ID 04a9:3184 Canon, Inc. Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 005 Device 002: ID 045e:0040 Microsoft Corp. Wheel Mouse Optical Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 002: ID 0bda:0158 Realtek Semiconductor Corp. Mass Stroage Device Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub r...@beast:~# getfacl /dev/bus/usb/002/009 getfacl: Removing leading '/' from absolute path names # file: dev/bus/usb/002/009 # owner: root # group: root user::rw- group::rw- other::r-- (I hope I've getfacled the right device for you) -- libgphoto2 missing udev rules? https://bugs.launchpad.net/bugs/267238 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 403928] [NEW] Nautilus cannot handle network locations.
Public bug reported: Description:Ubuntu 9.04 Release:9.04 nautilus: Installed: 1:2.26.2-0ubuntu2 Candidate: 1:2.26.2-0ubuntu2 I installed Ubuntu 9.04 Alternate. I installed my window manager of choice (not gnome) and I installed nautilus (for the purpose of browsing SMB shares). When I opened nautilus and clicked the network lolly I would get the error 'Nautilus cannot handle network locations.'. I could not find a solution to this so I set out on finding it for myself. By trial and error I found that installing gdm and starting X using gdm nautilus would then behave how it was supposed to (with regard to the network button). I believe this is to do with how (nautius/gdm) then invokes the gvfs stuff, but I am yet to grok that. My suggestion would be to set nautilus so that it recommends gdm. ** Affects: nautilus (Ubuntu) Importance: Undecided Status: New -- Nautilus cannot handle network locations. https://bugs.launchpad.net/bugs/403928 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 403928] Re: Nautilus cannot handle network locations.
As you've clearly got some understanding could you please provide a pointer or two on how one goes about setting their dbus environment correctly? Googling 'dbus environment' (with nautilus, or without) didn't get me very far. -- Nautilus cannot handle network locations. https://bugs.launchpad.net/bugs/403928 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 403928] Re: Nautilus cannot handle network locations.
Yes, tried that and it didn't work either. I did some more trial and error and found that launching my window manager using dbus-launch seems to let nautilus do the right thing (I've purged gdm). My .xinitrc now contains: conky dbus-launch --exit-with-session wmaker I type startx and things seem OK -- Nautilus cannot handle network locations. https://bugs.launchpad.net/bugs/403928 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs