1 |
On Mon, May 23, 2011 at 12:35 AM, Neil Bothwick <neil@××××××××××.uk> wrote: |
2 |
> On Sun, 22 May 2011 12:01:59 -0700, Mark Knecht wrote: |
3 |
> |
4 |
>> mark@gandalf ~ $ ssh -X -Y -C laptop |
5 |
>> Password: |
6 |
>> Last login: Sun May 22 03:50:07 PDT 2011 from 192.168.1.2 on pts/0 |
7 |
>> mark@laptop1 ~ $ konsole |
8 |
>> <unknown program name>(4454)/: KUniqueApplication: Cannot find the |
9 |
>> D-Bus session server: "/usr/bin/dbus-launch terminated abnormally |
10 |
>> with the following error: Autolaunch error: X11 initialization failed. |
11 |
> |
12 |
> Is $DBUS_SESSION_BUS_ADDRESS set? Without it you will get errors like |
13 |
> this. |
14 |
> |
15 |
> I have this in my .zshrc to set it on SSH logins. |
16 |
> |
17 |
> [[ -n "${SSH_TTY}" ]] && export DBUS_SESSION_BUS_ADDRESS="$(cat /proc/$(pidof kded4)/environ | tr '\0' '\n' | grep DBUS | cut -d '=' -f2-)" || return 0 |
18 |
> |
19 |
> |
20 |
> -- |
21 |
> Neil Bothwick |
22 |
> |
23 |
> Walking on water and writing software to specification is easy if they're frozen. |
24 |
> |
25 |
|
26 |
Hi Neil, |
27 |
Turns out I didn't have much of anything on the machine that didn't |
28 |
come with KDE so I emerged xclock and that app opens here fine. I |
29 |
guess that points to KDE apps only. |
30 |
|
31 |
I'll have to do some reading about zssh and how that differs from |
32 |
openssh that I'm using here. Is there some equivalent of .zshrc that |
33 |
would allow me to do the same thing? Or maybe something globally in |
34 |
/etc/ssh? |
35 |
|
36 |
Thanks for the help! |
37 |
|
38 |
Cheers, |
39 |
Mark |