1 |
On Tue, 24 May 2011 10:50:49 -0700, Mark Knecht wrote: |
2 |
|
3 |
> > Is $DBUS_SESSION_BUS_ADDRESS set? Without it you will get errors like |
4 |
> > this. |
5 |
> > |
6 |
> > I have this in my .zshrc to set it on SSH logins. |
7 |
> > |
8 |
> > [[ -n "${SSH_TTY}" ]] && export |
9 |
> > DBUS_SESSION_BUS_ADDRESS="$(cat /proc/$(pidof kded4)/environ | tr |
10 |
> > '\0' '\n' | grep DBUS | cut -d '=' -f2-)" || return 0 |
11 |
|
12 |
> Turns out I didn't have much of anything on the machine that didn't |
13 |
> come with KDE so I emerged xclock and that app opens here fine. I |
14 |
> guess that points to KDE apps only. |
15 |
> |
16 |
> I'll have to do some reading about zssh and how that differs from |
17 |
> openssh that I'm using here. Is there some equivalent of .zshrc that |
18 |
> would allow me to do the same thing? Or maybe something globally in |
19 |
> /etc/ssh? |
20 |
|
21 |
It's zsh, not zssh. Zsh is a shell, like Bash but better, so you'd put |
22 |
the same in .bashrc to use it with Bash. |
23 |
|
24 |
|
25 |
-- |
26 |
Neil Bothwick |
27 |
|
28 |
"Two things are infinite: the universe and human stupidity; |
29 |
and I'm not sure about the the universe." |
30 |
(Albert Einstein) |