# Lock screen not working in 21.10

**URL:** <https://discourse.ubuntubudgie.org/t/lock-screen-not-working-in-21-10/5466>\
**Category:** General\
**Created:** [November 8, 2021, 12:01pm UTC](https://discourse.ubuntubudgie.org/t/lock-screen-not-working-in-21-10/5466 "2021-11-08T12:01:44Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![jradinger](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/jradinger/32/3628_2.png) [@jradinger](https://discourse.ubuntubudgie.org/u/jradinger)\
**Post date:** [November 8, 2021, 12:01pm UTC](https://discourse.ubuntubudgie.org/t/lock-screen-not-working-in-21-10/5466/1 "2021-11-08T12:01:44Z")

</div>

Since I updated my system to ubuntu Budgie 21.10 my lock screen is not working anymore. So using the “Lock” button in the upper right corner does not work (nothing happens). Also when my computer returns from suspend mode my screen is not locked and no lock screen is displayed. Any idea what to check and how to solve this?

The output of `ps -ef | grep screensaver`

```auto
jrading+ 1950 1656 0 09:05 ? 00:00:00 /usr/libexec/gsd-screensaver-proxy
jrading+ 32613 2987 0 13:02 pts/0 00:00:00 grep --color=auto screensaver

```

I’ve never actually changed anything with the login screen.

---

<div class="post-metadata">

**Author:** ![fossfreedom](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/fossfreedom/32/1405_2.png) [@fossfreedom](https://discourse.ubuntubudgie.org/u/fossfreedom)\
**Post date:** [November 8, 2021, 12:03pm UTC](https://discourse.ubuntubudgie.org/t/lock-screen-not-working-in-21-10/5466/2 "2021-11-08T12:03:42Z")

</div>

Are you using GDM3 as your login manager?

Have you got GNOME-Shell also installed?

This thread maybe your issue [Lockscreen not working after update to 21.10 - #22 by RupertEverton](https://discourse.ubuntubudgie.org/t/lockscreen-not-working-after-update-to-21-10/5394/22)

---

<div class="post-metadata">

**Author:** ![jradinger](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/jradinger/32/3628_2.png) [@jradinger](https://discourse.ubuntubudgie.org/u/jradinger)\
**Post date:** [November 8, 2021, 12:06pm UTC](https://discourse.ubuntubudgie.org/t/lock-screen-not-working-in-21-10/5466/3 "2021-11-08T12:06:14Z")

</div>

> [@fossfreedom](#):
>
> Are you using GDM3 as your login manager?
> 
> Have you got GNOME-Shell also installed?

How can I check? Which output of the console would be helpful for tracing this?

---

<div class="post-metadata">

**Author:** ![fossfreedom](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/fossfreedom/32/1405_2.png) [@fossfreedom](https://discourse.ubuntubudgie.org/u/fossfreedom)\
**Post date:** [November 8, 2021, 12:09pm UTC](https://discourse.ubuntubudgie.org/t/lock-screen-not-working-in-21-10/5466/4 "2021-11-08T12:09:54Z")

</div>

For GDM3 - what does your login manager look like? If it looks like this then you are using lightdm/slick greeter

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/ubuntubudgie/original/2X/d/d429d45aa0f2af6b59fa8bfb2805e2565842c005.jpeg)

For GNOME-Shell - start at this part of the thread [Lockscreen not working after update to 21.10 - #12 by fossfreedom](https://discourse.ubuntubudgie.org/t/lockscreen-not-working-after-update-to-21-10/5394/12)

---

<div class="post-metadata">

**Author:** ![jradinger](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/jradinger/32/3628_2.png) [@jradinger](https://discourse.ubuntubudgie.org/u/jradinger)\
**Post date:** [November 8, 2021, 12:11pm UTC](https://discourse.ubuntubudgie.org/t/lock-screen-not-working-in-21-10/5466/5 "2021-11-08T12:11:17Z")

</div>

So I ran

```auto
pkill -9 -f '/usr/bin/gjs /usr/share/gnome-shell/org.gnome.ScreenSaver'

```

and after that` gnome-screensaver`

but actually nothing happens…and I have to stop the command using Strg+C

---

<div class="post-metadata">

**Author:** ![jradinger](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/jradinger/32/3628_2.png) [@jradinger](https://discourse.ubuntubudgie.org/u/jradinger)\
**Post date:** [November 8, 2021, 12:18pm UTC](https://discourse.ubuntubudgie.org/t/lock-screen-not-working-in-21-10/5466/6 "2021-11-08T12:18:31Z")

</div>

Thats how my screen looks at start up: ![IMG_3643](https://canada1.discourse-cdn.com/flex035/uploads/ubuntubudgie/original/2X/5/53443911d7dbd23615e53dd1c49a0ca063bafd22.jpeg)

---

<div class="post-metadata">

**Author:** ![fossfreedom](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/fossfreedom/32/1405_2.png) [@fossfreedom](https://discourse.ubuntubudgie.org/u/fossfreedom)\
**Post date:** [November 8, 2021, 12:19pm UTC](https://discourse.ubuntubudgie.org/t/lock-screen-not-working-in-21-10/5466/7 "2021-11-08T12:19:17Z")

</div>

> [@jradinger](#):
>
> `/usr/share/gnome-shell/org.gnome.ScreenSaver`

Do you have the file above?

---

<div class="post-metadata">

**Author:** ![jradinger](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/jradinger/32/3628_2.png) [@jradinger](https://discourse.ubuntubudgie.org/u/jradinger)\
**Post date:** [November 8, 2021, 12:22pm UTC](https://discourse.ubuntubudgie.org/t/lock-screen-not-working-in-21-10/5466/8 "2021-11-08T12:22:15Z")

</div>

Yes this file (/usr/share/gnome-shell/org.gnome.ScreenSaver) exists…with following content:

```auto
imports.package.start({
    name: 'gnome-shell',
    prefix: '/usr',
    libdir: '/usr/lib',
});

```

---

<div class="post-metadata">

**Author:** ![fossfreedom](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/fossfreedom/32/1405_2.png) [@fossfreedom](https://discourse.ubuntubudgie.org/u/fossfreedom)\
**Post date:** [November 8, 2021, 12:25pm UTC](https://discourse.ubuntubudgie.org/t/lock-screen-not-working-in-21-10/5466/9 "2021-11-08T12:25:42Z")

</div>

right - so its the same issue.

To reiterate - you have in the past installed gnome-shell - and its interfering with Budgie.

In 21.10 GNOME Shell breaks budgie lock screen - upstream (Solus) do not recommend you have both Budgie and GNOME Shell installed. You certainly shouldnt have GDM3 installed - you may have installed this in the past but switched back to lightdm/slickgreeter without uninstalling GDM3

So the workaround is in the thread I linked to - alternatively you can uninstall gnome-shell-common but this will break your GNOME Shell installation.

---

<div class="post-metadata">

**Author:** ![jradinger](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/jradinger/32/3628_2.png) [@jradinger](https://discourse.ubuntubudgie.org/u/jradinger)\
**Post date:** [November 8, 2021, 12:35pm UTC](https://discourse.ubuntubudgie.org/t/lock-screen-not-working-in-21-10/5466/10 "2021-11-08T12:35:33Z")

</div>

> [@fossfreedom](#):
>
> In 21.10 GNOME Shell breaks budgie lock screen - upstream (Solus) do not recommend you have both Budgie and GNOME Shell installed. You certainly shouldnt have GDM3 installed - you may have installed this in the past but switched back to lightdm/slickgreeter without uninstalling GDM3
> 
> So the workaround is in the thread I linked to - alternatively you can uninstall gnome-shell-common but this will break your GNOME Shell installation.

So, is there actually a way to move back to a state that is most “natural” to the actual version of Budgie. If I understood correctly, I should uninstall GDM3 (how?). I mean in the end, I’d like to have future updates working flawlessly  
So if you I uninstall gnone-shell-common, what do you mean by this will “break my GNOME Shell installation” ?

---

<div class="post-metadata">

**Author:** ![fossfreedom](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/fossfreedom/32/1405_2.png) [@fossfreedom](https://discourse.ubuntubudgie.org/u/fossfreedom)\
**Post date:** [November 8, 2021, 12:40pm UTC](https://discourse.ubuntubudgie.org/t/lock-screen-not-working-in-21-10/5466/11 "2021-11-08T12:40:55Z")

</div>

So to remove GDM3

```
sudo apt purge gdm3

```

To remove gnome-shell-common

```
sudo apt purge gnome-shell-common

```

Remember you can in Ubuntu install multiple desktop environments - you choose which desktop environment you want to launch via the login screen - so click on the “budgie” icon next to the password field to see which desktop environments you want to switch to.

When I say “break GNOME Shell installation” - its just that it means you will no longer have the ability to login to GNOME Shell via the login manager.

Assuming you have the package ubuntu-budgie-desktop installed, this will be enough to ensure future updates & upgrades work OK.

---

<div class="post-metadata">

**Author:** ![jradinger](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/jradinger/32/3628_2.png) [@jradinger](https://discourse.ubuntubudgie.org/u/jradinger)\
**Post date:** [November 8, 2021, 1:19pm UTC](https://discourse.ubuntubudgie.org/t/lock-screen-not-working-in-21-10/5466/12 "2021-11-08T13:19:31Z")

</div>

So uninstalling `gmd3` and `gnome-shell-common` using `sudo apt purge` worked in the sense that I can now lock my screen again. Thanks!

Now my lock screen after suspend is different from that after reboot…as shown in the picture ![IMG_3644](https://canada1.discourse-cdn.com/flex035/uploads/ubuntubudgie/original/2X/e/eed2be34490151c91b0d8666d3f5cff6265cc512.jpeg).

Is that how it should be (i.e. to have different login screens after suspend and lock)?

---

<div class="post-metadata">

**Author:** ![fossfreedom](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/fossfreedom/32/1405_2.png) [@fossfreedom](https://discourse.ubuntubudgie.org/u/fossfreedom)\
**Post date:** [November 8, 2021, 1:57pm UTC](https://discourse.ubuntubudgie.org/t/lock-screen-not-working-in-21-10/5466/13 "2021-11-08T13:57:32Z")

</div>

Yep - that is how it is expected to be - that is “gnome-screensaver”

If you are using a theme like Pocillo - then it would be darker. The theming of gnome-screensaver is dependent upon the theme you have chosen for your desktop.

---

<div class="post-metadata">

**Author:** ![Germoney](https://avatars.discourse-cdn.com/v4/letter/g/4af34b/32.png) [@Germoney](https://discourse.ubuntubudgie.org/u/Germoney)\
**Post date:** [February 10, 2023, 2:14pm UTC](https://discourse.ubuntubudgie.org/t/lock-screen-not-working-in-21-10/5466/14 "2023-02-10T14:14:00Z")

</div>

I have the same problem with 22.04. I tried both commands in the Terminal. According to my Terminal (neither GDM3 or gnome-shell-common is installed) ??? Any other suggestions? Thanks as always for your help.

---

<div class="post-metadata">

**Author:** ![fossfreedom](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/fossfreedom/32/1405_2.png) [@fossfreedom](https://discourse.ubuntubudgie.org/u/fossfreedom)\
**Post date:** [February 10, 2023, 2:19pm UTC](https://discourse.ubuntubudgie.org/t/lock-screen-not-working-in-21-10/5466/15 "2023-02-10T14:19:25Z")

</div>

What are your display - lock options in Budgie-Control-Center - Displays ?

---

<div class="post-metadata">

**Author:** ![Germoney](https://avatars.discourse-cdn.com/v4/letter/g/4af34b/32.png) [@Germoney](https://discourse.ubuntubudgie.org/u/Germoney)\
**Post date:** [February 13, 2023, 10:55am UTC](https://discourse.ubuntubudgie.org/t/lock-screen-not-working-in-21-10/5466/16 "2023-02-13T10:55:18Z")

</div>

Hope you had a nice weekend. Actually I didn’t see any lock options (Sperren) in the Budgie-Control-Center-Displays. Maybe it’s just me being stupid again? Here are two pictures (screen shots) of my PC.  
It was working until recently… maybe up until 2 weeks ago? I haven’t made any major changes or installed any new programs in that time. Not a serious problem, but it would be nice to have it working.

 ![IMG_20230212_100624_11](https://canada1.discourse-cdn.com/flex035/uploads/ubuntubudgie/original/2X/7/7da5dc4c9985bf2b96c5e7522871a5cc26f660ac.jpeg)  
 ![IMG_20230213_113556_51](https://canada1.discourse-cdn.com/flex035/uploads/ubuntubudgie/original/2X/5/5861302e6d0278c6b79dfe1ee54a0a71e29082a1.jpeg)

---

<div class="post-metadata">

**Author:** ![KingNai](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/kingnai/32/4265_2.png) [@KingNai](https://discourse.ubuntubudgie.org/u/KingNai)\
**Post date:** [February 14, 2023, 7:11am UTC](https://discourse.ubuntubudgie.org/t/lock-screen-not-working-in-21-10/5466/17 "2023-02-14T07:11:02Z")

</div>

Take a look at the below post. The gsetting is what was doing it for me. Once I set disable-lock-screen to false, I was able to lock using normal methods.

I am not sure why this setting changed, but it did for me.

> [@Lockscreen not working after update to 21.10](https://discourse.ubuntubudgie.org/t/lockscreen-not-working-after-update-to-21-10/5394/40):
>
> I fixed my problem, so I’ll share the solution just in case it helps anyone. I enabled gnome-screensaver debugging by doing this: pkill gnome-screensaver gnome-screensaver --no-deamon --debug 2\>&1 | tee ~/g-ss.log Then in the log file, I noticed it was saying Locking disabled by the administrator whenever I tried to lock. I found these two settings: gsettings get org.gnome.desktop.screensaver lock-enabled gsettings get org.gnome.desktop.lockdown disable-lock-screen Both of these were true,…

---

<div class="post-metadata">

**Author:** ![Germoney](https://avatars.discourse-cdn.com/v4/letter/g/4af34b/32.png) [@Germoney](https://discourse.ubuntubudgie.org/u/Germoney)\
**Post date:** [February 14, 2023, 12:55pm UTC](https://discourse.ubuntubudgie.org/t/lock-screen-not-working-in-21-10/5466/18 "2023-02-14T12:55:03Z")

</div>

First of all… thank you for the suggestion. Here’s a photo of what came up on my Terminal.  
pkill: Unknown Option \>\>–no–deamon\<\< (_unknown_ would be the translation from German)

 ![IMG_20230214_134340_61](https://canada1.discourse-cdn.com/flex035/uploads/ubuntubudgie/original/2X/d/d64c161921c9a43eec9e3b985475cdeb03f65725.jpeg)

---

<div class="post-metadata">

**Author:** ![KingNai](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/kingnai/32/4265_2.png) [@KingNai](https://discourse.ubuntubudgie.org/u/KingNai)\
**Post date:** [February 15, 2023, 6:47am UTC](https://discourse.ubuntubudgie.org/t/lock-screen-not-working-in-21-10/5466/19 "2023-02-15T06:47:46Z")

</div>

Try running these two lines. For me both lines returned true. The second line should be false.

```auto
gsettings get org.gnome.desktop.screensaver lock-enabled
gsettings get org.gnome.desktop.lockdown disable-lock-screen

```

If the second line returns true, instead of get, use set to set the value to false.

```auto
gsettings set org.gnome.desktop.lockdown disable-lock-screen false

```

---

<div class="post-metadata">

**Author:** ![Germoney](https://avatars.discourse-cdn.com/v4/letter/g/4af34b/32.png) [@Germoney](https://discourse.ubuntubudgie.org/u/Germoney)\
**Post date:** [February 15, 2023, 1:48pm UTC](https://discourse.ubuntubudgie.org/t/lock-screen-not-working-in-21-10/5466/20 "2023-02-15T13:48:43Z")

</div>

Thank you! I’m amazed… You are truly a King. That worked 💯% Will be writing everything down and saving it in my notebook.

[Next page](https://discourse.ubuntubudgie.org/t/lock-screen-not-working-in-21-10/5466.md?page=2)
