New comment by sardior on void-packages repository https://github.com/void-linux/void-packages/issues/26430#issuecomment-728919995 Comment: Tried it just to be sure and it didn't work. In my understanding by the time I login all system services should be running so the tty condition would have worked. Also tried a condition to wait untill the x server is started as I use i3 and xinit is triggered post login and it might be some basic gui dependency but no luck. Here is my run script so far: ``` #!/bin/sh sv check dbus >/dev/null || exit 1 # Added conditions START [[ ! xset q >/dev/null ]] || exit 1 sv check udevd >/dev/null || exit 1 [[ ! -z $(w | awk '/tty[0-9]+/ {print $1}') ]] && exit 1 # Added conditions END exec ratbagd ```