[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    Re: why does -sharevts is so important for multseat setup?
From:       "StompDagger1 () yahoo ! com" <stompdagger1 () yahoo ! com>
Date:       2012-08-21 19:19:37
Message-ID: 1345576777.93525.YahooMailNeo () web161304 ! mail ! bf1 ! yahoo ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Thanks  for the ansewr. why  won't X select different /dev/ttyXX   An wise \
Scandinavian old man once said: "in the end, everything is going to be alright"


________________________________
 From: Aivils Å toss <aivils@latnet.lv>
To: "StompDagger1@yahoo.com" <stompdagger1@yahoo.com> 
Cc: "xorg@lists.x.org" <xorg@lists.x.org> 
Sent: Tuesday, August 21, 2012 8:44 PM
Subject: Re: why does -sharevts is so important for multseat setup?
 
Citējot "StompDagger1@yahoo.com" <stompdagger1@yahoo.com>:

> Hello,
> 
> 
> I have a multiseat setup and where I'm experiencing lose of keystrokes in the \
> second seat. I'm using hotpluged (via udev) feature, what   I do noticed that if I \
> press CRTL+ALT+F1on seat 2, seat1 goes to cli. for now I'm putting udev aside on \
> this matter and try to concentrate on X part, while searching the web I've found a \
> article that mentions that such issue can happen due to the -sharevts. 
> I wanted to know, why multiseat setup needs to share vts? why if I take out this \
> feature, one of the seats doesn't lights up? 

Normally kernel sends key press events to applications via /dev/ttyXX device files. \
Each Xorg open single /dev/ttyXX file and receive keyboard events. /dev/ttyXX was \
designed to support single active application like Xorg. When one X became active \
then another suspended. So single end-user can easy switch between multiple X \
instances. Multiseat have another mission. That is a reason of -sharevts. Active X \
does not try to suspend another X via /dev/ttyXX. In reality /dev/ttyXX stay unused \
under multiseat, because every X receive events from keyboards via /dev/input/eventXX \
device files.

As alternative You can hack the Linux kernel with faketty (outdated) module.

Aivils Stoss


_______________________________________________
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: stompdagger1@yahoo.com


[Attachment #5 (text/html)]

<div style="font-family:arial, helvetica, \
sans-serif;font-size:8pt">Thanks&nbsp;&nbsp;for the ansewr. why&nbsp;&nbsp;won&#39;t \
X select different /dev/ttyXX </div><div>&nbsp;</div>An wise Scandinavian old man \
once said: &quot;in the end, everything is going to be alright&quot;<br>  <div \
style="font-family: arial, helvetica, sans-serif; font-size: 8pt;"> <div \
style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div  \
dir="ltr" > <font size="2" face="Arial"> <hr size="1">  <b><span \
style="font-weight:bold;">From:</span></b> Aivils Å toss &lt;aivils@latnet.lv&gt;<br> \
<b><span style="font-weight: bold;">To:</span></b> &quot;StompDagger1@yahoo.com&quot; \
&lt;stompdagger1@yahoo.com&gt; <br><b><span style="font-weight: bold;">Cc:</span></b> \
&quot;xorg@lists.x.org&quot; &lt;xorg@lists.x.org&gt; <br> <b><span \
style="font-weight: bold;">Sent:</span></b> Tuesday, August 21, 2012 8:44 PM<br> \
<b><span style="font-weight:  bold;">Subject:</span></b> Re: why does -sharevts is so \
important for multseat setup?<br> </font> </div> <br>Citējot "<a \
ymailto="mailto:StompDagger1@yahoo.com" \
href="mailto:StompDagger1@yahoo.com">StompDagger1@yahoo.com</a>" &lt;<a \
ymailto="mailto:stompdagger1@yahoo.com" \
href="mailto:stompdagger1@yahoo.com">stompdagger1@yahoo.com</a>&gt;:<BR><BR>&gt; \
Hello,<BR>&gt; <BR>&gt; <BR>&gt; I have a multiseat setup and where I'm experiencing \
lose of keystrokes in the second seat.<BR>&gt; I'm using hotpluged (via udev) \
feature, what   I do noticed that if I press CRTL+ALT+F1on seat 2, seat1 goes to \
cli.<BR>&gt; for now I'm putting udev aside on this matter and try to concentrate on \
X part, while searching the web I've found a article that mentions that such issue \
can happen due to the -sharevts.<BR>&gt; <BR>&gt; I wanted to know, why multiseat \
setup needs to share vts? why if I take out this feature, one of the seats doesn't \
lights up?<BR>&gt; <BR><BR>Normally  kernel sends key press events to applications \
via /dev/ttyXX device files. Each Xorg open single /dev/ttyXX file and receive \
keyboard events. /dev/ttyXX was designed to support single active application like \
Xorg. When one X became active then another suspended. So single end-user can easy \
switch between multiple X instances. Multiseat have another mission. That is a reason \
of -sharevts. Active X does not try to suspend another X via /dev/ttyXX. In reality \
/dev/ttyXX stay unused under multiseat, because every X receive events from keyboards \
via /dev/input/eventXX device files.<BR><BR>As alternative You can hack the Linux \
kernel with faketty (outdated) module.<BR><BR>Aivils \
Stoss<BR><BR><BR>_______________________________________________<BR><a \
ymailto="mailto:xorg@lists.x.org" \
href="mailto:xorg@lists.x.org">xorg@lists.x.org</a>: X.Org support<BR>Archives: <a \
href="http://lists.freedesktop.org/archives/xorg" target=_blank  \
>http://lists.freedesktop.org/archives/xorg</a><BR>Info: <a \
> href="http://lists.x.org/mailman/listinfo/xorg" target=_blank \
> >http://lists.x.org/mailman/listinfo/xorg</a><BR>Your subscription address: <a \
> > ymailto="mailto:stompdagger1@yahoo.com" \
> > href="mailto:stompdagger1@yahoo.com">stompdagger1@yahoo.com</a><br><br> </div> \
> > </div>  



_______________________________________________
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: freedesktop-xorg@progressive-comp.com

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic