On Tue, 24 May 2011 10:50:49 -0700, Mark Knecht wrote:

> > 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

>    Turns out I didn't have much of anything on the machine that didn't
> come with KDE so I emerged xclock and that app opens here fine. I
> guess that points to KDE apps only.
> 
>    I'll have to do some reading about zssh and how that differs from
> openssh that I'm using here. Is there some equivalent of .zshrc that
> would allow me to do the same thing? Or maybe something globally in
> /etc/ssh?

It's zsh, not zssh. Zsh is a shell, like Bash but better, so you'd put
the same in .bashrc to use it with Bash.


-- 
Neil Bothwick

"Two things are infinite: the universe and human stupidity;
 and I'm not sure about the the universe."
 (Albert Einstein)

Attachment: signature.asc
Description: PGP signature

Reply via email to