~kennylevinsen/greetd-devel

1

Re: Setting tty owner

Details
Message ID
<b6af9bb8-834d-441b-92f0-b77bb01f6053@kl.wtf>
DKIM signature
missing
Download raw message
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?

Re: Setting tty owner

Sebastian Parborg <darkdefende@gmail.com>
Details
Message ID
<ZXyyVwiL0yA6j7cW@CyberPower>
In-Reply-To
<b6af9bb8-834d-441b-92f0-b77bb01f6053@kl.wtf> (view parent)
DKIM signature
missing
Download raw message
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.
Reply to thread Export thread (mbox)