mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
To allow X server to be started by shepherd, without resorting to login managers, the determine-vty procedure has to be adjusted. Shepherd would set /proc/self/fd/0 to /dev/null when starting the service, so the TTY has to be extracted by other means. * gnu/services/xorg.scm (xorg-start-command-xinit): Use XDG_VTNR environment variable to determine VTY. Closes: #52 Change-Id: I390217e292f6534b31d18083c9a49c009a836aad Signed-off-by: 宋文武 <iyzsong@member.fsf.org>