9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Martin C. Atkins" <martin_ml@parvat.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: Re: [9fans] First-timer help
Date: Tue, 19 Jul 2005 11:31:53 +0530	[thread overview]
Message-ID: <20050719113153.6a05a689@localhost.localdomain> (raw)
In-Reply-To: <51b0ef71c372ee08703b4bd20017417c@proxima.alt.za>

On Mon, 18 Jul 2005 12:45:32 +0200 lucio@proxima.alt.za wrote:
> > Nevertheless, I must add that this is one reason why I haven't
> > installed Plan9 on my systems at home - there are more people than
> > computers here, and I can't lose all my context (of active windows,
> > etc), when my wife needs to check her email, or my daughter wants to
> > paint a picture....
> 
> I was thinking, when Russ suggested that the infrastructure for
> changing ID without rebooting was a possibility, that we'd lose the
> extreme reliability of the current approach.  That need not be true,
> either, as the reboot option is unlikely to go away.

The other approach, that might "just happen" without specific
development effort in Plan 9, is that if/when Xen provides graphical
screens for virtual machines, then it should be possible to run a
cpu/file server, and a terminal for each user, each on their own
virtual screen, switching between them somewhat like virtual
consoles. (Of course, in principle, I could do that today with
Vmware, if I had enough memory, etc.)

[Of course, this would mean that everything would have to be running
on top of Linux/whatever...]

> That said, a stand-alone Plan 9 device seems to need better
> specification, I'm sure a CPU server is perfectly capable of sharing
> its console to different users at different times.  But different
> logins on different windows (as Martin seems to suggest) would be more
> complicated.  I guess somebody ought to give the idea some careful
> thought and suggest an implementation.  Specially where we actually
> want the stand-alone device to be more of a workstation than a CPU
> server, yet we need local authentication and device management.

Agreed.

Allowing some form of su (as was suggested elsewhere) is very useful,
but isn't really an answer to my problem. Also the
drawterm-on-top-of-a screensaver idea (while a nice bit of lateral
thinking!) also wouldn't be very satisfactory, because the reverse
problem then occurs: we lose the context in the drawterm when going
back to the underneath "original" session (and how would it nest
further?). 

Again (I'm sorry to say): Linux virtual consoles work very well,
since all the logins are "at the same level". One can also screenlock
a session, and let someone use another virtual console, reasonably
sure that they can't fiddle with your session. (assuming the other
security mechanisms are working 'correctly')

BTW: This problem is even more acute when travelling, and we only want
to carry one laptop as a family, and carry it around with all our
personal sessions suspended.

This is the counter example for Bill Gates' infamous "your computer
should be as personal as your underwear" gaff - unfortunately, this
seems to be the philosophy for Plan 9 terminals, currently. big :-)

[Although I should reiterate that I think the situation can be quite
different in other environments - such as offices and terminal
classrooms - where rebooting makes lots of sense.]

Moving to solutions, rather than problem statements: wouldn't the
"Plan 9 way" of dealing with this be to run a multiplexer process
pre-login, that multiplexes access to /dev/draw(etc) across several
virtual consoles, and puts a login process in each one? Could that be
done with the current mechanisms? I guess it would have worked with 8
1/2, but maybe it is more difficult with the rio approach (I don't
know)? I also don't know if this is consistent with the way /dev/user
(etc) work. Comments anyone?

Martin
-- 
Martin C. Atkins			martin_ml@parvat.com
Parvat Infotech Private Limited		http://www.parvat.com{/,/martin}


  parent reply	other threads:[~2005-07-19  6:01 UTC|newest]

