Shell script can't find other files when launched on login (Debian Linux) -
so have script launched on login via rc.local. script calls few other scripts launched , ran. console says file and/or directories not found. when run script manually after login works fine. have tried add small delay know system logged in. idea why , how fix it?
sorry if answer bit vague understand scripts require run via admin privileges. let me elaborate, when system starts runs set of specific scripts , differs distro distro. therefore, i'd check ~/.bashrc
/etc/profile.d
and importantly ~/.bash_login
. see can there. added here ~/.config/autostart
worked fine. don't forget create .desktop
file.
hope helps
Comments
Post a Comment