This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-users] Console type switch

To: Xen List <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Console type switch
From: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Date: Sun, 26 Apr 2009 11:30:11 +0700
Delivery-date: Sat, 25 Apr 2009 21:30:52 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <49F351BF.2080704@xxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <49F351BF.2080704@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Sun, Apr 26, 2009 at 1:09 AM, Roy <onion@xxxxxxxxxx> wrote:
> I have an Xen image that was built for a graphical console (VNC).  Is there
> any way to change it to the non-graphical console (xen console)?
> Roy

Is it PV or HVM guest?
For HVM guest, you need to enable serial port on domU config file
(example here: http://pastebin.com/fb6fe631), and setup domU to use
serial port (ttyS0 on Linux) by modifying (for Linux domU)
/boot/grub/menu.lst, /etc/inittab, and /etc/securetty.

If it's PV guest, you need to set up domU to use xen console (which is
xvc0 on current xen version, hvc0 on pv_ops kernel). It's similar to
setting up domU for serial console, you just need to change ttyS0 to
hvc0. An example of domU setup that can use both xvc0 and vnc console
is here : http://pastebin.com/f6a5022bf



Xen-users mailing list

<Prev in Thread] Current Thread [Next in Thread>