[SOLVED]: boot scripts with ssh

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
Stroked_Papy
Posts: 10
Joined: Wed Mar 27, 2019 11:14 am

[SOLVED]: boot scripts with ssh

Post by Stroked_Papy »

Hello
I want to be able to follow the progress of the boot scripts but my dietpi does not start with a screen but with ssh
I think make a file and a direction
How to do that
Thank you ;)
Attachments
Capture.JPG
Last edited by Stroked_Papy on Thu May 09, 2019 5:18 pm, edited 1 time in total.
j'ai eu un AVC ! je ne écris pas bien :) !!

had a stroke! I do not write well :) !!
User avatar
MichaIng
Site Admin
Posts: 2295
Joined: Sat Nov 18, 2017 6:21 pm

Re: boot scripts with ssh

Post by MichaIng »

Hi Stroked_Papy,

The boot scripts print to the "physical" terminal "tty1" (usually), while SSH sessions attach to virtual terminals, e.g. "pts0". Also the SSH server starts in middle/end of the boot process of course, since e.g. network needs to be active already. So it is naturally impossible to follow the boot process via SSH session.

But anyway easier is check the logs afterwards where you can browse back and forth:
journalctl

To see the detailed logs of what DietPis own boot scripts do:
cat /var/tmp/dietpi/logs/dietpi-preboot.log
cat /var/tmp/dietpi/logs/dietpi-boot.log
Stroked_Papy
Posts: 10
Joined: Wed Mar 27, 2019 11:14 am

Re: boot scripts with ssh

Post by Stroked_Papy »

Thank you so much

But the logs and journalctl they are there I do not find the details of the boot like that. ;)

When I boot with tty1 the details of dietpi-process_tool are there but with ssh not

How to view the details of dietpi-process_tool in log ? :cry:

Thank you
j'ai eu un AVC ! je ne écris pas bien :) !!

had a stroke! I do not write well :) !!
User avatar
MichaIng
Site Admin
Posts: 2295
Joined: Sat Nov 18, 2017 6:21 pm

Re: boot scripts with ssh

Post by MichaIng »

Ah yeah dietpi-services and dietpi-process_tool output is indeed only done to main terminal.

The detailed service start infos can still be read from journalctl, for process tool I suggest you simply rerun it: dietpi-process_tool 1
Post Reply