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

Re: [Xen-users] how to take over console from another user?

  • To: Alexandre Kouznetsov <alk@xxxxxxxxxx>
  • From: "Luke S. Crawford" <lsc@xxxxxxxxx>
  • Date: Fri, 22 Jun 2012 16:17:45 -0400
  • Cc: xen-users@xxxxxxxxxxxxx
  • Delivery-date: Fri, 22 Jun 2012 20:18:32 +0000
  • List-id: Xen user discussion <xen-users.lists.xen.org>

On Fri, Jun 22, 2012 at 10:43:31AM -0500, Alexandre Kouznetsov wrote:
> Let's say, i have a Dom0 with a running DomU called "whatever". I can 
> get more than one terminal on Dom0, let's say, connecting via SSH.
> I run "xm console whatever" on one terminal and get a console access. I 
> run the same command on another terminal, and get another console access.
> (BTW, that they both connect me to the same console, if i log in on one 
> of them, i appear to be logged in on the other one. The output is 
> slitted in a weired way. Not very usable.)
> If I wish to force me terminal to detach form any of them, I look for 
> xenconsole running process and kill it.
> Is that what are you talking about?

I bet.  For a long time, that worked, well, sortof.  there were always
problems when two people were on the same console.   

I noticed that with the latest RHEL5 (centos5) xen package, though,
they added some locking.  If you try to xm console to the same domain
twice, it won't let you.   Which I think is great, as it makes the whole 
console experience feel more reliable to the end user.

To answer the original question, I use kill on the xm console process
I want gone. 

Xen-users mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.