On 2023-09-16 06.21, William wrote:
> Hi,> Id like to reraise the idea of handing ownship of the tty to the user on > login, my use case for this is rootless X which i cannot get working > without calling chown.
Can you try the `chown` branch?
Hello!
I also had issues getting rootless Xorg to work with the git version of
greetd. However it worked in version 0.9.0 so bisected it down to:
https://git.sr.ht/~kennylevinsen/greetd/commit/68fff8d3d2763b2a6ea06cd41aa4c7b6cbc7cbfa
From what I can tell, at least my "startx" xorg scripts depend on
"XDG_VTNR" being set. Otherwise it doesn't know which VT to start the
Xorg session on.
Wayland works however.
I did a change myself that seems to fix it at least on my system:
https://github.com/DarkDefender/greetd/commit/69361116dc97955680c383e0aa55f1f4eceb4451
I tried the chown patch and it did not make and difference for me.
I'm guessing that at least on my computer, the chowning of the tty is
done somewhere else as it is set to the correct user even without that
branch.