Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update session-management.md #673

Closed
wants to merge 1 commit into from
Closed

Update session-management.md #673

wants to merge 1 commit into from

Conversation

sincorchetes
Copy link

That avoids this issue:

disable-paste: cannot open mouse connection
00:00:00.006 [ERROR] [wlr] [libseat] [libseat/backend/logind.c:310] Could not activate session: Permission denied
00:00:00.006 [ERROR] [wlr] [libseat] [libseat/libseat.c:79] No backend was able to open a seat
00:00:00.006 [ERROR] [wlr] [backend/session/session.c:84] Unable to create seat: Function not implemented
00:00:00.006 [ERROR] [wlr] [backend/session/session.c:249] Failed to load session backend
00:00:00.006 [ERROR] [wlr] [backend/backend.c:86] Failed to start a session
00:00:00.006 [ERROR] [wlr] [backend/backend.c:352] Failed to start a DRM session
00:00:00.007 [ERROR] [sway/server.c:56] Unable to create backend

SRC: https://www.reddit.com/r/voidlinux/comments/mor7n5/getting_libseat_errors_when_starting_sway/

Before submitting a pull request, please read CONTRIBUTING; pull requests that do not meet the criteria described there will not be merged. Note that this repository's CONTRIBUTING contains information specific to this repository, and is not the same as CONTRIBUTING for the void-packages repository.

We prioritise pull requests involving information specific to Void over those involving information applicable to Linux in general.

That avoids this issue:
```
disable-paste: cannot open mouse connection
00:00:00.006 [ERROR] [wlr] [libseat] [libseat/backend/logind.c:310] Could not activate session: Permission denied
00:00:00.006 [ERROR] [wlr] [libseat] [libseat/libseat.c:79] No backend was able to open a seat
00:00:00.006 [ERROR] [wlr] [backend/session/session.c:84] Unable to create seat: Function not implemented
00:00:00.006 [ERROR] [wlr] [backend/session/session.c:249] Failed to load session backend
00:00:00.006 [ERROR] [wlr] [backend/backend.c:86] Failed to start a session
00:00:00.006 [ERROR] [wlr] [backend/backend.c:352] Failed to start a DRM session
00:00:00.007 [ERROR] [sway/server.c:56] Unable to create backend
```

SRC: https://www.reddit.com/r/voidlinux/comments/mor7n5/getting_libseat_errors_when_starting_sway/
@Duncaen
Copy link
Member

Duncaen commented Apr 29, 2022

This is just one option, for one wayland compositer, not sure if the general documentation is a good place for that.

@sincorchetes
Copy link
Author

sincorchetes commented Apr 30, 2022

This is just one option, for one wayland compositer, not sure if the general documentation is a good place for that.

But, where then? I know some years ago this project had a wiki. Maybe write a new subsection for sway?

- `polkitd-elogind`
- `dbus-elogind-libs`
- `dbus-elogind-x11`
- `dbus-elogind`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All of this is already mentioned in https://docs.voidlinux.org/config/session-management.html?highlight=elogind#elogind (save for the polkit part, see #694). Also, you can run Sway with seatd just fine, as @Duncaen states.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also, the dbus-elogind-* packages are probably not necessary, regular dbus should be fine

@classabbyamp
Copy link
Member

unless this is changed to be more generalised, this would better fit as a README.voidlinux in the sway package

@sincorchetes sincorchetes closed this by deleting the head repository Feb 24, 2023
@dkwo
Copy link

dkwo commented Oct 9, 2024

I think what is true is that wlroots-based compositors, when using elogind, also require polkit (our elogind is built with polkit enabled, but polkit is not installed as a dependency), otherwise you get the error above (e.g. it happened to me with river). Of course seatd works fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants