<div dir="ltr"><p dir="ltr">On Sat, Jul 29, 2017, 07:40 nerdopolis <<a href="mailto:bluescreen_avenger@verizon.net" target="_blank">bluescreen_avenger@verizon.ne<wbr>t</a>> wrote:<br></p><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi<br>
<br>
I hope this is the right place to ask this. I have two questions about logind<br>
and seats.<br>
<br>
First, when I attach a 2nd graphics card to seat1, it seems CanMultisession is<br>
set to 0. Is there a way to change that? or is that only supported on seat0,<br>
that supports the TTYs?<br>
<br>
Second, with systemd-run, and maybe a custom '-p PAMName=somepamfile' (if that<br>
is required), is there a way to spawn a process on seat1 if it exits?<br>
For seat0 sessions, they for instance can be started by specifying<br>
<br>
<br>
-pTTYPath=/dev/ttyX -pStandardOutput=tty -pStandardError=tty -pStandardInput=tty<br>
<br>
<br>
to systemd-run, which I know only seat0 supports ttys...<br>
I try to do weston --seat=seat1 and it says that seat1 does not match the<br>
session-seat.<br>
Is there a way to start a process with under a specific session-seat?<br></blockquote><div><br></div><p dir="ltr">I haven't experimented much with multiseat, but here might be some things mixed up... tty support is not the same as virtual console support – it's possible to have the former without the latter.</p><p dir="ltr">AFAIK, only seat0 supports *virtual consoles*, which are currently used for session switching. (For other seats, the kernel doesn't provide a convenient mechanism, and I don't think a replacement method has been implemented yet...)</p><div>However, StandardInput doesn't need VC switching or anything, just a /dev/tty* device. Unfortunately I'm not sure if the kernel provides even that for other seats :(</div></div></div>