Package: xinit Version: 1.4.0-1 Severity: normal I'm working on test suites which are intended to operate within an ephemeral X11 server. Consider the following two commands (:34 is chosen randomly, and can be ignored):
xinit /bin/true -- /usr/bin/Xvfb :34 xinit /bin/false -- /usr/bin/Xvfb :34 Both of the above commands return 0 -- the return value of the command run is ignored. And it's not just xinit: the same is true for startx. I think startx and xinit should only return 0 if both the client and the server return 0. If the server starts and runs successfully, then the return code of xinit/startx should be the return code of the client. --dkg -- System Information: Debian Release: buster/sid APT prefers testing-debug APT policy: (500, 'testing-debug'), (500, 'testing'), (500, 'oldstable'), (200, 'unstable-debug'), (200, 'unstable'), (1, 'experimental-debug'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.16.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages xinit depends on: ii coreutils 8.28-1 ii libc6 2.27-3 ii libx11-6 2:1.6.5-1 ii x11-common 1:7.7+19 ii xauth 1:1.0.10-1 Versions of packages xinit recommends: ii awesome [x-window-manager] 4.2-5 ii fvwm [x-window-manager] 1:2.6.7-3+b1 ii gnome-terminal [x-terminal-emulator] 3.28.0-1 ii metacity [x-window-manager] 1:3.28.0-1 ii openbox [x-window-manager] 3.6.1-7 ii rxvt-unicode [x-terminal-emulator] 9.22-3 ii tightvncserver [xserver] 1:1.3.9-9 ii xserver-xorg [xserver] 1:7.7+19 ii xterm [x-terminal-emulator] 333-1 ii xvfb [xserver] 2:1.19.6-1 xinit suggests no packages. -- no debconf information