Subject: Re: Hotkey support via powerd
To: Alan Barrett <apb@cequrux.com>
From: Steven M. Bellovin <smb@cs.columbia.edu>
List: tech-kern
Date: 12/22/2007 17:09:04
On Sat, 22 Dec 2007 21:52:16 +0200
Alan Barrett <apb@cequrux.com> wrote:
> On Sat, 22 Dec 2007, Steven M. Bellovin wrote:
> > Figuring out who's running X is certainly a necessary step.
>
> I think the right question is not "who's running X", but "who's
> responsible for the currently-active virtual console". I often have
> different users logged in on different virtual consoles in text mode.
> It's been some time since last I did so, but I have also had different
> users simultaneously running X on different virtual consoles, with or
> without xdm (or kdm or equivalent).
>
Plus things like gnome and kde user-switching. (Aside: I'm not sure if
those work at the moment on NetBSD. In the past, I've had success,
failure, and intermittent weirdness with kde on my wife's machine...)
--Steve Bellovin, http://www.cs.columbia.edu/~smb