[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#612836: xserver-xorg: keyboard input is duplicated on virtual (text) terminal in dual seat configuration



Hi

I found solution for the problem.


In gdm.conf I have following lines:

8<------------------------------------------------->8
[server-Standard0]
name=Standard server
command=/usr/bin/X -novtswitch -sharevts -isolateDevice PCI:2:0:0 -layout seat0

[server-Standard1]
name=Standard server
command=/usr/bin/X -novtswitch -sharevts -isolateDevice PCI:3:0:0 -layout seat1
8<------------------------------------------------->8

With this configuration X servers were started both on second virtual terminal (vt2). Somehow input from keyboard was captured by X server and login at the same time.


Solution was to add option vt8 (I do not have virtual terminal there). Also I removed option -novtswitch (this is probably not needed). So my new gdm.conf now looks like this:

8<------------------------------------------------->8
[server-Standard0]
name=Standard server
command=/usr/bin/X -sharevts vt8 -isolateDevice PCI:2:0:0 -layout seat0

[server-Standard1]
name=Standard server
command=/usr/bin/X -sharevts vt8 -isolateDevice PCI:3:0:0 -layout seat1
8<------------------------------------------------->8

I do not get duplicated login with such config.

I do not think that such behavoiur is O.K. I would expect that X server completely intercepts all keypresses, so that there is no chance that some other invisible application on virtual terminal will do something stupid/dangerous. So, I do not think that this bug can be closed without any action.


I will check this in testing...
--
Best regards, Sergey Spiridonov


Reply to: