18.04 - Keep programs running after logging out












0














I have Ubuntu 18.04 freshly installed and up to date on a Dell Latitude 7490 and a docking station DisplayLink D3100 running 2 additional monitors.



I am trying to find a way to keep all the programs running after logging out with the default CTRL+ALT+DEL shortcut.



Thank you for all your answers!










share|improve this question




















  • 3




    That is the expected behaviour. What are you trying achieve? Are you looking for some other alternatives like 'suspend' (aka 'sleep') or 'hibernation' or simply locking the screen?
    – pomsky
    Dec 13 at 18:27












  • Thank you for your comment. I am trying to keep all programs open as I have left them before logging out. Either hibernate or suspend is fine (former would be better I suppose, but it is not an issue).
    – Habardeen
    Dec 14 at 8:20










  • Then please edit your question and mention clearly what you're trying to achieve. Currently it sounds like an XY problem. Logging out means you're ending the current computing session for the current user and thus programs getting killed after logging out is a normal and expected outcome. From the title and the body of your question it sounds like you are not at all expecting this to happen.
    – pomsky
    Dec 14 at 8:48












  • See this if you want to suspend instead: askubuntu.com/questions/967205/…
    – pomsky
    Dec 14 at 8:55










  • Alright, I did not know the logout meaning in Linux env. I have found a solution and I am updating the post accordingly. Thank you for helping me clarifying it.
    – Habardeen
    Dec 14 at 12:13
















0














I have Ubuntu 18.04 freshly installed and up to date on a Dell Latitude 7490 and a docking station DisplayLink D3100 running 2 additional monitors.



I am trying to find a way to keep all the programs running after logging out with the default CTRL+ALT+DEL shortcut.



Thank you for all your answers!










share|improve this question




















  • 3




    That is the expected behaviour. What are you trying achieve? Are you looking for some other alternatives like 'suspend' (aka 'sleep') or 'hibernation' or simply locking the screen?
    – pomsky
    Dec 13 at 18:27












  • Thank you for your comment. I am trying to keep all programs open as I have left them before logging out. Either hibernate or suspend is fine (former would be better I suppose, but it is not an issue).
    – Habardeen
    Dec 14 at 8:20










  • Then please edit your question and mention clearly what you're trying to achieve. Currently it sounds like an XY problem. Logging out means you're ending the current computing session for the current user and thus programs getting killed after logging out is a normal and expected outcome. From the title and the body of your question it sounds like you are not at all expecting this to happen.
    – pomsky
    Dec 14 at 8:48












  • See this if you want to suspend instead: askubuntu.com/questions/967205/…
    – pomsky
    Dec 14 at 8:55










  • Alright, I did not know the logout meaning in Linux env. I have found a solution and I am updating the post accordingly. Thank you for helping me clarifying it.
    – Habardeen
    Dec 14 at 12:13














0












0








0







I have Ubuntu 18.04 freshly installed and up to date on a Dell Latitude 7490 and a docking station DisplayLink D3100 running 2 additional monitors.



I am trying to find a way to keep all the programs running after logging out with the default CTRL+ALT+DEL shortcut.



Thank you for all your answers!










share|improve this question















I have Ubuntu 18.04 freshly installed and up to date on a Dell Latitude 7490 and a docking station DisplayLink D3100 running 2 additional monitors.



I am trying to find a way to keep all the programs running after logging out with the default CTRL+ALT+DEL shortcut.



Thank you for all your answers!







18.04 shortcut-keys users gnome-shell workspaces






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 14 at 12:15

























asked Dec 13 at 18:16









Habardeen

13




13








  • 3




    That is the expected behaviour. What are you trying achieve? Are you looking for some other alternatives like 'suspend' (aka 'sleep') or 'hibernation' or simply locking the screen?
    – pomsky
    Dec 13 at 18:27












  • Thank you for your comment. I am trying to keep all programs open as I have left them before logging out. Either hibernate or suspend is fine (former would be better I suppose, but it is not an issue).
    – Habardeen
    Dec 14 at 8:20










  • Then please edit your question and mention clearly what you're trying to achieve. Currently it sounds like an XY problem. Logging out means you're ending the current computing session for the current user and thus programs getting killed after logging out is a normal and expected outcome. From the title and the body of your question it sounds like you are not at all expecting this to happen.
    – pomsky
    Dec 14 at 8:48












  • See this if you want to suspend instead: askubuntu.com/questions/967205/…
    – pomsky
    Dec 14 at 8:55










  • Alright, I did not know the logout meaning in Linux env. I have found a solution and I am updating the post accordingly. Thank you for helping me clarifying it.
    – Habardeen
    Dec 14 at 12:13














  • 3




    That is the expected behaviour. What are you trying achieve? Are you looking for some other alternatives like 'suspend' (aka 'sleep') or 'hibernation' or simply locking the screen?
    – pomsky
    Dec 13 at 18:27












  • Thank you for your comment. I am trying to keep all programs open as I have left them before logging out. Either hibernate or suspend is fine (former would be better I suppose, but it is not an issue).
    – Habardeen
    Dec 14 at 8:20










  • Then please edit your question and mention clearly what you're trying to achieve. Currently it sounds like an XY problem. Logging out means you're ending the current computing session for the current user and thus programs getting killed after logging out is a normal and expected outcome. From the title and the body of your question it sounds like you are not at all expecting this to happen.
    – pomsky
    Dec 14 at 8:48












  • See this if you want to suspend instead: askubuntu.com/questions/967205/…
    – pomsky
    Dec 14 at 8:55










  • Alright, I did not know the logout meaning in Linux env. I have found a solution and I am updating the post accordingly. Thank you for helping me clarifying it.
    – Habardeen
    Dec 14 at 12:13








