<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=8094&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / How can I make "xhost +" the default at every boot?]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=8094</link>
		<description><![CDATA[The most recent posts in How can I make "xhost +" the default at every boot?.]]></description>
		<lastBuildDate>Sat, 11 Jul 2026 23:30:00 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: How can I make "xhost +" the default at every boot?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=64705#p64705</link>
			<description><![CDATA[<p>Another approach would be to only use &#039;xhost +&#039; when you want to be the other user and then &#039;xhost -&#039; when you&#039;re done. Put the following script in your path, make it executable and use it like this. I&#039;m calling it &#039;swu&#039;. You can call it whatever you like.</p><p>Open a terminal.</p><div class="codebox"><pre><code>swu &lt;otheruser&gt;
(run some commands as the other user)
exit</code></pre></div><p>Here&#039;s the magic sauce:</p><div class="codebox"><pre><code>#!/usr/bin/env bash
# swu

otheruser=&quot;$1&quot;

xhost +
su &quot;$otheruser&quot; 
xhost -

exit 0</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Sat, 11 Jul 2026 23:30:00 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=64705#p64705</guid>
		</item>
		<item>
			<title><![CDATA[Re: How can I make "xhost +" the default at every boot?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=64704#p64704</link>
			<description><![CDATA[<p>BTW, I already tried creating /etc/X0.hosts with relevant entries (see below) as indicated in the xhost manpage but that doesn&#039;t seem to have any effect.</p><div class="codebox"><pre><code>$ more /etc/X0.hosts
+SI:localuser:username1
+SI:localuser:username2</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (tux_99)]]></author>
			<pubDate>Sat, 11 Jul 2026 22:25:37 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=64704#p64704</guid>
		</item>
		<item>
			<title><![CDATA[How can I make "xhost +" the default at every boot?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=64703#p64703</link>
			<description><![CDATA[<p>I run some X11-apps as a different user than the user with which i log on to the desktop (XFCE) so after a reboot I always have to type &quot;xhost +&quot; in a terminal before being able to launch these X11-apps as a different user.</p><p>So how can I make &quot;xhost +&quot; the default at every boot?</p><p>In which config file do I have to set this to avoid having to type it manually each time?</p>]]></description>
			<author><![CDATA[dummy@example.com (tux_99)]]></author>
			<pubDate>Sat, 11 Jul 2026 20:36:55 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=64703#p64703</guid>
		</item>
	</channel>
</rss>
