Re: [PATCH xinit] startx: Pass -keeptty when telling the server to start on the current tty

2015-01-22 Thread Peter Hutterer
On Tue, Jan 20, 2015 at 04:28:40PM +0100, Hans de Goede wrote: Detaching from the tty causes systemd-logind to refuse service to the xserver, the xserver already tries to detect that it is being asked to run on the current tty and then automatically enables -keeptty, but this code fails if all

[PATCH xinit] startx: Pass -keeptty when telling the server to start on the current tty

2015-01-20 Thread Hans de Goede
Detaching from the tty causes systemd-logind to refuse service to the xserver, the xserver already tries to detect that it is being asked to run on the current tty and then automatically enables -keeptty, but this code fails if all of stdin, stdout and stderr are redirected to a file. So