Comment 0 for bug 531733

Revision history for this message
bonzo (bonzo) wrote :

timidity gave an error during the install (actually post install steps) when it tried to start the daemon. Gives the same error when running /etc/init.d/timidity start. Could not get sound to work with noteedit (which wants to use timidity). By adding timidity to the pulse groups I still got the error, but could now see and add timidity devices to noteedit.

Turns out adding timidity to the audio group is not enough. It also needs to be added to "pulse" and/or "pulse-access"

# lsb_release -rd
Description: Ubuntu 9.10
Release: 9.10

timidity gave an error during the install (actually post install steps) when it tried to start the daemon.

# apt-get install timidity
Reading package lists... Done
Building dependency tree
...
The following NEW packages will be installed:
  timidity timidity-daemon
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 639kB of archives.
After this operation, 1,659kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://us.archive.ubuntu.com karmic/universe timidity 2.13.2-36 [620kB]
Get:2 http://us.archive.ubuntu.com karmic/universe timidity-daemon 2.13.2-36 [18.6kB]
Fetched 639kB in 2s (260kB/s)
Selecting previously deselected package timidity.
(Reading database ... 239543 files and directories currently installed.)
Unpacking timidity (from .../timidity_2.13.2-36_i386.deb) ...
Selecting previously deselected package timidity-daemon.
Unpacking timidity-daemon (from .../timidity-daemon_2.13.2-36_all.deb) ...
Processing triggers for menu ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up timidity (2.13.2-36) ...

Setting up timidity-daemon (2.13.2-36) ...
Adding group timidity....done
Adding system user timidity....done
Adding user `timidity' to group `audio' ...
Adding user timidity to group audio
Done.
 * Stopping TiMidity++ ALSA midi emulation... [ OK ]
 * Starting TiMidity++ ALSA midi emulation... [ OK ]

Processing triggers for menu ...
No protocol specified
XOpenDisplay() failed
Home directory /etc/timidity not ours.

# /etc/init.d/timidity start
 * Starting TiMidity++ ALSA midi emulation... [ OK ]
root@bubba:/root/bin# No protocol specified
XOpenDisplay() failed
Home directory /etc/timidity not ours.

After adding timidity to the pulse groups in /etc/group I got the same error, but sound would now work (with noteedit).

# /etc/init.d/timidity start
 * Starting TiMidity++ ALSA midi emulation... [ OK ]
root@bubba:/root/bin# No protocol specified
XOpenDisplay() failed
Home directory /etc/timidity not ours.

# apt-cache policy timidity
timidity:
  Installed: 2.13.2-36
  Candidate: 2.13.2-36
  Version table:
 *** 2.13.2-36 0
        500 http://us.archive.ubuntu.com karmic/universe Packages
        100 /var/lib/dpkg/status