1 |
On Tue, May 24, 2011 at 12:49 PM, Neil Bothwick <neil@××××××××××.uk> wrote: |
2 |
> On Tue, 24 May 2011 10:50:49 -0700, Mark Knecht wrote: |
3 |
> |
4 |
>> > Is $DBUS_SESSION_BUS_ADDRESS set? Without it you will get errors like |
5 |
>> > this. |
6 |
>> > |
7 |
>> > I have this in my .zshrc to set it on SSH logins. |
8 |
>> > |
9 |
>> > [[ -n "${SSH_TTY}" ]] && export |
10 |
>> > DBUS_SESSION_BUS_ADDRESS="$(cat /proc/$(pidof kded4)/environ | tr |
11 |
>> > '\0' '\n' | grep DBUS | cut -d '=' -f2-)" || return 0 |
12 |
> |
13 |
>> Turns out I didn't have much of anything on the machine that didn't |
14 |
>> come with KDE so I emerged xclock and that app opens here fine. I |
15 |
>> guess that points to KDE apps only. |
16 |
>> |
17 |
>> I'll have to do some reading about zssh and how that differs from |
18 |
>> openssh that I'm using here. Is there some equivalent of .zshrc that |
19 |
>> would allow me to do the same thing? Or maybe something globally in |
20 |
>> /etc/ssh? |
21 |
> |
22 |
> It's zsh, not zssh. Zsh is a shell, like Bash but better, so you'd put |
23 |
> the same in .bashrc to use it with Bash. |
24 |
> |
25 |
> |
26 |
> -- |
27 |
> Neil Bothwick |
28 |
|
29 |
As always Neil, you continue to amaze me with the depth of solutions |
30 |
you seem to have at the snap of your fingers. Truly you have forgotten |
31 |
more than I shall ever know. |
32 |
|
33 |
Your suggestion seemed to have worked perfectly in my .bashrc file. |
34 |
|
35 |
I really appreciate the help. |
36 |
|
37 |
Cheers, |
38 |
Mark |