Re: [PATCH v2 1/2] linux: Add linux_get_vtno and linux_get_keeptty helpers

2015-05-06 Thread Peter Hutterer
On Thu, Apr 30, 2015 at 02:24:28PM +0200, Hans de Goede wrote: systemd-logind integration does not work when starting X on a new tty, as that detaches X from the current session and after hat systemd-logind revokes all rights on any already open fds and refuses to open new fds for X. This

[PATCH v2 1/2] linux: Add linux_get_vtno and linux_get_keeptty helpers

2015-04-30 Thread Hans de Goede
systemd-logind integration does not work when starting X on a new tty, as that detaches X from the current session and after hat systemd-logind revokes all rights on any already open fds and refuses to open new fds for X. This means that currently e.g. startx -- vt7 breaks, and breaks badly,