<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: dbus session access from remote</title>
	<atom:link href="http://www.outflux.net/blog/archives/2008/08/05/dbus-session-access-from-remote/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.outflux.net/blog/archives/2008/08/05/dbus-session-access-from-remote/</link>
	<description>code is freedom -- patching my itch</description>
	<lastBuildDate>Tue, 24 Jan 2012 19:58:01 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
	<item>
		<title>By: Kirikaza</title>
		<link>http://www.outflux.net/blog/archives/2008/08/05/dbus-session-access-from-remote/comment-page-1/#comment-891</link>
		<dc:creator>Kirikaza</dc:creator>
		<pubDate>Sat, 03 Apr 2010 17:08:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.outflux.net/blog/?p=159#comment-891</guid>
		<description>You can replace &lt;code&gt;cat /proc/\$PID/environ &#124; xargs -0 -n1&lt;/code&gt; with &lt;code&gt;xargs -0 -n1 &lt;/proc/\$PID/environ&lt;/code&gt;. Also you can use the variable name DBUS_SESSION_BUS_ADDRESS just from the found line (without cutting). And the last tip: you can use a pipe symbol at the end of line like a &quot;\&quot;. So, a shorter variant:
&lt;code&gt;
export \$(xargs -0 -n1 &lt;/proc/\$PID/environ &#124;
        grep ^DBUS_SESSION_BUS_ADDRESS=)
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>You can replace <code>cat /proc/\$PID/environ | xargs -0 -n1</code> with <code>xargs -0 -n1 &lt;/proc/\$PID/environ</code>. Also you can use the variable name DBUS_SESSION_BUS_ADDRESS just from the found line (without cutting). And the last tip: you can use a pipe symbol at the end of line like a &#8220;\&#8221;. So, a shorter variant:<br />
<code><br />
export \$(xargs -0 -n1 &lt;/proc/\$PID/environ |<br />
        grep ^DBUS_SESSION_BUS_ADDRESS=)<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Grunsch</title>
		<link>http://www.outflux.net/blog/archives/2008/08/05/dbus-session-access-from-remote/comment-page-1/#comment-709</link>
		<dc:creator>Grunsch</dc:creator>
		<pubDate>Sun, 08 Feb 2009 11:39:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.outflux.net/blog/?p=159#comment-709</guid>
		<description>which language is it? if i want to make a script out of it?
#!/bin/bash doesnt work...</description>
		<content:encoded><![CDATA[<p>which language is it? if i want to make a script out of it?<br />
#!/bin/bash doesnt work&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kees</title>
		<link>http://www.outflux.net/blog/archives/2008/08/05/dbus-session-access-from-remote/comment-page-1/#comment-702</link>
		<dc:creator>kees</dc:creator>
		<pubDate>Tue, 06 Jan 2009 18:52:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.outflux.net/blog/?p=159#comment-702</guid>
		<description>If the remote user is logged into X, you have all kinds of things.  Use &quot;pstree -lup&quot; to see them.  Probably the best might be x-session-manager, nautilus, or gnome-panel.</description>
		<content:encoded><![CDATA[<p>If the remote user is logged into X, you have all kinds of things.  Use &#8220;pstree -lup&#8221; to see them.  Probably the best might be x-session-manager, nautilus, or gnome-panel.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean</title>
		<link>http://www.outflux.net/blog/archives/2008/08/05/dbus-session-access-from-remote/comment-page-1/#comment-701</link>
		<dc:creator>Sean</dc:creator>
		<pubDate>Tue, 06 Jan 2009 17:48:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.outflux.net/blog/?p=159#comment-701</guid>
		<description>Useful tip, thanks!

Do you know how to pull the DBUS_SESSION_BUS_ADDRESS for an active user, as opposed to a running program?

I&#039;d like to start a remote shell on demand that attaches to my remote dbus session (similar to above), but I don&#039;t know what programs might be running at that time...</description>
		<content:encoded><![CDATA[<p>Useful tip, thanks!</p>
<p>Do you know how to pull the DBUS_SESSION_BUS_ADDRESS for an active user, as opposed to a running program?</p>
<p>I&#8217;d like to start a remote shell on demand that attaches to my remote dbus session (similar to above), but I don&#8217;t know what programs might be running at that time&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

