Announcement

Collapse
No announcement yet.

Logout-then-Login Desktop Process Resurrection Behavior

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [Post-Install] Logout-then-Login Desktop Process Resurrection Behavior

    I usually run multiple instances of Konsole. Inside each Konsole I run multiple tabs. In 24.04 I could logout and login and still see these multiple instances of Konsole exactly where I left them with all tabs intact identically to the directory locations they were left at logout. When I login with 25.04, I now see only one instance of Konsole regardless of the pre-logout greater than 1 Konsole quantity and that Konsole is not showing any tabs, nor does it show any directory location I had been working in prior to logout.

    Can I get the great 24.04 muti-tab with history and multi-window functionality back in 25.04?​ If so, how? Understand that under System Settings > Session > Desktop Session, within the "Session Restore" subsection, I have selected "On login, launch apps that were open On last logout". If I had two instances of Konsole open, only one instance is presented after login, and all tabs in either Konsole instance are gone.

    #2
    I can validate what you are seeing. Testing on two plain vanilla Kubuntu VMs, 24.04 and 25.04, I see the exact behavior you describe.

    I believe the key may lie in Konsole itself.

    On the 24.04 install, each new Konsole instance has a different window title: "~: - Konsole", "~: - Konsole <2>", etc. However, on the 25.04 install I see this: "~: - Konsole", "~: - Konsole", etc. ' Additionally, if one opens System Monitor on 24.04 you see multiple instances of Konsole but on 25.04 you see only a single instance.

    So it appears Konsole now runs as a single instance with multiple windows. Whether this is a bug or a change in code (this behavior likely saves RAM) could only be answered by the developer(s). I don't really use Konsole much so I have no ideas how to "fix" it. I prefer Yakuake. Maybe if you attempt correspondence with the devs or report it as a bug, you would at least get an answer.

    Please Read Me

    Comment


      #3
      Here's the two VMs side-by-side with 25.04 on the left:



      Click image for larger version

Name:	Screenshot_20250923_133125.jpg
Views:	99
Size:	39.0 KB
ID:	688558
      Last edited by oshunluvr; Sep 23, 2025, 11:34 AM.

      Please Read Me

      Comment


        #4
        Good sleuthing oshunluvr. I don't see how the 25.04 saves on RAM considering the sum of memory of multiple Konsoles in 24.04 versus the sum of the single Konsole process in 25.04.
        By corresponding with the devs, do you mean taking this to discuss.kde.org?

        Comment


          #5
          What is the state of Settings, configure Konsole, "Run all Konsole windows in a single process"?
          Regards, John Little

          Comment


            #6
            Originally posted by jlittle View Post
            What is the state of Settings, configure Konsole, "Run all Konsole windows in a single process"?
            Good find, but here at least, neither of my test VMs had that checked nor does it make a difference in the behavior.

            Please Read Me

            Comment


              #7
              Originally posted by TheSupremeVizier View Post
              Good sleuthing oshunluvr. I don't see how the 25.04 saves on RAM considering the sum of memory of multiple Konsoles in 24.04 versus the sum of the single Konsole process in 25.04.
              By corresponding with the devs, do you mean taking this to discuss.kde.org?
              Open "About" and click the "Authors" tab. There's a link to bugs there where you can search and/or report it as a bug.

              Please Read Me

              Comment


                #8
                Another update. Everything I wrote about above occurred when I was running the default...Wayland.
                I do NOT have this problem when running X11. Multiple Konsoles with multiple tabs is preserved with X11 but NOT with Wayland.

                My question to you...is this considered a bug or a feature of Wayland?

                Comment


                  #9
                  Originally posted by TheSupremeVizier View Post
                  Another update. Everything I wrote about above occurred when I was running the default...Wayland.
                  I do NOT have this problem when running X11. Multiple Konsoles with multiple tabs is preserved with X11 but NOT with Wayland.

                  My question to you...is this considered a bug or a feature of Wayland?
                  I can't answer that but is a very good detail to note. It might simply be an X11 vs. Wayland thing and making a bug report might bring it to the attention of someone who can fix it.

                  You aren't so bad at "sleuthing" yourself!

                  Please Read Me

                  Comment


                    #10
                    Originally posted by TheSupremeVizier View Post
                    Another update. Everything I wrote about above occurred when I was running the default...Wayland.
                    I do NOT have this problem when running X11. Multiple Konsoles with multiple tabs is preserved with X11 but NOT with Wayland.

                    My question to you...is this considered a bug or a feature of Wayland?
                    Nvidia gpu? I downgraded my Nvidia drivers to pre-580's (570, to be exact) and I could use Wayland again.
                    Last edited by Buddlespit; Sep 24, 2025, 12:29 PM.
                    I'm tired of maintaining my system. I'll let Neon do it for me.

                    Comment


                      #11
                      Hi, Buddlespit. Yes, I'm running an Nvidia GeForce RTX 5070. Due to other issues I was forced to upgrade the driver to "Using NVIDIA driver (open kernel) metapackage from nvidia-driver-580-open (proprietary, tested)", (currently version 580.65.06​) in order to resolve other problems. If I revert to an earlier driver, those undesirable issues will return. At least I can avoid all these issues by running X11 and avoiding Wayland until the software matures a bit more. At this time I will only run Wayland when I need to use a flatpak application that requires it.

                      Comment


                        #12
                        Originally posted by TheSupremeVizier View Post
                        Hi, Buddlespit. Yes, I'm running an Nvidia GeForce RTX 5070. Due to other issues I was forced to upgrade the driver to "Using NVIDIA driver (open kernel) metapackage from nvidia-driver-580-open (proprietary, tested)", (currently version 580.65.06​) in order to resolve other problems. If I revert to an earlier driver, those undesirable issues will return. At least I can avoid all these issues by running X11 and avoiding Wayland until the software matures a bit more. At this time I will only run Wayland when I need to use a flatpak application that requires it.
                        I've cheated and installed Nvidia 580.95.05 directly from Nvidia. There's already a fix for the Wayland problem (580.82), it just hasn't dribbled down to us.
                        I'm tired of maintaining my system. I'll let Neon do it for me.

                        Comment


                          #13
                          OK, we have 580.82 in the nvidia ppa
                          Code:
                          $ sudo add-apt-repository ppa:graphics-drivers/ppa
                          $ sudo apt update​
                          Once you update, if nvidia didn't update from 580.65 to 580.82, then run
                          Code:
                          $ sudo ubuntu-drivers nvidia:580
                          That updated everything nvidia and my wayland now works properly.
                          I'm tired of maintaining my system. I'll let Neon do it for me.

                          Comment


                            #14
                            Originally posted by Buddlespit View Post
                            my wayland now works properly.
                            Which GPU, if I may ask?

                            Comment


                              #15
                              Originally posted by claydoh View Post

                              Which GPU, if I may ask?
                              Nvidia RTX 2070 Super. OP has an RTX 5070.
                              Last edited by Buddlespit; Oct 08, 2025, 08:17 AM.
                              I'm tired of maintaining my system. I'll let Neon do it for me.

                              Comment

                              Users Viewing This Topic

                              Collapse

                              There are 0 users viewing this topic.

                              Working...
                              X