On Sun, 22 May 2011 12:01:59 -0700, Mark Knecht wrote:

> mark@gandalf ~ $ ssh -X -Y -C laptop
> Password:
> Last login: Sun May 22 03:50:07 PDT 2011 from 192.168.1.2 on pts/0
> mark@laptop1 ~ $ konsole
> <unknown program name>(4454)/: KUniqueApplication: Cannot find the
> D-Bus session server:  "/usr/bin/dbus-launch terminated abnormally
> with the following error: Autolaunch error: X11 initialization failed.

Is $DBUS_SESSION_BUS_ADDRESS set? Without it you will get errors like
this.

I have this in my .zshrc to set it on SSH logins.

[[ -n "${SSH_TTY}" ]] && export DBUS_SESSION_BUS_ADDRESS="$(cat /proc/$(pidof 
kded4)/environ | tr '\0' '\n' | grep DBUS | cut -d '=' -f2-)" || return 0


-- 
Neil Bothwick

Walking on water and writing software to specification is easy if they're 
frozen.

Attachment: signature.asc
Description: PGP signature

Reply via email to