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!


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to