Bug#639555: Solution for audtool over ssh
David Ljung Madison
debian.org at daveola.com
Tue Oct 23 11:36:16 UTC 2012
This is because audtool needs the D-Bus address set
in the $DBUS_SESSION_BUS_ADDRESS environment variable.
This is set when you are logged in via X, but not when you
login via ssh.
You can workaround this by saving the address in a file and
sourcing it when you login without it set.
I did this by putting this in my .tcshrc:
(will work with csh/tcsh, but you'd need to rewrite it for sh/bash variants)
#######################
# Create an alias that starts audacious after saving DBUS address
if ( $?DBUS_SESSION_BUS_ADDRESS ) then
alias audacious "echo 'setenv DBUS_SESSION_BUS_ADDRESS \$DBUS_SESSION_BUS_ADDRESS' > ~/.dbusAddr && \audacious"
endif
# If we don't have DBUS but the file exists, source it
if ( -f ~/.dbusAddr && ( !($?DBUS_SESSION_BUS_ADDRESS ))) then
source ~/.dbusAddr
endif
#######################
Hope that helps!
More information about the pkg-multimedia-maintainers
mailing list