Rounan
May 2nd, 2008, 04:09 AM
Hi,
I have a headless ubuntu 7.10 server box running as a fileserver / uTorrent server in text mode only. xubuntu was installed on the box for initial admin and the Wine install, but is not loaded by default.
I have recently begun ripping some of my music collection. I have set up abcde to do this on the server, non-interactively and ejecting the CD when finished, and it works beautifully. However, I still have to type "abcde" into an SSH terminal when I insert each CD.
I would like to set it up so that when a CD is inserted (preferably with smart detection of an audio CD), abcde is run automatically.
I looked into HAL/DBUS a bit back in the 6.06 era, but I'm not sure which of these is responsible for auto mount magic these days. I suspect DBUS, but when I try to find out with dbus-monitor, I get:
$ dbus-monitor
Failed to open connection to session message bus: dbus-launch failed to autolaunch D-Bus session: Autolaunch error: X11 initialization failed.
none of these /var/log/ files give any output when I insert a CD:
messages, dmesg, kern.log, udev, debug, syslog
Where should I go from here? Is there any hope of getting DBUS or a similar program to alert the system that a CD has been inserted without pulling in X11 or (worse) gnome-vfs as a dependency?
--Rounan
I have a headless ubuntu 7.10 server box running as a fileserver / uTorrent server in text mode only. xubuntu was installed on the box for initial admin and the Wine install, but is not loaded by default.
I have recently begun ripping some of my music collection. I have set up abcde to do this on the server, non-interactively and ejecting the CD when finished, and it works beautifully. However, I still have to type "abcde" into an SSH terminal when I insert each CD.
I would like to set it up so that when a CD is inserted (preferably with smart detection of an audio CD), abcde is run automatically.
I looked into HAL/DBUS a bit back in the 6.06 era, but I'm not sure which of these is responsible for auto mount magic these days. I suspect DBUS, but when I try to find out with dbus-monitor, I get:
$ dbus-monitor
Failed to open connection to session message bus: dbus-launch failed to autolaunch D-Bus session: Autolaunch error: X11 initialization failed.
none of these /var/log/ files give any output when I insert a CD:
messages, dmesg, kern.log, udev, debug, syslog
Where should I go from here? Is there any hope of getting DBUS or a similar program to alert the system that a CD has been inserted without pulling in X11 or (worse) gnome-vfs as a dependency?
--Rounan