<div dir="ltr"><div><div>I'm contributing with some DM projects (LightDM, SDDM) in order to provide full systemd-logind multi-seat support. IMHO the most challenging part is monitoring seat's property CanGraphical an reacting properly when this property changes.<br><br></div>If I understand systemd-logind code correctly, a seat will only have CanGraphical=yes if it has a master device (which used to be the graphics device if it uses KMS drivers), right? If so, than this property is only relevant for seat0, because other seats doesn't exist at all if they don't have a master device, right?<br><br></div><div>Since system release 198, we can tag any suitable device as a seat master device, so shouldn't it be more clear if this property was renamed to e.g. HasMasterDevice? Or introduce another check to ensure a seat can really handle a graphical display?<br><br></div><div>I imagine this property was introduced for the case where system boots so fast that a given DM service is started before seat0 master (graphics) device is ready. However, if seat0 graphics device doesn't have KMS drivers (e.g. a VirtualBox guest without Guest Additions installed), then seat0 will never get CanGraphical=yes. That said, how do you suggest this to be handled by DM? It seems GDM currently doesn't support it, and LightDM was forced to make this support optional and disabled by default (after some VirtualBox guests without Guest Additions failed to boot to graphical display). SDDM implementation is currently in progress, and there may be some discussion whether CanGraphical monitoring should be supported or not.<br></div><div><div><div><div><div><br></div><div>The last (but not least): is this property really needed? I mean, do you have any use case where a DM was started before main graphics device is ready?<br></div><div>-- <br><div class="gmail_signature"><div dir="ltr"><div><b>Laércio de Sousa</b><br></div><div style="text-align:center"><div style="text-align:left"><i>Orientador de Informática</i></div><div style="text-align:left"><u>Escola Municipal "Professor Eulálio Gruppi"</u></div><div style="text-align:left"><i>Rua Ismael da Silva Mello, 559, Mogi Moderno</i></div><i><div style="text-align:left"><i>Mogi das Cruzes - SP</i></div><div style="text-align:left"><i>CEP 08717-390</i></div></i></div><div><span style="font-family:arial;font-size:small">Telefone: (11) 4726-8313</span></div></div></div>
</div></div></div></div></div></div>