Thread overview: 91+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-17 18:27 John Floren
2005-07-17 18:26 ` Gorka guardiola
2005-07-17 19:18   ` John Floren
2005-07-17 19:20     ` Russ Cox
2005-07-17 23:12       ` Charles Forsyth
2005-07-18  9:23         ` Martin C. Atkins
2005-07-18 10:45           ` lucio
2005-07-18 18:24             ` Jack Johnson
2005-07-19  6:01             ` Martin C. Atkins [this message]
2005-07-19 13:29               ` Axel Belinfante
2005-07-19 13:57               ` Ronald G. Minnich
2005-07-19 16:11                 ` Martin C. Atkins
2005-07-19 15:38               ` Charles Forsyth
2005-07-19 16:12                 ` Skip Tavakkolian
2005-07-19 16:39                 ` Martin C. Atkins
2005-07-21  2:30                 ` Tim Newsham
2005-07-20  1:43               ` Brian L. Stuart
2005-07-18 13:08           ` Steve Simon
2005-07-21  2:17             ` Tim Newsham
2005-07-21  4:34               ` arisawa
2005-07-21  2:11         ` Tim Newsham
2005-07-21  2:57           ` Ronald G. Minnich
2005-07-22  9:44             ` Richard Miller
2005-07-22  9:49               ` Charles Forsyth
2005-07-22 15:09                 ` Gorka guardiola
2005-07-22 14:14               ` Wes Kussmaul
2005-07-22 15:36               ` David Leimbach
2005-07-22 18:13                 ` jmk
2005-07-23  3:30                 ` LiteStar numnums
2005-07-23 16:19                   ` Ronald G. Minnich
2005-07-21 16:12           ` Dave Eckhardt
2005-07-21 16:23             ` Russ Cox
2005-07-21 17:33             ` Wes Kussmaul
2005-07-21 18:13             ` Tim Newsham
2005-07-22  6:16               ` Dave Eckhardt
2005-07-22  6:20                 ` Charles Forsyth
2005-07-21 23:00             ` Ronald G. Minnich
2005-07-22  1:28               ` David Leimbach
2005-07-22  1:48               ` Russ Cox
2005-07-22  3:54                 ` Ronald G. Minnich
2005-07-22  5:57                   ` lucio
2005-07-17 19:20     ` andrey mirtchovski
2005-07-17 19:47       ` John Floren
2005-07-17 19:44         ` andrey mirtchovski
2005-07-17 20:17           ` John Floren
2005-07-17 20:20             ` andrey mirtchovski
2005-07-17 20:58               ` Russ Cox
2005-07-17 19:45         ` Christopher Nielsen
2005-07-17 23:17         ` Charles Forsyth
2005-07-18  0:33           ` Dave Lukes
2005-07-18  7:31             ` lucio
2005-07-18 15:24             ` Jack Johnson
2005-07-18 15:33               ` David Leimbach
2005-07-18 13:51         ` Ronald G. Minnich
2005-07-18 15:54           ` arisawa
2005-07-18 16:46             ` Jack Johnson
2005-07-17 19:29     ` Tim Wiess
2005-07-19  0:33     ` arisawa
2005-07-19  1:04       ` arisawa
2005-07-17 18:26 ` andrey mirtchovski
2005-07-17 18:30   ` andrey mirtchovski
2005-07-17 22:13 ` [9fans] " Dave Eckhardt
2005-07-18 20:42 [9fans] " Ben Huntsman
2005-07-19 15:48 Ben Huntsman
2005-07-19 16:01 ` Ronald G. Minnich
2005-07-19 16:07   ` Jack Johnson
2005-07-19 16:10   ` Russ Cox
2005-07-19 16:23     ` Ronald G. Minnich
2005-07-19 16:46       ` Martin C. Atkins
2005-07-19 16:40     ` Bakul Shah
2005-07-19 16:51     ` andrey mirtchovski
2005-07-19 17:14     ` Devon H. O'Dell
2005-07-19 20:08       ` David Leimbach
2005-07-19 20:29         ` Devon H. O'Dell
2005-07-20  6:39     ` William K. Josephson
2005-07-19 20:05   ` David Leimbach
2005-07-20  4:40     ` Ronald G. Minnich
2005-07-20  5:02       ` andrey mirtchovski
2005-07-20  8:46       ` Charles Forsyth
2005-07-20 13:44         ` David Leimbach
2005-07-20  0:57   ` Brian L. Stuart
2005-07-20  4:47     ` Ronald G. Minnich
2005-07-21  2:33       ` Brian L. Stuart
2005-07-21  3:02         ` Ronald G. Minnich
2005-07-21  3:46           ` Brian L. Stuart
2005-07-21  2:32 ` Tim Newsham
2005-07-19 16:33 Ben Huntsman
2005-07-20  4:09 ` Ronald G. Minnich
2005-07-20 16:38 Dave Eckhardt
2005-07-21 23:25 Francisco J. Ballesteros
2005-07-21 23:36 ` Devon H. O'Dell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050719113153.6a05a689@localhost.localdomain \
    --to=martin_ml@parvat.com \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).