Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-user
Navigation:
Lists: gentoo-user: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-user@g.o
From: Mark Knecht <markknecht@...>
Subject: Re: Display indirect login X app here?
Date: Tue, 24 May 2011 10:50:49 -0700
On Mon, May 23, 2011 at 12:35 AM, Neil Bothwick <neil@...> wrote:
> 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.
>

Hi Neil,
   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?

Thanks for the help!

Cheers,
Mark


Replies:
Re: Display indirect login X app here?
-- Neil Bothwick
References:
Display indirect login X app here?
-- Mark Knecht
Re: Display indirect login X app here?
-- Neil Bothwick
Navigation:
Lists: gentoo-user: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Display indirect login X app here?
Next by thread:
Re: Display indirect login X app here?
Previous by date:
Ctrl+C not working over ssh?
Next by date:
Re: Ctrl+C not working over ssh?


Updated May 04, 2012

Summary: Archive of the gentoo-user mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.