elementary / gala

Gala Window Manager for elementary OS and Pantheon
https://elementary.io
GNU General Public License v3.0
275 stars 77 forks source link

gnome-session-x11-services-ready.target isn't started on Wayland session #2113

Open bobby285271 opened 1 week ago

bobby285271 commented 1 week ago

What Happened?

For me this is started on GNOME Wayland but not Pantheon Wayland.

I think gala will the place to file this issue since in GNOME this is started by gnome-shell (see this MR ("data: Add an abstract gnome-shell.target") for starting the systemd target, and this MR ("Add side channel for services to startup on Xwayland session") for init-xserver signal).

This is a problem for me since I found org.gnome.SettingsDaemon.XSettings.service has:

Requisite=gnome-session-x11-services.target gnome-session-x11-services-ready.target
PartOf=gnome-session-x11-services.target gnome-session-x11-services-ready.target

Steps to Reproduce

  1. Login to Wayland session.
  2. Run pgrep -fa gsd-xsettings and see no results.
  3. Run systemctl status --user gnome-session-x11-services-ready.target and find it inactive.
  4. Run systemctl start --user gnome-session-x11-services-ready.target.
  5. Run pgrep -fa gsd-xsettings and see it running.

Or specifically for me, the problem is Xwayland apps doesn't scale on my HiDPI screen. I did all the testing on NixOS, let me know if you can't reproduce this on elementary OS so I will look into downstream packaging instead.

Expected Behavior

gsd-xsettings runs on Wayland session.

OS Version

Other Linux

Session Type

Secure Session (Wayland)

Software Version

Latest release (I have run all updates)

Log Output

No response

Hardware Info

No response

leolost2605 commented 1 day ago

Not sure at all and I don't know the inner workings but I just want to bring the idea that this might be the cause for #1967