Jump to content
Sign in to follow this  
serene

Startup script location in Tinkerboard 2S

Recommended Posts

Hi,

I installed x11vnc and I want to make it run at startup. I already set it as a service, but I would like to know where the startup script is in Tinkerboard 2S (Debian 10 - Buster).

I saw an old post that in 2S the startup script is the same as the one in previous generation, which is /system/etc/init.asus.sh

So, I put the command in there, reboot, but it doesn't autorun. I set the permission to be executable (chmod 755).

I also experimented by putting it in /boot/cmdline.txt - no luck.

Where is the startup script location?

Share this post


Link to post
Share on other sites

Hi @serene
sudo vi ~/.config/lxsession/LXDE/autostart
And add this line to the bottom
@x11vnc -noxrecord -forever

Thank you.
Joe

Share this post


Link to post
Share on other sites
On 10/18/2021 at 8:25 PM, Joe said:

Hi @serene
sudo vi ~/.config/lxsession/LXDE/autostart
And add this line to the bottom
@x11vnc -noxrecord -forever

Thank you.
Joe

Thanks @Joe

Is that the generic autostart script location?

Can I put other things there to make it automatically run at startup?

Share this post


Link to post
Share on other sites

@Joe
Hi Joe, all I ask is about generic autostart script location, for generic purpose, like executing my custom app.

Is ~/.config/lxsession/LXDE/autostart for general purpose?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...