Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Hi, I have been using digikam for some time and until now have had no problems setting it up to work as user.
KDE info centre, USB, shows canon S50. Camera is recognized by digikam under the "Settings menu, Configure Digikam, Cameras" and works correctly as root.
Recently, after upgrading to Slackware Current and KDE 3.4.1, digikam (0.72) will not start after hotplugging my camera. If I start digikam as user from the desktop and then select camera from the Camera menu - digikam error is as follows.
"Failed to connect to camera. Please make sure its connected properly and turned on. Would you like to try again"?
relevant dmesg output is as follows: after plugging and unplugging several times.
usb 4-2: new full speed USB device using uhci_hcd and address 2
usb 4-2: USB disconnect, address 2
usb 4-2: new full speed USB device using uhci_hcd and address 3
usb 4-2: USB disconnect, address 3
usb 4-2: new full speed USB device using uhci_hcd and address 4
/var/log/messages is as follows.
Jul 2 08:29:59 mx  usbcam (0.3.2): Creating lockfile /tmp/usbcam.lock.
Jul 2 08:29:59 mx  usbcam (0.3.2): USB device /proc/bus/usb/004/005 found trying to start /etc/hotplug/usb/digikam-hotplug.
Jul 2 08:29:59 mx  usbcam (0.3.2): There seems to be no desktop available, script will not be started!
Jul 2 08:29:59 mx  usbcam (0.3.2): ps -ef |grep kdeinit..kdesktop: !
Jul 2 08:29:59 mx  usbcam (0.3.2): Started, action: add
Jul 2 08:29:59 mx  usbcam (0.3.2): /tmp/usbcam.lock detected, checking age of file!
Jul 2 08:29:59 mx  usbcam (0.3.2): /tmp/usbcam.lock is 0 seconds old; exiting.
Any ideas as to the problem. Is it a desktop permissions problem. I am sure that the installation of digikam is correct i.e. /opt/kde and I am sure that the usbcam and digikam hotplug scripts are also correctly set up. As mentioned previously I have been using digikam without a problem for about 12 months and therefore am familiar with the setup requirements.
I have played around with all the hotplug and desktop settings without success and cannot find a solution to this problem.
Much appreciate any advice or assistance.
Last edited by The_Outlander; 07-02-2005 at 09:34 AM.
I realize that this is an old thread - I am posting here because I had the same exact problem, but managed to find a better solution. I did a google search for 'usbcam no desktop available' (no desktop available being one of the lines in /var/log/messages) and ran into this post. It was one of very few with the same problem.
Slackware 10.1 w/ KDE 3.4.2 on kernel 220.127.116.11. Note that I did not have this problem with earlier versions of kde.
There is a line in the usbcam script (which I got from the digikam web site, it should be in /etc/hotplug/usb/) that looks like (or similar to) this:
This line is there to check which user is currently logged in and running KDE and the USER variable is used later throughout the script. This line fails with KDE 3.4.2 and needs to be changed in order to output correctly. Changing it to: