You are not logged in.

#1 2023-11-23 09:46:38

Circular9033
Member
Registered: 2023-11-23
Posts: 4

[SOLVED] Wayland sessions broken

Hello, i use KDE wayland session, but after i edited this file: "/usr/share/polkit-1/actions/org.freedesktop.login1.policy", i couldn't boot into it. So i am currently typing from KDE x11 session.

Hyprland also doesnt work, logind.c says: Could not activate session: action org.freedesktop.login1.chvt is not registered

Last edited by Circular9033 (2023-11-24 09:55:07)

Offline

#2 2023-11-23 10:07:21

dogknowsnx
Guest

Re: [SOLVED] Wayland sessions broken

Hi, and welcome to the forums!
You didn't even tell us what changes you made to that file and why...
If you can login from a tty, then

# pacman -Syu systemd

*should* restore that file.

#3 2023-11-23 10:13:31

Circular9033
Member
Registered: 2023-11-23
Posts: 4

Re: [SOLVED] Wayland sessions broken

Thank you so much, it worked!

The reason why i edited that file was because when i close the lid, it wont suspend the laptop but will show dialog where i should put my password and then it will suspend. And i didn't want that. So i edited the suspend sections of that file.

If you know how to suspend the laptop without that password dialog, let me know!

https://imgur.com/a/uDt1vhL

dogknowsnx wrote:

Hi, and welcome to the forums!
You didn't even tell us what changes you made to that file and why...
If you can login from a tty, then

# pacman -Syu systemd

*should* restore that file.

Last edited by Circular9033 (2023-11-23 10:15:30)

Offline

#4 2023-11-23 10:17:00

dogknowsnx
Guest

Re: [SOLVED] Wayland sessions broken

You do have 'polkit' installed, do you ('hyprland' depends on it)?

#5 2023-11-23 10:19:05

Circular9033
Member
Registered: 2023-11-23
Posts: 4

Re: [SOLVED] Wayland sessions broken

Yes, i do have polkit installed.

Offline

#7 2023-11-23 10:32:32

Circular9033
Member
Registered: 2023-11-23
Posts: 4

Re: [SOLVED] Wayland sessions broken

Thank you, now suspending works!

Offline

#8 2023-11-23 11:45:35

dogknowsnx
Guest

Re: [SOLVED] Wayland sessions broken

Please remember to mark solved threads by editing the title accordingly, thanks.

Board footer

Powered by FluxBB