aaronms38
Posts: 2
Joined: Tue Jun 26, 2018 9:11 pm

Autostart putty session

Tue Jun 26, 2018 9:21 pm

Hello everyone, I am new to this forum and this is my first post here.
I need some help getting my Raspberry Pi 3 to automatically load a saved Putty telnet session on startup.

In the terminal, I can enter the command

Code: Select all

putty -load "session_name"
and it will open up into that session just fine. However, I have tried adding this command to ~/.config/lxsession/LXDE-pi/autostart like this:

Code: Select all

@putty -load "session_name"
and this causes Putty to open up into the configuration window rather than into my saved session.

What am I doing wrong?

klricks
Posts: 7172
Joined: Sat Jan 12, 2013 3:01 am
Location: Grants Pass, OR, USA
Contact: Website

Re: Autostart putty session

Wed Jun 27, 2018 1:06 pm

aaronms38 wrote:
Tue Jun 26, 2018 9:21 pm
Hello everyone, I am new to this forum and this is my first post here.
I need some help getting my Raspberry Pi 3 to automatically load a saved Putty telnet session on startup.

In the terminal, I can enter the command

Code: Select all

putty -load "session_name"
and it will open up into that session just fine. However, I have tried adding this command to ~/.config/lxsession/LXDE-pi/autostart like this:

Code: Select all

@putty -load "session_name"
and this causes Putty to open up into the configuration window rather than into my saved session.

What am I doing wrong?
Remove the " "

Code: Select all

@putty -load session_name
Unless specified otherwise my response is based on the latest and fully updated RPiOS Buster w/ Desktop OS.

aaronms38
Posts: 2
Joined: Tue Jun 26, 2018 9:11 pm

Re: Autostart putty session

Wed Jun 27, 2018 6:57 pm

Thanks!

saxenak
Posts: 2
Joined: Mon May 27, 2019 3:33 pm

Re: Autostart putty session

Mon Jun 03, 2019 8:02 pm

Hello,
I am trying to autostart a putty session everytime I boot my raspberry pi 3b+. The putty session should also automatically login using the login ID and password that will be pre-saved. Can anyone help me in achieving this?
Thanks,

Return to “Beginners”