how to stop screen lock

Jerry Geis jerry.geis at gmail.com
Thu Nov 3 12:37:21 UTC 2022


On Tue, Nov 1, 2022 at 2:59 PM Jerry Geis <jerry.geis at gmail.com> wrote:

>
>
> On Tue, Nov 1, 2022 at 2:51 PM Robert Heller <heller at deepsoft.com> wrote:
>
>> At Tue, 1 Nov 2022 14:29:15 -0400 "Ubuntu user technical support,? not
>> for general discussions" <ubuntu-users at lists.ubuntu.com> wrote:
>>
>> >
>> > On Tue, Nov 1, 2022 at 9:54 AM Little Girl <littlergirl at gmail.com>
>> wrote:
>> >
>> > > Hey there,
>> > >
>> > > Jerry Geis wrote:
>> > >
>> > > >However - if am doing something slightly different. the
>> > > >Control-alt-f3 - goes out of that "mode" and when I switch back
>> > > >I get a login screen.
>> > > >
>> > > >How do I "ignore" that change of input - or change of screen.... In
>> > > >my use that is "ok".
>> > > >Is there something in X that also needs set ?
>> > >
>> > > Are either of these of any use?
>> > >
>> > >
>> > >
>> https://askubuntu.com/questions/466662/how-to-disable-password-prompt-for-switching-users-in-graphical-session
>> > >
>> > >
>> > >
>> https://askubuntu.com/questions/1005457/disable-ctrl-alt-ls-behavior-of-locking-the-screen
>> > >
>> > > --
>> > > Little Girl
>> > >
>> > > There is no spoon.
>> > >
>> > > --
>> > > ubuntu-users mailing list
>> > > ubuntu-users at lists.ubuntu.com
>> > > Modify settings or unsubscribe at:
>> > > https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>> >
>> >
>> > Thanks - did find anything there I had not tried.
>> >
>> > I did my control-alt-f3 - and went back - I then looked at the
>> xorg.0.log
>> > file
>> > systemd-logind suspend
>> > systemd-logind -resume
>> >
>> > are the couple messages I see. What do  I do about that ?
>>
>> I just read the man pages for systemd-logind, and my guess is that if you
>> edit
>> /etc/systemd/logind.conf and change the line
>>
>> #HandleSuspendKey=suspend
>> to
>> HandleSuspendKey=ignore
>>
>> You *might* get what you want.
>>
>> >
>> > Jerry
>> >
>>
>> --
>> Robert Heller             -- Cell: 413-658-7953 GV: 978-633-5364
>> Deepwoods Software        -- Custom Software Services
>> http://www.deepsoft.com/  -- Linux Administration Services
>> heller at deepsoft.com       -- Webhosting Services
>>
>>
>> --
>> ubuntu-users mailing list
>> ubuntu-users at lists.ubuntu.com
>> Modify settings or unsubscribe at:
>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
>
> Robert -  I was so hopeful - Changed that file - thought I would reboot
> just to make sure config is read. Same issue.
> Same event logged also.
>
> Jerry
>

Was not in yeasterday - back today.
I tried this
 systemctl mask sleep.target suspend.target hibernate.target
hybrid-sleep.target


Still no go - the Xorg.0.log still is showing pause.

grep pause /home/silentm/.local/share/xorg/Xorg.0.log
[    47.812] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 12
paused 0
[    48.512] (II) systemd-logind: got fd for /dev/input/event2 13:66 fd 22
paused 0
[    48.579] (II) systemd-logind: got fd for /dev/input/event4 13:68 fd 25
paused 0
[    48.595] (II) systemd-logind: got fd for /dev/input/event0 13:64 fd 26
paused 0
[    48.616] (II) systemd-logind: got fd for /dev/input/event1 13:65 fd 27
paused 0
[    48.634] (II) systemd-logind: got fd for /dev/input/event5 13:69 fd 28
paused 0
[    48.649] (II) systemd-logind: got fd for /dev/input/event6 13:70 fd 29
paused 0
[    48.663] (II) systemd-logind: got fd for /dev/input/event7 13:71 fd 30
paused 0
[    48.673] (II) systemd-logind: got fd for /dev/input/event3 13:67 fd 31
paused 0
[    95.637] (II) systemd-logind: got pause for 226:0
[    95.637] (II) systemd-logind: got pause for 13:65
[    95.637] (II) systemd-logind: got pause for 13:71
[    95.637] (II) systemd-logind: got pause for 13:70
[    95.637] (II) systemd-logind: got pause for 13:64
[    95.637] (II) systemd-logind: got pause for 13:66
[    95.637] (II) systemd-logind: got pause for 13:68
[    95.637] (II) systemd-logind: got pause for 13:67
[    95.637] (II) systemd-logind: got pause for 13:69

How do I get X not to pause - I dont want the X screen to logout when I do
control-ALt-F3 and then control-F1 to go back???
I tried the setting all these in logind.conf

[Login]
#NAutoVTs=6
#ReserveVT=6
#KillUserProcesses=no
#KillOnlyUsers=
#KillExcludeUsers=root
#InhibitDelayMaxSec=5
HandlePowerKey=ignore
HandleSuspendKey=ignore
HandleHibernateKey=ignore
HandleLidSwitch=ignore
HandleLidSwitchExternalPower=ignore
HandleLidSwitchDocked=ignore

rebooted and still nothing.
Jerry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20221103/b9712f73/attachment.html>


More information about the ubuntu-users mailing list