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

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
miichii92
Posts: 2
Joined: Fri Jan 18, 2019 8:48 pm

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

Post by miichii92 » Fri Jan 18, 2019 9:08 pm

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
Attachments
2019-01-18_21-34-51.png

User avatar
MichaIng
Site Admin
Posts: 1750
Joined: Sat Nov 18, 2017 5:21 pm

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

Post by MichaIng » Sun Jan 20, 2019 12:52 am

@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.

miichii92
Posts: 2
Joined: Fri Jan 18, 2019 8:48 pm

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

Post by miichii92 » Sun Jan 20, 2019 1:09 pm

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

MattG
Posts: 9
Joined: Sat Dec 08, 2018 4:00 pm

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

Post by MattG » Wed Feb 06, 2019 10:37 pm

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:

Code: Select all

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:

Code: Select all

# 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!

MattG
Posts: 9
Joined: Sat Dec 08, 2018 4:00 pm

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

Post by MattG » Sat Feb 09, 2019 6:46 pm

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

jbennert
Posts: 1
Joined: Wed Feb 13, 2019 12:47 pm

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

Post by jbennert » Wed Feb 13, 2019 1:17 pm

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.

User avatar
MichaIng
Site Admin
Posts: 1750
Joined: Sat Nov 18, 2017 5:21 pm

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

Post by MichaIng » Sat Feb 16, 2019 5:43 pm

Code: Select all

echo 1 > /DietPi/dietpi/.install_stage
> /DietPi/dietpi/.update_stage
dietpi-update -1

Post Reply