Il 30/07/2017 04:13, Andrei Borzenkov ha scritto:
I'm trying to play with Wayland. The issues so far
1. I originally had XFCE pattern when installing TW. I installed gnome-wayland-session pattern which pulled in some dependencies including gdm. But gdm simply does not work - whatever session I select it fails to login as any user. I presume this is the old "patterns are not self contained" issue (I never managed to recreate anything proposed by installer post-installation, which is why I was rather sad seeing these choices removed from installation dialogue).
2. In lightdm I see two GNOME sessions and one "GNOME Xorg" session. Whatever session I select I apparently end up in GNOME on Xorg (at least if I can believe loginctl session type). How can I start GNOME Wayland session from display manager? What gnome-session-wayland is supposed to do - desktop file it installs is not in any way different from "normal" desktop?
3. I can select Weston in lightdm and it actually works - it starts weston (and loginctl confirms that session type is wayland), so wayland itself sort of works - but keyboard is unusable. It seems to miss key presses/releases, so first no character is entered, when I press the same character once more it often starts auto-repeat filling screen with the same character over and over.
The missing key issue is present here when Cinnamon ScreenSaver blocks the screen after long time of inactivity, if I try to input my password it looses at least one key so I'm unable to login. In addition by clicking on the login as another user icon is not working here. I dunno if the problems are related but when I read "miss key presses" I thought worth to post my recent experience also if I'm using Cinnamon as default DE.
4. I can start GNOME wayland from tty using
XDG_SESSION_TYPE=wayland exec dbus-run-session gnome-session
but session type remains tty and I have exactly the same issue with keyboard (now in gnome-terminal instead of weston-terminal).
Any ideas?
Cheers, -- Marco Calistri