Hi,

On Wed, Jan 27, 2021 at 01:40:17PM -0500, Calvin Arndt 
<car...@macksrecycling.com> wrote:
> 
> Ubuntu 18.04.5 LTS 
> 
> At the command prompt this succeeds: 
> 
> screen
> -dmS newscreen mc 
> 
> It creates a detached screen session with mc alive
> and well within! 
> 
> But dump the exact same command in /etc/rc.local and
> now screen 
> 
> doesn't start at boot??? Remove the command (in this case
> "mc") 
> 
> and screen is started detached successfully. What is going on
> here? 

Most probably $PATH is not the same and "mc" can't be found.
Find out where mc is located and try

  screen -dmS newscreen /full/path/to/mc

or

  PATH=/where/mc/is/located:$PATH screen -dmS newscreen mc


> -- 
>  Calvin Arndt
> car...@macksrecycling.com

Ciao,
Thomas

-- 
 Thomas Köhler       Email:       jean-...@picard.franken.de
     <><             WWW:              http://gott-gehabt.de
                     IRC: tkoehler       Freenode: thkoehler
                     PGP public key available from Homepage!

Reply via email to