scripts not starting automatically on linux startup (Cent OS 8)

Issues related to applications and software problems and general support
Post Reply
washingthecat
Posts: 1
Joined: 2022/05/28 04:29:34

scripts not starting automatically on linux startup (Cent OS 8)

Post by washingthecat » 2022/05/28 05:19:24

Hello

From a few weeks ago the sh scripts that I had under /home/x/.local/bin stop getting launched automatically on startup in Cent OS 8.
I describe my settings below:

I have a file
/home/x/.config/autostart/launch_appx.desktop
with this content

Code: Select all

[Desktop Entry]
Version=1.0
Name=launch_appx
Comment=Launch an app x
Exec=launch_appx.sh
Icon=utilities-terminal
Terminal=true
Type=Application
Categories=Application;
Name[en_US]=launch_appx
I also have a file launch_appx.sh in /home/x/.local/bin

If I run launch_appx.sh in a command terminal the script runs alright. But the script does not run on linux startup automatically.

Do you know how to fix this in the not any more supported Cent OS 8?
Thanks

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: scripts not starting automatically on linux startup (Cent OS 8)

Post by TrevorH » 2022/05/28 13:55:15

Any errors logged around that time in the output from aureport -a ?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply