You are not logged in.

#1 2023-11-13 17:32:53

falzo
Member
Registered: 2023-11-13
Posts: 5

Error starting Hyprland: something wrong with libseat. [SOLVED]

I have recently installed a minimal Arch on my laptop (MSI P14Evo) using archinstall script. Later I installed Hyprland throw "pacman -S Hyprland".
Everything seems to work fine, but when I start Hyprland from tty I obtain this error:

  "[libeseat] [libseat/backend7seatd.c:66] Could not connect to socket /run/seatd.sock: Permission denied
   [libeseat] [libseat/backend7seatd.c:76] Backend 'seatd' failed open seat, skipping
   [libeseat] [libseat/backend7seatd.c:73] Sear opened with backend 'logind'   "

Then it is written that the libseat session in succefully loaded.
I tried to avoid this error message changing permission to file seatd.sock with "chmod a+w /run/seatd.sock" and the error disappeared, but I don't like this solution.

I would like just to better understand what is going on and if my solution is the correct one.
For now I am just leaving this error to appear.

Last edited by falzo (2023-11-14 15:49:53)

Offline

#2 2023-11-13 20:33:27

seth
Member
Registered: 2012-09-03
Posts: 62,236

Re: Error starting Hyprland: something wrong with libseat. [SOLVED]

Why's there a seatd socket?

systemctl status seatd

Online

#3 2023-11-13 22:18:26

falzo
Member
Registered: 2023-11-13
Posts: 5

Re: Error starting Hyprland: something wrong with libseat. [SOLVED]

That's what I obtain from systemctl:

● seatd.service - Seat management daemon
     Loaded: loaded (/usr/lib/systemd/system/seatd.service; enabled; preset: disabled)
     Active: active (running) since Mon 2023-11-13 22:00:18 UTC; 11min ago
       Docs: man:seatd(1)
   Main PID: 725 (seatd)
      Tasks: 1 (limit: 18805)
     Memory: 328.0K
        CPU: 2ms
     CGroup: /system.slice/seatd.service
             └─725 seatd -g seat

Nov 13 22:00:18 archlinux systemd[1]: Started Seat management daemon.
Nov 13 22:00:18 archlinux seatd[725]: 00:00:00.000 [INFO] [seatd/seat.c:39] Created VT-bound seat seat0
Nov 13 22:00:18 archlinux seatd[725]: 00:00:00.000 [INFO] [seatd/seatd.c:194] seatd started

Last edited by falzo (2023-11-13 23:42:52)

Offline

#4 2023-11-13 22:22:25

seth
Member
Registered: 2012-09-03
Posts: 62,236

Re: Error starting Hyprland: something wrong with libseat. [SOLVED]

Please use [code][/code] tags, not "quote" tags. Edit your post in this regard.

Why is it enabled? Are you deliberately seeking to use seatd instead of logind?

Online

#5 2023-11-13 23:59:13

falzo
Member
Registered: 2023-11-13
Posts: 5

Re: Error starting Hyprland: something wrong with libseat. [SOLVED]

I have obtained this error since the first time I launched Hyprland. So I tried to solve the problem enabling seatd that was disabled by default.
I am not interested in using seatd instead of logind, also because everything seems to work. I have this error and I don't know why.

Offline

#6 2023-11-14 00:05:30

seth
Member
Registered: 2012-09-03
Posts: 62,236

Re: Error starting Hyprland: something wrong with libseat. [SOLVED]

Disable seatd, reboot.
Is there really still

Could not connect to socket /run/seatd.sock: Permission denied

and is there a /run/seatd.sock ?
Hyprland might just traverse the supported session managers, but the error would not fit that.

Online

#7 2023-11-14 00:12:16

falzo
Member
Registered: 2023-11-13
Posts: 5

Re: Error starting Hyprland: something wrong with libseat. [SOLVED]

I tried to disable seatd and start it again. There is no error, but it try to use it in any case. That's what I obtain:

[libeseat] [libseat/backend7seatd.c:64] Could not connect to socket /run/seatd.sock: No such file or directory
[libeseat] [libseat/backend7seatd.c:76] Backend 'seatd' failed open seat, skipping
[libeseat] [libseat/backend7seatd.c:73] Seat opened with backend 'logind'   

Maybe it's not an issue, maybe it prefers seatd by default but it's not neeeded.

The file /run/seatd.sock does not exist, I checked.

Last edited by falzo (2023-11-14 00:16:25)

Offline

#8 2023-11-14 07:32:24

seth
Member
Registered: 2012-09-03
Posts: 62,236

Re: Error starting Hyprland: something wrong with libseat. [SOLVED]

It's not supposed to.

Try to "export LIBSEAT_BACKEND=logind" to nudge hyprland into that direction.

Online

#9 2023-11-14 09:32:08

falzo
Member
Registered: 2023-11-13
Posts: 5

Re: Error starting Hyprland: something wrong with libseat. [SOLVED]

It worked.

I added the export to /etc/environment and there is no more errors.

Thanks smile

Offline

#10 2023-11-14 13:27:03

seth
Member
Registered: 2012-09-03
Posts: 62,236

Re: Error starting Hyprland: something wrong with libseat. [SOLVED]

\o/
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Online

#11 2025-02-19 12:56:05

KurtWong
Member
Registered: 2025-02-19
Posts: 1

Re: Error starting Hyprland: something wrong with libseat. [SOLVED]

You can try adding the user to the "seat" user group.

Offline

Board footer

Powered by FluxBB