From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Limpach Subject: Re: [PATCH] xen-2.0: privileged port connections Date: Wed, 23 Mar 2005 21:37:49 +0000 Message-ID: <3d8eece20503231337ca722de@mail.gmail.com> References: <4241C314.4030902@us.ibm.com> Reply-To: Christian.Limpach@cl.cam.ac.uk Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit In-Reply-To: <4241C314.4030902@us.ibm.com> Sender: xen-devel-admin@lists.sourceforge.net Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Anthony Liguori Cc: Ian Pratt , Kurt Garloff , xen-devel , ian.pratt@cl.cam.ac.uk List-Id: xen-devel@lists.xenproject.org On Wed, 23 Mar 2005 13:27:16 -0600, Anthony Liguori wrote: > Perhaps we could export the console via a pty and then create a screen > session by executing the equivalent of "screen vm-console domid". > > Clients can then connect to it by executing screen -x (instead of > connecting directly to the pty) and our client could translate C-] to > C-a C-d to detach from the screen. Any reconnects will perserve the > screen of the previous session. Yes, I think this is what we want. Although I thought we could probably change screen's keyboard mapping such that C-] is the escape character and at the same time finally get support for sending C-] to the domain -- I keep getting stuck in nested xencons clients... You can have screen -x as a login shell or run it from command= in a .ssh/authorized_keys file. > This way, we can still have minimalistic toolchains that provide serial > style consoles. I think it should be an option in the domain configuration file whether the domain creating tool should also setup a screen session backing the console. I think this needs to be somehow linked to the domain creation tool because otherwise you won't capture the entire output. If we support multiple consoles for a single domain, it would also be nice to have them all connected to the same screen session, allowing you to switch between the consoles using C-] 1, C-] 2, ... christian ------------------------------------------------------- This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005 Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows Embedded(r) & Windows Mobile(tm) platforms, applications & content. Register by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click