<?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=3574&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [ SOLVED ] cant run command from commandsline]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=3574</link>
		<description><![CDATA[The most recent posts in [ SOLVED ] cant run command from commandsline.]]></description>
		<lastBuildDate>Tue, 04 Aug 2020 22:00:08 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [ SOLVED ] cant run command from commandsline]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=23839#p23839</link>
			<description><![CDATA[<p>Just to provide another example.</p><p>Beowulf/Cinnamon, default terminal is gnome-terminal and I&#039;ve not noticed any issues using it (including a display from the xpra server over ssh on another machine), but I&#039;m running it from an applet, so I don&#039;t see any messages.</p><p>However:</p><div class="codebox"><pre><code>marjorie@grendel:~$ gnome-terminal
# watch_fast: &quot;/org/gnome/terminal/legacy/&quot; (establishing: 0, active: 0)
# unwatch_fast: &quot;/org/gnome/terminal/legacy/&quot; (active: 0, establishing: 1)
# watch_established: &quot;/org/gnome/terminal/legacy/&quot; (establishing: 0)</code></pre></div><p>and child terminal opens OK.</p><div class="codebox"><pre><code>marjorie@grendel:~$   </code></pre></div><p>And then as sudo:</p><div class="codebox"><pre><code>marjorie@grendel:~$ sudo gnome-terminal
# posix_spawn avoided (fd close requested) 
# watch_fast: &quot;/org/gnome/terminal/legacy/&quot; (establishing: 0, active: 0)
# unwatch_fast: &quot;/org/gnome/terminal/legacy/&quot; (active: 0, establishing: 1)
# watch_established: &quot;/org/gnome/terminal/legacy/&quot; (establishing: 0)</code></pre></div><p>and child terminal opens OK as root in my home directory.</p><div class="codebox"><pre><code>root@grendel:/home/marjorie#      </code></pre></div><p>I don&#039;t have ash, nor xterm for that matter.</p>]]></description>
			<author><![CDATA[dummy@example.com (Marjorie)]]></author>
			<pubDate>Tue, 04 Aug 2020 22:00:08 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=23839#p23839</guid>
		</item>
		<item>
			<title><![CDATA[Re: [ SOLVED ] cant run command from commandsline]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=23836#p23836</link>
			<description><![CDATA[<p>I have a refracta install in a VM that has gnome. I can start gnome-terminal from the search box, and it just opens gnome-terminal normally, and I get the same &#039;watch*&#039; messages as you.</p><p>If I try that as root, I get the &#039;Error constructing proxy...&#039; message and also &#039;Could not open X display&#039; which is strange, because this system is set up to allow root to run graphical apps in a user session. My root can open lxterminal with no problems.</p><p>Seems like there&#039;s something weird about gnome-terminal, but I don&#039;t know what that is. We&#039;re not getting exactly the same behavior. I don&#039;t know where your ash command is coming from. I&#039;m guessing you did not create a wrapper script or alias named &#039;gnome-terminal&#039; that tries to run ash in gnome-terminal. I&#039;m stumped.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Tue, 04 Aug 2020 18:15:16 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=23836#p23836</guid>
		</item>
		<item>
			<title><![CDATA[Re: [ SOLVED ] cant run command from commandsline]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=23834#p23834</link>
			<description><![CDATA[<div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>Does the error message appear inside the terminal that you just opened, or is it in a notification window or other popup?</p></div></blockquote></div><p>It is the first line in every terminal I open:</p><div class="codebox"><pre><code>ash: 0: Can&#039;t open completion</code></pre></div><div class="quotebox"><blockquote><div><p>What terminal is it?</p></div></blockquote></div><p>GNOME-Terminal 3.30.2<br />Desktop: Cinnamon 3.8.8 <br />Distro: Devuan GNU/Linux 3 (beowulf) </p><div class="quotebox"><blockquote><div><p>Maybe a right-click on that icon will let you see a list of Properties that will show the command.</p></div></blockquote></div><p>By right-clicking&#160; under &quot;edit&quot; I get a window (launcher properties) with the following entries:</p><p>Name: Terminal<br />Command: gnome-terminal&#160; (with a button &quot;Browse&quot; which opens a file manager)<br />Comment: Use the command line<br />there is a tickable box &quot;Launch in Terminal? (not checked)</p><div class="quotebox"><blockquote><div><p>If you have a terminal that will let you run commands, run the command that the panel icon uses to open a terminal and see if it gives you any more information.</p></div></blockquote></div><p>If I run&#160; &quot;gnome-terminal&quot; (in a GNOME-Terminal) I get a new terminal (including :&quot;ash: 0: Can&#039;t open completion&quot; as first line). </p><p>If I stop that terminal with CTRL +D, the original terminal displays:</p><div class="codebox"><pre><code># Couldn&#039;t register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
# watch_fast: &quot;/org/gnome/terminal/legacy/&quot; (establishing: 0, active: 0)
# unwatch_fast: &quot;/org/gnome/terminal/legacy/&quot; (active: 0, establishing: 1)
# watch_established: &quot;/org/gnome/terminal/legacy/&quot; (establishing: 0)</code></pre></div><p>All above as user!</p><p>If I switch to root and try to run &quot;gnome-terminal&quot;</p><p>I get this error (and NO new terminal-window!):</p><div class="codebox"><pre><code># Error constructing proxy for :1.98:/org/gnome/Terminal/Factory0: Verbindung ist geschlossen
# Failed to use specified server: Verbindung ist geschlossen
# Falling back to default server.
# Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Verbindung ist geschlossen</code></pre></div><p>&quot;Verbindung ist geschlossen&quot; means: &quot;connection closed&quot;</p><p>Thanks for your patience!<br /><img src="https://dev1galaxy.org/img/smilies/wink.png" width="15" height="15" alt="wink" /></p>]]></description>
			<author><![CDATA[dummy@example.com (roluan17)]]></author>
			<pubDate>Tue, 04 Aug 2020 16:07:24 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=23834#p23834</guid>
		</item>
		<item>
			<title><![CDATA[Re: [ SOLVED ] cant run command from commandsline]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=23833#p23833</link>
			<description><![CDATA[<p>Got two PC here with Beowulf installed from scratch, both with Mate desktop. No ash, just bash and bash-completion are installed. Both work fine whenever calling Mate terminal as user or with pkexec as root. Same on the desktop opening the (Mate-)terminal. </p><p>Also got two Beowulf VMs running in Virtual Box. One is based on an ASCII upgrade with Mate. Same setup as above, works like a charm w/o ash. The other one is a native Beowulf with Cinnamon. The I only have xterm, but that also works fine.</p><p>rolfie</p>]]></description>
			<author><![CDATA[dummy@example.com (rolfie)]]></author>
			<pubDate>Tue, 04 Aug 2020 16:06:15 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=23833#p23833</guid>
		</item>
		<item>
			<title><![CDATA[Re: [ SOLVED ] cant run command from commandsline]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=23831#p23831</link>
			<description><![CDATA[<div class="quotebox"><cite>roluan17 wrote:</cite><blockquote><div><p>I click on the &quot;Terminal&quot;-icon on my taskbar with my mouse</p></div></blockquote></div><p>Do you happen to know what command that executes? If not, we should figure that out. What terminal is it, what desktop environment are you running? Maybe a right-click on that icon will let you see a list of Properties that will show the command.</p><p>Does the error message appear inside the terminal that you just opened, or is it in a notification window or other popup?</p><p>If you have a terminal that will let you run commands, run the command that the panel icon uses to open a terminal and see if it gives you any more information.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Tue, 04 Aug 2020 12:16:56 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=23831#p23831</guid>
		</item>
		<item>
			<title><![CDATA[Re: [ SOLVED ] cant run command from commandsline]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=23829#p23829</link>
			<description><![CDATA[<p>I click on the &quot;Terminal&quot;-icon on my taskbar with my mouse</p>]]></description>
			<author><![CDATA[dummy@example.com (roluan17)]]></author>
			<pubDate>Tue, 04 Aug 2020 05:45:21 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=23829#p23829</guid>
		</item>
		<item>
			<title><![CDATA[Re: [ SOLVED ] cant run command from commandsline]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=23827#p23827</link>
			<description><![CDATA[<div class="quotebox"><blockquote><div><p>I do get an error message, when I open an console.</p></div></blockquote></div><p>Please tell me exactly what you do to open a console.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Tue, 04 Aug 2020 00:11:00 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=23827#p23827</guid>
		</item>
		<item>
			<title><![CDATA[Re: [ SOLVED ] cant run command from commandsline]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=23823#p23823</link>
			<description><![CDATA[<p>You wrote:</p><div class="quotebox"><blockquote><div><p>I don&#039;t get an error message when I start an ash shell.</p></div></blockquote></div><p>Same with me!<br />I do get an error message, when I open an console.</p><div class="quotebox"><blockquote><div><p>How did you install the system?</p></div></blockquote></div><p>I installed ascii from a netinstall iso. Upgraded to beowulf by replacing &quot;ascii&quot; in my sources.list</p><div class="quotebox"><blockquote><div><p>What did you do that&#039;s different from everyone else?</p></div></blockquote></div><p>;-)<br />well I really don&#039;t know. It all started when I upgraded from ascii to beowulf.<br />Since then I got </p><div class="codebox"><pre><code>bash: ash: command not found</code></pre></div><p> whenever I open a console.<br />After installing &quot;ash&quot; I get </p><div class="codebox"><pre><code>ash: 0: Can&#039;t open completion</code></pre></div><div class="quotebox"><blockquote><div><p>I&#039;m not finding that error message on a web search. (Can&#039;t open completion)</p></div></blockquote></div><p>Me neither.<br />Perhaps we ask the guys who develop ash/dash?<br />greetings</p>]]></description>
			<author><![CDATA[dummy@example.com (roluan17)]]></author>
			<pubDate>Mon, 03 Aug 2020 16:11:21 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=23823#p23823</guid>
		</item>
		<item>
			<title><![CDATA[Re: [ SOLVED ] cant run command from commandsline]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=23821#p23821</link>
			<description><![CDATA[<p>My /bin/*ash looks the same as yours after I install ash. I don&#039;t get an error message when I start an ash shell. I&#039;m starting the shell by running &#039;ash&#039; in xfce4 terminal. How are you doing it? How did you install the system? What did you do that&#039;s different from everyone else?</p><p>I&#039;m not finding that error message on a web search. (Can&#039;t open completion)</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Mon, 03 Aug 2020 14:31:20 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=23821#p23821</guid>
		</item>
		<item>
			<title><![CDATA[Re: [ SOLVED ] cant run command from commandsline]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=23813#p23813</link>
			<description><![CDATA[<div class="codebox"><pre><code>bash-completion ist schon die neueste Version (1:2.8-6).</code></pre></div><p>is already newest version<br />greetings</p>]]></description>
			<author><![CDATA[dummy@example.com (roluan17)]]></author>
			<pubDate>Mon, 03 Aug 2020 07:04:59 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=23813#p23813</guid>
		</item>
		<item>
			<title><![CDATA[Re: [ SOLVED ] cant run command from commandsline]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=23807#p23807</link>
			<description><![CDATA[<p>I m sitting on fresh installed Beowulf. No ash, just bash, dash and bash-completion. No problems.</p><p>Have you got bash-completion installed?</p><p>I am not using the alias. </p><p>rolfie</p>]]></description>
			<author><![CDATA[dummy@example.com (rolfie)]]></author>
			<pubDate>Sun, 02 Aug 2020 19:25:07 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=23807#p23807</guid>
		</item>
		<item>
			<title><![CDATA[Re: [ SOLVED ] cant run command from commandsline]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=23802#p23802</link>
			<description><![CDATA[<p>@fsmithred<br />thanks for answering ...<br />sorry, I found out that ash was NOT installed. So I installed it (again? I am really not quite shure)<br />I don&#039;t remember exactly what kind of prompt-behaviour I had, before I did that su alias.<br />Before installing ash I deleted that empty ash file.<br />/bin looks like this now:</p><div class="codebox"><pre><code>ls -l *ash
lrwxrwxrwx 1 root root       4 Jan 17  2019 ash -&gt; dash
-rwxr-xr-x 1 root root 1168776 Apr 18  2019 bash
-rwxr-xr-x 1 root root  121464 Jan 17  2019 dash
lrwxrwxrwx 1 root root       4 Apr 18  2019 rbash -&gt; bash</code></pre></div><p>NOW opening a console, I get:</p><div class="codebox"><pre><code>ash: 0: Can&#039;t open completion </code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (roluan17)]]></author>
			<pubDate>Sun, 02 Aug 2020 15:49:40 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=23802#p23802</guid>
		</item>
		<item>
			<title><![CDATA[Re: [ SOLVED ] cant run command from commandsline]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=23796#p23796</link>
			<description><![CDATA[<div class="quotebox"><cite>roluan17 wrote:</cite><blockquote><div><p>To finish that </p><div class="codebox"><pre><code>bash:ash: command not found</code></pre></div><p> thing:<br />I just added an empty&#160; &quot;ash&quot;-file in /bin.</p><p>Since then there are no more errors like</p><div class="codebox"><pre><code>bash:ash: command not found</code></pre></div><p>If anyone has an better idea or just can explain to me where that error message came/comes from;<br />you are very welcome!</p><p>I found no hint in .bashrc of any script or program that needs ash.<br />greetings</p></div></blockquote></div><p>The error message is coming from bash - the command providing the error is the first word in the error message. You get &#039;command not found&#039; if ash is not installed. If you&#039;re sure you installed it, then something weird is going on or you didn&#039;t notice when it got removed.</p><p>If you create an empty /bin/ash, you should then get &#039;permission denied&#039; because it&#039;s not executable. If you make it executable, then the error messages go away, but of course it does nothing.</p><p>A few messages above, you said &#039;ash&#039; gives you a root shell after aliasing &#039;su&#039;. The prompt that you pasted is a bash prompt. The ash prompt is just # or $ for root or user, respectively.</p><p>Note: You can also get &#039;command not found&#039; with the new default su setup if the command you&#039;re trying to run is in an sbin directory and you used &#039;su&#039; instead of &#039;su -&#039;. Your alias works around this.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Sun, 02 Aug 2020 14:03:15 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=23796#p23796</guid>
		</item>
		<item>
			<title><![CDATA[Re: [ SOLVED ] cant run command from commandsline]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=23795#p23795</link>
			<description><![CDATA[<p>To finish that </p><div class="codebox"><pre><code>bash:ash: command not found</code></pre></div><p> thing:<br />I just added an empty&#160; &quot;ash&quot;-file in /bin.</p><p>Since then there are no more errors like</p><div class="codebox"><pre><code>bash:ash: command not found</code></pre></div><p>If anyone has an better idea or just can explain to me where that error message came/comes from;<br />you are very welcome!</p><p>I found no hint in .bashrc of any script or program that needs ash.<br />greetings</p>]]></description>
			<author><![CDATA[dummy@example.com (roluan17)]]></author>
			<pubDate>Sun, 02 Aug 2020 13:31:12 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=23795#p23795</guid>
		</item>
		<item>
			<title><![CDATA[Re: [ SOLVED ] cant run command from commandsline]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=23080#p23080</link>
			<description><![CDATA[<p>@Head_on_a_Stick:</p><p>&quot;su&quot; without argument</p><p> works fine</p><p>Yes .bashrc and .bash_aliases are those from root</p><div class="codebox"><pre><code>GNU nano 3.2                     /root/.bashrc                                

# eval &quot;`dircolors`&quot;
# alias ls=&#039;ls $LS_OPTIONS&#039;
# alias ll=&#039;ls $LS_OPTIONS -l&#039;
# alias l=&#039;ls $LS_OPTIONS -lA&#039;
#
# Some more alias to avoid making mistakes:
# alias rm=&#039;rm -i&#039;
# alias cp=&#039;cp -i&#039;
# alias mv=&#039;mv -i&#039;
HISTSIZE=1000
HISTCONTROL=ignoredups:erasedups</code></pre></div><div class="codebox"><pre><code>GNU nano 3.2                  /root/.bash_aliases                             

alias su=&#039;su -&#039;</code></pre></div><p>But I overlooked three lines out commented in /etc/pam.d/su:<br /><img src="https://dev1galaxy.org/img/smilies/sad.png" width="15" height="15" alt="sad" /></p><div class="codebox"><pre><code># This allows root to su without passwords (normal operation)
auth       sufficient pam_rootok.so

session       required   pam_env.so readenv=1 envfile=/etc/default/locale

session    optional   pam_mail.so nopen

session    required   pam_limits.so</code></pre></div><p>greetings</p>]]></description>
			<author><![CDATA[dummy@example.com (roluan17)]]></author>
			<pubDate>Sun, 28 Jun 2020 15:35:31 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=23080#p23080</guid>
		</item>
	</channel>
</rss>
