Re: s6 xinit replacement?

2022-05-28 Thread Samuel Holland
On 5/28/22 12:15 PM, Dallin Dahl wrote: > It turns out I had the same issue as Rio, since my login shell was still > controlling my terminal. If I run: > > exec s6-setsid X :3 vt3 > > while logged into tty3, I get an X display. However, I still can't > seem to get it to work with s6-svscan.

Re: s6 xinit replacement?

2022-05-28 Thread Dallin Dahl
It turns out I had the same issue as Rio, since my login shell was still controlling my terminal. If I run: exec s6-setsid X :3 vt3 while logged into tty3, I get an X display. However, I still can't seem to get it to work with s6-svscan. If I exec into s6-svscan from my login shell, svscan

Re: Unprivileged Shutdown?

2022-05-28 Thread Laurent Bercot
I have been using simple privilege escalation to poweroff the machine, but looking through the source code for s6-linux-init-shutdownd and friends, it appears the only constraint on interacting with the daemon is the permissions on run-image/service/s6-linux-init-shutdownd/fifo. The default