Re: tty: add 'active' sysfs attribute to tty0 and console device

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: John Stoffel
Date: Wednesday, November 17, 2010 - 9:31 am

>>>>> "Lennart" == Lennart Poettering <mzxreary@0pointer.de> writes:

Lennart> When two users A and B are logged in, on tty1 resp. tty2,
Lennart> then as long as tty1 is active user A should get access to
Lennart> the sound card, usb key, .... As soon as we switch to tty2
Lennart> user B should.

Hmm, it's an interesting idea, and I run into this myself when my son
logs into my desktop as himself and wants to hear sound.

But I wonder how do you handle the case where there are multiple seats
(KVM+S) on one system?  Do you have a mapping table?  

John
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: tty: add 'active' sysfs attribute to tty0 and console ..., Lennart Poettering, (Tue Nov 16, 2:36 pm)
Re: tty: add 'active' sysfs attribute to tty0 and console ..., Lennart Poettering, (Tue Nov 16, 2:42 pm)
Re: tty: add 'active' sysfs attribute to tty0 and console ..., Lennart Poettering, (Tue Nov 16, 3:58 pm)
Re: tty: add 'active' sysfs attribute to tty0 and console ..., Lennart Poettering, (Tue Nov 16, 4:10 pm)
Re: tty: add 'active' sysfs attribute to tty0 and console ..., Lennart Poettering, (Tue Nov 16, 4:18 pm)
Re: tty: add 'active' sysfs attribute to tty0 and console ..., John Stoffel, (Wed Nov 17, 9:31 am)
Re: tty: add 'active' sysfs attribute to tty0 and console ..., Valdis.Kletnieks, (Wed Nov 17, 3:01 pm)
Re: tty: add 'active' sysfs attribute to tty0 and console ..., Lennart Poettering, (Wed Nov 17, 6:48 pm)
Re: tty: add 'active' sysfs attribute to tty0 and console ..., Lennart Poettering, (Wed Nov 17, 7:29 pm)
Re: tty: add 'active' sysfs attribute to tty0 and console ..., Dr. Werner Fink, (Fri Nov 19, 10:07 am)
Re: tty: add 'active' sysfs attribute to tty0 and console ..., Dr. Werner Fink, (Fri Nov 19, 11:41 am)