3




3




That is the expected behaviour. What are you trying achieve? Are you looking for some other alternatives like 'suspend' (aka 'sleep') or 'hibernation' or simply locking the screen?
– pomsky
Dec 13 at 18:27






That is the expected behaviour. What are you trying achieve? Are you looking for some other alternatives like 'suspend' (aka 'sleep') or 'hibernation' or simply locking the screen?
– pomsky
Dec 13 at 18:27














Thank you for your comment. I am trying to keep all programs open as I have left them before logging out. Either hibernate or suspend is fine (former would be better I suppose, but it is not an issue).
– Habardeen
Dec 14 at 8:20




Thank you for your comment. I am trying to keep all programs open as I have left them before logging out. Either hibernate or suspend is fine (former would be better I suppose, but it is not an issue).
– Habardeen
Dec 14 at 8:20












Then please edit your question and mention clearly what you're trying to achieve. Currently it sounds like an XY problem. Logging out means you're ending the current computing session for the current user and thus programs getting killed after logging out is a normal and expected outcome. From the title and the body of your question it sounds like you are not at all expecting this to happen.
– pomsky
Dec 14 at 8:48






Then please edit your question and mention clearly what you're trying to achieve. Currently it sounds like an XY problem. Logging out means you're ending the current computing session for the current user and thus programs getting killed after logging out is a normal and expected outcome. From the title and the body of your question it sounds like you are not at all expecting this to happen.
– pomsky
Dec 14 at 8:48














See this if you want to suspend instead: askubuntu.com/questions/967205/…
– pomsky
Dec 14 at 8:55




See this if you want to suspend instead: askubuntu.com/questions/967205/…
– pomsky
Dec 14 at 8:55












Alright, I did not know the logout meaning in Linux env. I have found a solution and I am updating the post accordingly. Thank you for helping me clarifying it.
– Habardeen
Dec 14 at 12:13




Alright, I did not know the logout meaning in Linux env. I have found a solution and I am updating the post accordingly. Thank you for helping me clarifying it.
– Habardeen
Dec 14 at 12:13










1 Answer
1






active

oldest

votes


















0














The solution can be found in this answer.
Replacing the CTRL+ALT+DEL shortcut command (Settings > Devices > Keyboard) with systemctl suspend lets you suspend the system and require the password on login.



Also I have found useful to set the Power Button to suspend on press, thanks to pomsky's comment.






share|improve this answer





















    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "89"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1100684%2f18-04-keep-programs-running-after-logging-out%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    The solution can be found in this answer.
    Replacing the CTRL+ALT+DEL shortcut command (Settings > Devices > Keyboard) with systemctl suspend lets you suspend the system and require the password on login.



    Also I have found useful to set the Power Button to suspend on press, thanks to pomsky's comment.






    share|improve this answer


























      0














      The solution can be found in this answer.
      Replacing the CTRL+ALT+DEL shortcut command (Settings > Devices > Keyboard) with systemctl suspend lets you suspend the system and require the password on login.



      Also I have found useful to set the Power Button to suspend on press, thanks to pomsky's comment.






      share|improve this answer
























        0












        0








        0






        The solution can be found in this answer.
        Replacing the CTRL+ALT+DEL shortcut command (Settings > Devices > Keyboard) with systemctl suspend lets you suspend the system and require the password on login.



        Also I have found useful to set the Power Button to suspend on press, thanks to pomsky's comment.






        share|improve this answer












        The solution can be found in this answer.
        Replacing the CTRL+ALT+DEL shortcut command (Settings > Devices > Keyboard) with systemctl suspend lets you suspend the system and require the password on login.



        Also I have found useful to set the Power Button to suspend on press, thanks to pomsky's comment.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Dec 14 at 12:50









        Habardeen

        13




        13






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Ask Ubuntu!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1100684%2f18-04-keep-programs-running-after-logging-out%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Mouse cursor on multiple screens with different PPI

            Agildo Ribeiro

            Sometime when accessing a menu: “Ubuntu 16.04 has experienced an internal error”