Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Display indirect login X app here?
Date: Mon, 23 May 2011 07:44:21
Message-Id: 20110523083550.24a34755@digimed.co.uk
In Reply to: [gentoo-user] Display indirect login X app here? by Mark Knecht
1 On Sun, 22 May 2011 12:01:59 -0700, Mark Knecht wrote:
2
3 > mark@gandalf ~ $ ssh -X -Y -C laptop
4 > Password:
5 > Last login: Sun May 22 03:50:07 PDT 2011 from 192.168.1.2 on pts/0
6 > mark@laptop1 ~ $ konsole
7 > <unknown program name>(4454)/: KUniqueApplication: Cannot find the
8 > D-Bus session server: "/usr/bin/dbus-launch terminated abnormally
9 > with the following error: Autolaunch error: X11 initialization failed.
10
11 Is $DBUS_SESSION_BUS_ADDRESS set? Without it you will get errors like
12 this.
13
14 I have this in my .zshrc to set it on SSH logins.
15
16 [[ -n "${SSH_TTY}" ]] && export DBUS_SESSION_BUS_ADDRESS="$(cat /proc/$(pidof kded4)/environ | tr '\0' '\n' | grep DBUS | cut -d '=' -f2-)" || return 0
17
18
19 --
20 Neil Bothwick
21
22 Walking on water and writing software to specification is easy if they're frozen.

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] Display indirect login X app here? Mark Knecht <markknecht@×××××.com>