[pkg-fso-maint] Bug#504842: nodm: default X11 console should be vt7

Enrico Zini enrico at enricozini.org
Thu Jul 23 14:18:02 UTC 2009


On Mon, Jul 06, 2009 at 11:06:39AM +0200, Enrico Zini wrote:

> The relevant gdm code seems to be in daemon/getvt.c, functions
> get_free_vt_sys and get_free_vt_consio, wrapped by
> gdm_get_empty_vt_argument. The difference between the two
> implementations depends on the operating system:
[...]

I will probably cross-reference that code with openvt from console-tools
and start with only one version of code. If other platforms need to be
supported for which the existing code won't be enough, we'll see about
it.

> I could open the vt in the parent process then close it in the session
> process; since the session process is called by xinit, to do so I need
> to leave the fd open for the child process and pass its number to the
> session process in an env var. That is doable.

This is actually not needed, I realised. I can just do the vt allocation
in the supervisor process, and keep the vt open until the supervisor
ends.


Ciao,

Enrico

-- 
GPG key: 4096R/E7AD5568 2009-05-08 Enrico Zini <enrico at enricozini.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 489 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-fso-maint/attachments/20090723/e6661ee7/attachment.pgp>


More information about the pkg-fso-maint mailing list