On Raspberry Pi - Auto start terminal after login?

To auto-start the terminal on boot, open this file with nano:

nano ~/.config/lxsession/LXDE-pi/autostart

Add this line to the end of the file:

@lxterminal

Close, save and reboot

Reference and some other goodies to run a script on startup as well which may have been what you are actually looking for: http://blog.startingelectronics.com/auto-start-a-desktop-application-on-the-rapberry-pi/


When you edit or create autostart file in your user space like

~/.config/lxsession/LXDE-pi/autostart

then, this file will override global lxsession autostart file in

/etc/xdg/lxsession/LXDE-pi/autostart

so you should copy everything from global file to your newly created file. By this way , after reboot you won't get a blank screen running openbox.

So, your file should contain

@lxpanel --profile LXDE-pi
@pcmanfm --desktop --profile LXDE-pi
@xscreensaver -no-splash
point-rpi

And then add your necessary startup items at the bottom like

@lxterminal

Tags:

Raspberry Pi