Error Failed To Connect To Cdemu Daemon Org.freedesktop.dbus.error
cdemu module) Pages: 1 #1 2010-11-19 21:38:57 Wintershade Member From: Croatia Registered: 2008-02-18 Posts: 175 Website cdemu - can't get it to work (can't connect do dbus, no cdemu module) Hi all! As the topic subject says, I can't get cdemu to work.I'm trying to use it to mount some .mdf images (wanna play Diablo 2 again, and I really don't wanna use the CDs for this).So here goes. First I tried mounting the .mdf image with cdemu, like this...cdemu load 0 01.Install.mdfI get an error message:ERROR: Failed to connect to CDEmu daemon: org.freedesktop.DBus.Error.ServiceUnknown: The name net.sf.cdemu.CDEMUD_Daemon was not provided by any .service files ERROR: Failed to connect to daemon (bus: 'session')!So I found somewhere that I should compile the cdemu-daemon and cdemu-client...yaourt -Sb --noconfirm cdemu-daemon cdemu-clientnow, cdemu-daemon compiles fine, but cdemu-client doesn't seem to compile. what I get as an error is this:Byte-compiling python modules... __init__.pycdemu.py File "/usr/lib/python3.1/site-packages/cdemu/cdemu.py", line 128 except dbus.DBusException, e: ^ SyntaxError: invalid syntaxThe full output is in the pastebin.So anyway, cdemu client installs (althought the success of this is obviously questionable at best), and when I try mounting an image, I (probably as expected) get this:Traceback (most recent call last): File "/usr/bin/cdemu", line 23, in
Linux Support Requests CDemu - a virtual CD/DVD drive for Linux Brought to you by: hstokset, mrok, robertpenz, vapier Summary Files Reviews Support Mailing Lists GIT Tickets ▾ Patches Bug reports Support Requests Feature Requests Create Ticket View Stats Milestone Searches Changes Closed Tickets Open Tickets Help Formatting Help #8 No .service file. Status: closed Owner: nobody Labels: Install Problem (example) (2) Group: Priority: 5 Updated: 2012-09-30 Created: 2011-06-22 Creator: Red_Breast Private: No I've had cdemu working on Debian before after a load of headaches. Then I was https://bbs.archlinux.org/viewtopic.php?id=108707 using Ubuntu for a while and the PPA was great. No problems ever. I'm now using Linux Mint Debian Edition. I compiled cdemu yesterday without any errors in this order: vhba-module-20110416 libmirage-1.3.0 cdemu-daemon-1.3.0 cdemu-client-1.3.0 gcdemu-1.3.0 Entering 'cdemu status' into the terminal (after rebooting) I get this: 'ERROR: Failed to connect to CDEmu daemon: org.freedesktop.DBus.Error.ServiceUnknown: The name net.sf.cdemu.CDEMUD_Daemon was not provided by https://sourceforge.net/p/cdemu/support-requests/8/ any .service files ERROR: Failed to connect to daemon (bus: 'session')!' About 6 hours later after entering that error into Google and checking about 20 different forums and trying all the suggestions not to mention going through all the documents that come with the packages and one broken keyboard I'm no better off. I could really do with answers designed for those who don't understand what's going on underneath the hood. No doubt the answer is in one of those documents but I don't even understand things like system or session and couldn't care less - I'll take either of them - I just want it working. I gave up yesterday simply because I'm sure you'll agree 6 hours is ridiculous. I would ask why is there no repo so I can add it to the software sources list but I get the feeling you've been asked that before. Discussion Rok Mandeljc - 2011-06-23 Hey, the error you are getting indicates that CDEmu daemon isn't running (at least not on session bus). Try running 'cdemud' as user first. And make sure vh
Linux Support Requests CDemu - a virtual CD/DVD drive for Linux Brought to you by: hstokset, mrok, robertpenz, vapier Summary Files Reviews Support Mailing Lists GIT Tickets ▾ Patches https://sourceforge.net/p/cdemu/support-requests/20/ Bug reports Support Requests Feature Requests Create Ticket View Stats Milestone Searches Changes Closed Tickets Open Tickets Help Formatting Help #20 Daemon autostart failed (exit code 255) Milestone: None Status: closed Owner: nobody Labels: None Group: vhba-module Priority: default Updated: 2014-08-26 Created: 2014-04-25 Creator: giubbe Private: No I installed from source on Kubuntu 14.04. No installation problems (Basic Installation, as show INSTALL file), error failed but when I start gcdemu shows the message: Daemon autostart failed. Error: Errore nel chiamare StartServiceByName per net.sf.cdemu.CDEmuDaemon: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process /usr/libexec/cdemu-daemon-session.sh exited with status 255 What can I do? thanks Discussion Henrik Stokseth - 2014-04-25 there should be a file in your home folder ~/.cdemu-daemon.log that has some info about what went wrong. what does it say? is the vhba module loaded and error failed to what are the permissions on the device? info on how to set permissions can be seen on the webpage in the VHBA section... apparently this info haven't made it to the README, even though it should. If you would like to refer to this comment somewhere else in this project, copy and paste the following link: giubbe - 2014-04-26 Thanks for you reply the contents of the file is: Starting CDEmu daemon with following parameters: - num devices: 1 - ctl device: /dev/vhba_ctl - audio driver: default - bus type: session cdemu0: Kernel I/O: failed to open control device /dev/vhba_ctl: No such file or directory! The module is not loaded because it is not signed: Can't read private key DEPMOD 3.13.0-24-generic I tried to sign it, but without success. The kernel configuration file contains the following parameters CONFIG_MODULES=y CONFIG_MODULE_UNLOAD=y CONFIG_MODVERSIONS=y CONFIG_MODULE_SRCVERSION_ALL=y CONFIG_MODULE_SIG=y CONFIG_MODULE_SIG_ALL=y CONFIG_MODULE_SIG_SHA512=y CONFIG_MODULE_SIG_HASH="sha512" I also added the udev rules KERNEL=="vhba_ctl", MODE="0660", OWNER="root", GROUP="cdrom" thanks Last edit: giubbe 2014-04-26 If you would like to refer to this comment somewhere else in this project, copy and paste the following link: Henrik Stokseth - 2014-04-26 ok. if this modu