Suspend on level of login, not workstation - possible issue in multiuser system (Ubuntu, Mint)

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I noted in Linux Mint and newest Ubuntu 18, that suspend functionality is setup (sudo/root is not needed for suspend setting) and working on level of login/user.



For example, I had 3 users logged on, in Ubuntu, then laptop went to suspend (on lid close) when I had one user session on screen, then resume. Now when I switched to other user session (using ctrl-alt-f), I saw user screen, then automatically in several seconds laptop went to suspend. IMHO not reasonable behaviour.



Is there a reason for suspend to be implemented that way? Is it same for other Linux desktop distros? How complex could it be to change kernel to have suspend working for workstation, not user? I'm ready to help make it happen if my help would be of use.







share|improve this question





















  • I would not think that the functionality would be in the kernel. The kernel probably needs to do the suspend, but deciding when to do it should, and hopefully is a user mode task.
    – ctrl-alt-delor
    Jul 11 at 7:43










  • I have had similar thoughts. How do I set up power management as a global/system level policy?
    – ctrl-alt-delor
    Jul 11 at 7:44














up vote
0
down vote

favorite












I noted in Linux Mint and newest Ubuntu 18, that suspend functionality is setup (sudo/root is not needed for suspend setting) and working on level of login/user.



For example, I had 3 users logged on, in Ubuntu, then laptop went to suspend (on lid close) when I had one user session on screen, then resume. Now when I switched to other user session (using ctrl-alt-f), I saw user screen, then automatically in several seconds laptop went to suspend. IMHO not reasonable behaviour.



Is there a reason for suspend to be implemented that way? Is it same for other Linux desktop distros? How complex could it be to change kernel to have suspend working for workstation, not user? I'm ready to help make it happen if my help would be of use.







share|improve this question





















  • I would not think that the functionality would be in the kernel. The kernel probably needs to do the suspend, but deciding when to do it should, and hopefully is a user mode task.
    – ctrl-alt-delor
    Jul 11 at 7:43










  • I have had similar thoughts. How do I set up power management as a global/system level policy?
    – ctrl-alt-delor
    Jul 11 at 7:44












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I noted in Linux Mint and newest Ubuntu 18, that suspend functionality is setup (sudo/root is not needed for suspend setting) and working on level of login/user.



For example, I had 3 users logged on, in Ubuntu, then laptop went to suspend (on lid close) when I had one user session on screen, then resume. Now when I switched to other user session (using ctrl-alt-f), I saw user screen, then automatically in several seconds laptop went to suspend. IMHO not reasonable behaviour.



Is there a reason for suspend to be implemented that way? Is it same for other Linux desktop distros? How complex could it be to change kernel to have suspend working for workstation, not user? I'm ready to help make it happen if my help would be of use.







share|improve this question













I noted in Linux Mint and newest Ubuntu 18, that suspend functionality is setup (sudo/root is not needed for suspend setting) and working on level of login/user.



For example, I had 3 users logged on, in Ubuntu, then laptop went to suspend (on lid close) when I had one user session on screen, then resume. Now when I switched to other user session (using ctrl-alt-f), I saw user screen, then automatically in several seconds laptop went to suspend. IMHO not reasonable behaviour.



Is there a reason for suspend to be implemented that way? Is it same for other Linux desktop distros? How complex could it be to change kernel to have suspend working for workstation, not user? I'm ready to help make it happen if my help would be of use.









share|improve this question












share|improve this question




share|improve this question








edited Jul 11 at 7:41









ctrl-alt-delor

8,64331946




8,64331946









asked Jul 11 at 6:57









Alexei Martianov

23211




23211











  • I would not think that the functionality would be in the kernel. The kernel probably needs to do the suspend, but deciding when to do it should, and hopefully is a user mode task.
    – ctrl-alt-delor
    Jul 11 at 7:43










  • I have had similar thoughts. How do I set up power management as a global/system level policy?
    – ctrl-alt-delor
    Jul 11 at 7:44
















  • I would not think that the functionality would be in the kernel. The kernel probably needs to do the suspend, but deciding when to do it should, and hopefully is a user mode task.
    – ctrl-alt-delor
    Jul 11 at 7:43










  • I have had similar thoughts. How do I set up power management as a global/system level policy?
    – ctrl-alt-delor
    Jul 11 at 7:44















I would not think that the functionality would be in the kernel. The kernel probably needs to do the suspend, but deciding when to do it should, and hopefully is a user mode task.
– ctrl-alt-delor
Jul 11 at 7:43




I would not think that the functionality would be in the kernel. The kernel probably needs to do the suspend, but deciding when to do it should, and hopefully is a user mode task.
– ctrl-alt-delor
Jul 11 at 7:43












I have had similar thoughts. How do I set up power management as a global/system level policy?
– ctrl-alt-delor
Jul 11 at 7:44




I have had similar thoughts. How do I set up power management as a global/system level policy?
– ctrl-alt-delor
Jul 11 at 7:44















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
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',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f454625%2fsuspend-on-level-of-login-not-workstation-possible-issue-in-multiuser-system%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes










 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f454625%2fsuspend-on-level-of-login-not-workstation-possible-issue-in-multiuser-system%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

How to check contact read email or not when send email to Individual?

Bahrain

Postfix configuration issue with fips on centos 7; mailgun relay