[Digikam-users] digikam hotplug and mandriva 2006

Franck Collineau franck-collineau at wanadoo.fr
Sun Oct 16 14:25:50 BST 2005


[franck at localhost ~]$ xhost +
access control disabled, clients can connect from any host
[franck at localhost ~]$ su -
Password:
[root at localhost ~]# export DISPLAY=:0
[root at localhost ~]# su franck --login -c
/etc/udev/agent.d/usb/digikam-hotplug
-bash: /etc/udev/agent.d/usb/digikam-hotplug: Aucun fichier ou
répertoire de ce type

Last line: no such file or folder

Franck

Oliver Dörr wrote:

> Oliver Dörr wrote:
>
>>Franck Collineau wrote:
>>  
>>
>>>I have modified usbcam as:
>>># The script that starts the application, that should react on the camera
>>>apphotplug="/etc/udev/agent.d/usb/digikam-hotplug"
>>>digikamstarted="/etc/udev/agent.d/usb/digikam-already-started"
>>>
>>>and here are the outputs:
>>>Oct 16 14:10:07 localhost kernel: ohci_hcd 0000:00:02.1: wakeup
>>>Oct 16 14:10:08 localhost kernel: usb 2-3: new full speed USB device
>>>using ohci_hcd and address 8
>>>Oct 16 14:10:08 localhost [3] usbcam (0.3.3): ps -ef |grep startkde:
>>>franck    3878  3461  0 10:22 ?        00:00:00 /bin/sh /usr/bin/startkde!
>>>Oct 16 14:10:08 localhost [3] usbcam (0.3.3): Started for franck,
>>>action: add
>>>Oct 16 14:10:08 localhost [2] usbcam (0.3.3): /tmp/usbcam.lock detected,
>>>checking age of file!
>>>Oct 16 14:10:08 localhost [2] usbcam (0.3.3): /tmp/usbcam.lock is 117
>>>seconds old; removing it.
>>>Oct 16 14:10:08 localhost [1] usbcam (0.3.3): Can't find .
>>>Oct 16 14:10:08 localhost [3] usbcam (0.3.3): ps -ef |grep startkde:
>>>franck    3878  3461  0 10:22 ?        00:00:00 /bin/sh /usr/bin/startkde!
>>>Oct 16 14:10:08 localhost [3] usbcam (0.3.3): Started for franck,
>>>action: add
>>>Oct 16 14:10:08 localhost [3] usbcam (0.3.3): Creating lockfile
>>>/tmp/usbcam.lock.
>>>Oct 16 14:10:08 localhost [3] usbcam (0.3.3): USB device
>>>/proc/bus/usb/002/008 found trying to start
>>>/etc/udev/agent.d/usb/digikam-hotplug.
>>>Oct 16 14:10:08 localhost [3] usbcam (0.3.3): Starting digikam-hotplug
>>>for franck.
>>>Oct 16 14:10:08 localhost su(pam_unix)[7058]: session opened for user
>>>franck by (uid=0)
>>>Oct 16 14:10:08 localhost su(pam_unix)[7058]: session closed for user franck
>>>Franck
>>>  
>>>    
>>>
>>ok, i 'll see that usbcam tries to start digikam-hotplug, but sadly 
>>there is no hint why it fails. So we should check that command. 
>>Basically it uses the following line to start it
>>
>>su ${USER} --login -c ${apphotplug}
>>
>>
>>so please do the following
>>login into KDE as franck
>>open konsole
>>xhost +
>>su -
>>su franck --login -c /etc/udev/agent.d/usb/digikam-hotplug
>>
>>and tell me what you'll get...
>>  
>>
> upps forgot one step
>
>login into KDE as franck
>open konsole
>xhost +
>su -
>export DISPLAY=:0
>su franck --login -c /etc/udev/agent.d/usb/digikam-hotplug
>  
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Digikam-users mailing list
>Digikam-users at kde.org
>https://mail.kde.org/mailman/listinfo/digikam-users
>  
>





More information about the Digikam-users mailing list