LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-08-2024, 06:49 PM   #1
inukaze
Member
 
Registered: Feb 2011
Location: Venezuela - Caracas
Distribution: Slackware64 14.2, Slackware 14.2, Gentoo, Devuan, gNewSense, GoboLinux, Leeenux, Porteus
Posts: 294

Rep: Reputation: 27
Thumbs up [SOLVED] Slackware(64) 15.0 - CDEmu


Slackware 15.0 - CDEmu :

Install Packages ; create the group "cdemu" ; add your user to the group "cdemu" ;
Code:
su -c "slpkg update ; slpkg -s sbo --rebuild --reinstall cdemu-daemon cdemu-client libmirage vhba-module ; ldconfig ; groupadd cdemu ; usermod -a -G cdemu $USER" root ; ldconfig
Enable during system boot
Code:
su -c "echo '
# CDEmu : Start cdemu daemon

        if [ -x /etc/rc.d/rc.cdemud ]; then
                /etc/rc.d/rc.cdemud start
        fi
' >> /etc/rc.d/rc.local" root
Disable during system shutdown
Code:
su -c "echo '
# CDEmu : Stop cdemu daemon

        if [ -x /etc/rc.d/rc.cdemud ]; then
                /etc/rc.d/rc.cdemud stop
        fi
' >> /etc/rc.d/rc.local_shutdown" root
Set the permission to be execute and read by anyone
Code:
su -c "chmod a+o+x /etc/rc.d/rc.local ; chmod a+o+x /etc/rc.d/rc.shutdown ; chmod a+o+x /etc/rc.d/rc.cdemud" root
If you wanna try to insert directly the vhba module to test cdemu via "kde_cdemu" or "gcdemu", but its better idea just restart the entire machine.

Code:
su -c "modprobe vhba" root
if you want to use "kde_cdemu", first Install Package :
Code:
su -c "slpkg -s sbo --rebuild --reinstall kde_cdemu ; ldconfig" root
if you want to use "gcdemu" i suggest you do the follow First install package :
Code:
su -c "slpkg -s sbo --rebuild --reinstall gcdemu ; ldconfig" root
Second add startup file to load daemon during user login :

Code:
su
mkdir -p /etc/xdg/autostart
touch /etc/xdg/autostart/cdemu-daemon-start.desktop

echo '#!/usr/bin/env xdg-open
[Desktop Entry]
Exec=cdemu-daemon start
GenericName=CDEmu Daemon
Icon=/usr/share/pixmaps/cdemu-client.png
Name=CDEmu Daemon
StartupNotify=true
Terminal=false
Type=Application
X-KDE-SubstituteUID=false' | tee /etc/xdg/autostart/cdemu-daemon-start.desktop

chmod a+o+x /etc/xdg/autostart/cdemu-daemon-start.desktop
and you can start and use "gcdemu" like expect without see errors like :
Quote:
Daemon autostart failed. Error: g-debus-error-quark: Error al llamar StartSereviceByName para net.sf.cdemu.CDEmuDaemon: Failed to execute program net.sf.cdemu.CDEmuDaemon: Permission denied (23)
Caused by the "cdemu-daemon" was not started like normal user.

Last edited by inukaze; 06-08-2024 at 06:56 PM.
 
Old 06-10-2024, 08:32 AM   #2
M0M0
Member
 
Registered: Sep 2020
Location: Germany
Distribution: Slackware
Posts: 232

Rep: Reputation: 20
Quote:
Originally Posted by inukaze View Post
Slackware 15.0 - CDEmu :

Disable during system shutdown
Code:
su -c "echo '
# CDEmu : Stop cdemu daemon

        if [ -x /etc/rc.d/rc.cdemud ]; then
                /etc/rc.d/rc.cdemud stop
        fi
' >> /etc/rc.d/rc.local_shutdown" root
Is this really necessary? I never stop it explicitly and had no problems so far.
 
Old Yesterday, 06:30 PM   #3
inukaze
Member
 
Registered: Feb 2011
Location: Venezuela - Caracas
Distribution: Slackware64 14.2, Slackware 14.2, Gentoo, Devuan, gNewSense, GoboLinux, Leeenux, Porteus
Posts: 294

Original Poster
Rep: Reputation: 27
Quote:
Originally Posted by M0M0 View Post
Is this really necessary? I never stop it explicitly and had no problems so far.
Really not. the service must be off during system shutdown, but i prefer put the things rights, before appears strange errors. i had some troubles with "RealVNC" client during shutdown, when i start again the machine, some things like dhpc does not work fine until i stop the services of realvnc, NetworkManager, and start again first RealVNC after Network Manager. but that was with Slackware(64) 14.2

Last edited by inukaze; Yesterday at 06:31 PM.
 
  


Reply

Tags
cdemu, slackware


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting .BIN/.CUE with cdemu (error installing cdemu) bonniehandi Linux - Software 0 12-22-2005 02:40 AM
Can someone help me install CDemu? kernel question bastupungen Linux - Software 7 08-02-2004 11:34 AM
Need help installing CDemu. The install claims im not root. bastupungen Linux - Software 4 08-02-2004 11:33 AM
problem with cdemu keevitaja Linux - General 0 02-28-2004 05:24 AM
Trouble installing CDEMU Maselter Linux - Software 0 02-22-2004 09:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration