Skip to content

Draft: Initial implementation of command to swap wayland session#7

Open
vaslabs wants to merge 1 commit intomasterfrom
manage_autologin_session
Open

Draft: Initial implementation of command to swap wayland session#7
vaslabs wants to merge 1 commit intomasterfrom
manage_autologin_session

Conversation

@vaslabs
Copy link
Copy Markdown
Owner

@vaslabs vaslabs commented Dec 25, 2021

Some games run better on wayland and especially when remote playing. For instance Fifa 22 has flickering cinematics on Xorg.
Steam beta on Pipewire seemed to have solved a lot of issues, however it is broken again after some recent changes (from what I gather).
Although last time I had a full Xorg auto-login, it would be useful to have the wayland option while not at home. Even if things start working again, I need to take into consideration that an update may break it which will lock me outside of my system until I'm back home.

/etc/gdm/custom.conf needs to be edited to force wayland or Xorg on desktop auto-login. However, the following issues need to be solved:

  • Editing the file needs root access, while the Alexa process runs on desktop permissions, it might not have access to edit the file.

One way to solve this is to have another process running on elevated privileges for the sole purpose of switching from wayland to xorg. Might need to dig further if this would be possible with current service privileges.

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.

1 participant