[ INFO ] DietPi-Login | DietPi-Software is already running on another terminal/screen

hi,
i got a little problem on my rock 64.

[ INFO ] DietPi-Login | DietPi-Software is already running on another terminal/screen. Please complete or exit, before continuing

i found something similar on GitHub for a Thinkerboard but i don’t think i can use the solution for the rock64.

would be nice if someone could help me with that.

Thanks

miichii92
The first run setup seems to be active on a different terminal/TTY. Did you already log in via local terminal (HDMI + keyboard) or on a different SSH session?

Otherwise you can simply kill all /DietPi/dietpi/* processes you see on htop, log out and in again (via SSH, if you like). DietPi-Software should then start (again) automatically and you should be able to finish the setup.

Thanks for the tip.
will give it a try and see.

I am having this problem too. My system:

v6.20.6 | RPi 3 Model B (armv7l)

That is, when I log in, it keeps saying:

[ INFO ] DietPi-Login | DietPi-Software is already running on another terminal/screen. Please complete or exit, before continuing.

Until I hit Ctrl-C.

More info, after looking at this post and this issue:

I’ve had this ever since I upgraded to v6.20.6 a few days ago. I can’t remember what version I was on previously. I did have an issue during the upgrade: I don’t recall the details of that, but I did a “dietpi-upgrade 1” and the upgrade finished. So this is where I’m at now:

If I do this:

echo 1 > /DietPi/dietpi/.install_stage
echo 1 > /DietPi/dietpi/.update_stage
> /etc/profile.d/dietpi-unsupported_terminal.sh
dietpi-update 1

It says “No updates required, your DietPi installation is up to date.”

Other suggestions were to kill some processes:

# ps aux | egrep '(dietpi-|whiptail|tee|login)' | grep -v grep
avahi     1394  0.0  0.2   6508  2296 ?        Ss   Feb02   0:13 avahi-daemon: running [dietpi-music.local]
root     14461  0.0  0.2   5292  2548 tty1     Ss   16:02   0:00 /bin/login -f
root     14492  0.0  0.3   5732  3664 tty1     S+   16:02   0:00 /bin/bash /DietPi/dietpi/login
root     14599  0.0  1.1  13480 11596 tty1     S+   16:02   0:01 /bin/bash /DietPi/dietpi/dietpi-software
root     14600  0.0  0.0   3476   356 tty1     S+   16:02   0:00 tee /tmp/dietpi-firstrun-setup.log
root     14667  0.0  0.4   5840  4016 tty1     S+   16:02   0:00 /bin/bash /DietPi/dietpi/func/dietpi-set_software passwords
root     14690  0.0  0.2   6528  2640 tty1     S+   16:02   0:00 whiptail --title DietPi-Set_software --yesno Do you want to adjust the default global password for DietPi-Software installations and new unix users? We especially recommend to change the default password "dietpi". This does not affect any existing unix user login.\n NB: This password will be saved and encrypted within /var/lib/dietpi/dietpi-software/.GLOBAL_PW.bin to be useable by DietPi scripts for e.g. web application and database logins. We highly recommend to adjust all passwords for web services and new unix users independently afterwards. --backtitle DietPi-Set_software | RPi 3 Model B (armv7l) | IP: 10.18.51.63 --yes-button Ok --no-button Cancel --defaultno 16 74

# kill 14461 14492 14599 14600 14667 14690

# ps aux | egrep '(dietpi-|whiptail|tee|login)' | grep -v grep
avahi     1394  0.0  0.2   6508  2296 ?        Ss   Feb02   0:13 avahi-daemon: running [dietpi-music.local]
root     15355  0.1  0.2   5292  2544 tty1     Ss   16:34   0:00 /bin/login -f
root     15384  0.7  0.3   5732  3664 tty1     S+   16:34   0:00 /bin/bash /DietPi/dietpi/login
root     15491  5.8  1.1  13480 11580 tty1     S+   16:34   0:01 /bin/bash /DietPi/dietpi/dietpi-software
root     15492  0.0  0.0   3476   348 tty1     S+   16:34   0:00 tee /tmp/dietpi-firstrun-setup.log
root     15556  1.0  0.3   5840  3960 tty1     S+   16:34   0:00 /bin/bash /DietPi/dietpi/func/dietpi-set_software passwords
root     15579  0.1  0.2   6528  2664 tty1     S+   16:34   0:00 whiptail --title DietPi-Set_software --yesno Do you want to adjust the default global password for DietPi-Software installations and new unix users? We especially recommend to change the default password "dietpi". This does not affect any existing unix user login.\n NB: This password will be saved and encrypted within /var/lib/dietpi/dietpi-software/.GLOBAL_PW.bin to be useable by DietPi scripts for e.g. web application and database logins. We highly recommend to adjust all passwords for web services and new unix users independently afterwards. --backtitle DietPi-Set_software | RPi 3 Model B (armv7l) | IP: 10.18.51.63 --yes-button Ok --no-button Cancel --defaultno 16 74

In other words, I killed the login, dietpi-software, tee, etc processes, but they keep re-spawning automatically (notice how the PIDs changed between the two ps commands).

I was hoping there’d be another update that fixed this, that’s why I didn’t post when it first started happening (and the upgrade details were fresher in my mind).

Any other suggestions/fixes?

Thanks!

I just updated to v6.21.1, so far seems OK…

Hi all, I got the same issue after upgdating to v6.21.1 on a Raspberry PI3. Even on reboot I’m trapped in this loop. Please share a solution. Thank you.

  • Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
    permitted by applicable law.
    ────────────────────────────────────────────────
    DietPi | Wed 13/02/19 - 12:38
    ────────────────────────────────────────────────
    v6.21.1 | RPi 3 Model B+ (armv7l)
    ────────────────────────────────────────────────
    wlan0 | 192.168.0.100
    ────────────────────────────────────────────────
    [ INFO ] DietPi-Login | DietPi-Software is already running on another terminal/screen. Please complete or exit, before continuing.
echo 1 > /DietPi/dietpi/.install_stage
> /DietPi/dietpi/.update_stage
dietpi-update -1