18.04 - Keep programs running after logging out
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
add a comment |
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
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
add a comment |
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
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
18.04 shortcut-keys users gnome-shell workspaces
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
add a comment |
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
add a comment |
1 Answer
1
active
oldest
votes
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.
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
add a comment |
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.
add a comment |
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.
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.
answered Dec 14 at 12:50
Habardeen
13
13
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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