<?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=6294&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [SOLVED] Daedalus Xorg/X11 problem after su "anyExistingUser"]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=6294</link>
		<description><![CDATA[The most recent posts in [SOLVED] Daedalus Xorg/X11 problem after su "anyExistingUser".]]></description>
		<lastBuildDate>Sun, 31 Dec 2023 11:27:39 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [SOLVED] Daedalus Xorg/X11 problem after su "anyExistingUser"]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=46700#p46700</link>
			<description><![CDATA[<p>Or I could simply have used :-</p><p><span class="bbc">lxsu rxvt -rv&amp;</span></p><p>One difference in using <span class="bbc">su</span> rather than <span class="bbc">sudo</span> is that it asks for the root password rather than your own!</p><p>Geoff</p>]]></description>
			<author><![CDATA[dummy@example.com (Geoff 42)]]></author>
			<pubDate>Sun, 31 Dec 2023 11:27:39 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=46700#p46700</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Daedalus Xorg/X11 problem after su "anyExistingUser"]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=46699#p46699</link>
			<description><![CDATA[<p>Thank you!<br />I had, in fact, got <span class="bbc">ALWAYS_SET_PATH</span> and <span class="bbc">ENV_SUPATH</span> set up as above, but I was unable to open an X window. I then realised that it might be because I was using <span class="bbc">lxqt-sudo</span>. On checking, I found that just using <span class="bbc">su</span> did have $PATH set and I could open X programs. A quick check of the man page for <span class="bbc">lxqt-sudo</span> showed that what I needed was the <span class="bbc">-s</span> flag (for su rather than sudo).</p><p>Now when I run :-</p><div class="codebox"><pre><code>lxqt-sudo -s rxvt -rv &amp;</code></pre></div><p>I have $PATH set and I can run X programs.<br />I run <span class="bbc">rxvt</span> in reverse video so that I can easily spot that it is a root window.</p><p>Geoff</p>]]></description>
			<author><![CDATA[dummy@example.com (Geoff 42)]]></author>
			<pubDate>Sun, 31 Dec 2023 11:20:41 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=46699#p46699</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Daedalus Xorg/X11 problem after su "anyExistingUser"]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=46683#p46683</link>
			<description><![CDATA[<p>Well, I&#039;ll be damned <img src="https://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>all I needed to do is &#039;unalias su&#039; which was aliased to &#039;su -&#039; in my .cshrc, but, as you say, I have to get used to not being in the home directory of whoever I &#039;su&#039; to.</p><p>Creating /etc/default/su didn&#039;t change anything, so I undid this. The ENV_SUPATH line in /etc/login.defs was already as required, so all that was left to do was the unalias.</p><p>Thank you very much. </p><p>ks</p><p>ps: just posting another problem that got me stumped.</p>]]></description>
			<author><![CDATA[dummy@example.com (ks)]]></author>
			<pubDate>Sat, 30 Dec 2023 19:25:12 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=46683#p46683</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Daedalus Xorg/X11 problem after su "anyExistingUser"]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=46681#p46681</link>
			<description><![CDATA[<p>I think your problem is related to the fact that after Beowulf, the su command got moved to another package. (to or from util-linux. I forget which) and they changed the way the PATH is handled. If you use &#039;su -&#039; you can no longer open graphical programs on the user&#039;s desktop. To revert to the old behavior, do one of the following:<br />- Edit or create /etc/default/su and add the following line</p><div class="codebox"><pre><code>ALWAYS_SET_PATH yes</code></pre></div><p>OR<br />- Edit the ENV_SUPATH line in /etc/login.defs to include /usr/local/sbin, /usr/sbin and /sbin</p><p>Then use just &#039;su&#039; to get root. You might also notice that you don&#039;t change directory when you become root.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Sat, 30 Dec 2023 18:11:33 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=46681#p46681</guid>
		</item>
		<item>
			<title><![CDATA[[SOLVED] Daedalus Xorg/X11 problem after su "anyExistingUser"]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=46680#p46680</link>
			<description><![CDATA[<p>I have a problem with Xorg/X11 after installing daedalus. Spent the last day and <br />a half googling a solution without finding a fix.</p><p>What I have: <br />&#160; users &quot;me&quot; and root<br />&#160; hosts &quot;here&quot; and &quot;there&quot;</p><p>&#160; &quot;here&quot; is a Dell running x86_64 (daedalus, installed this week).<br />&#160; &quot;there&quot; is a very much older i686 Dell running (beowulf, installed ages ago).</p><p>&#160; I use fluxbox as my window manager, no desktop environment because I don&#039;t<br />&#160; need the delays - on the same hardware WMs are _always_ a lot faster than desktops.</p><p>&#160; I always have a few xterms open, some of which allow me to run gui tools, if<br />&#160; needed, on other hosts. I use csh for interactive use. </p><p>&#160; On the box running daedalus, after doing a &quot;su someOtherUser&quot;, I can&#039;t get _any_ <br />&#160; X11 program to display it&#039;s output on &quot;my&quot; display.</p><p>So, to wit:</p><div class="codebox"><pre><code>I&#039;ve double and triple checked my sshd_configs on all hosts and there&#039;s no real
difference.

Although I don&#039;t use a gui often after &quot;su -&quot;, when I need to, I&#039;m usually desperate.
Any pointers would be appreciated.

ks
  What I do:         every box except daedalus:            on the box with daedalus:

  here% xclock       opens small window, shows time        opens small window, shows time

  su -
  here# xclock       opens small window, shows time        Error: Can&#039;t open display: localhost:10
                                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ^D
  here% ssh &quot;there&quot;
  there% xclock      opens window on display (@here)       opens window on my display (@here)
                     and shows the time.                   and shows the time.
  su -
  there# xclock      opens window on display (@here)       opens window on display (@here)
                     and shows the time                    and shows the time.</code></pre></div><p>I&#039;ve double and triple checked my sshd_config files and there are no differences between old <br />and the new daedalus system. </p><p>Any pointers would make wrap up this year nicely.</p><p>tia</p><p>ks</p>]]></description>
			<author><![CDATA[dummy@example.com (ks)]]></author>
			<pubDate>Sat, 30 Dec 2023 17:17:43 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=46680#p46680</guid>
		</item>
	</channel>
</rss>
