WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Connect to Xen console

To: Xen Users <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Connect to Xen console
From: Jason Rexilius <jason@xxxxxxxxxxxxxx>
Date: Fri, 14 Nov 2008 10:21:14 -0600
Delivery-date: Fri, 14 Nov 2008 08:22:03 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <8b711df40811140718i59242275h1fc4b5caa4256b88@xxxxxxxxxxxxxx>
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: <aa184bd0811140105q297ce0bex1e2a5f193210763@xxxxxxxxxxxxxx> <8b711df40811140718i59242275h1fc4b5caa4256b88@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.17 (X11/20080925)
I tried for days to get console working for HVM guests and never could.
I had to end up settling on VNC..



Paras pradhan wrote:
> On Fri, Nov 14, 2008 at 3:05 AM, Guillaume <guillaume.chardin@xxxxxxxxx>wrote:
> 
>> hi,
>>
>> I'm new on this list and i need help from experienced users to give
>> andswer for some questions.
>>
>> I sen up a dom0 (debian) and would like it to be very minimalist, just
>> xen tools, some gnu utils and other usefull utilities. This dom0 will
>> be used to virtualize many hvm OS like windows and some other *nix
>> paravirtualized. Till there are no problem to view/connect to console
>> of paravirt OSes, I have some problem  to view console of hvm guests.
>> I was able to connect only to these guest with vnc. If I use `xm
>> console <domID>`it's only diplay "connected to <domID> console" (or
>> something like that), but no "graphics".
>>
>> I don't know if it's possible, but is there a way to display the guest
>> console, directly on dom0 console by using `xm console <domID>`
>> WITHOUT installing X on dom0.
>>
>> Maybe problem come from my config file. I try some tricks with
>> sdl=0/1, stdvga=1 etc.... But nothing seem to works execpt using VNC.
>>
>>
>> Thanks for your help.
>>
>>
>> -----------------------
>> kernel = "/usr/lib/xen-3.0.3-1/boot/hvmloader"
>> builder='hvm'
>> memory = 128
>> shadow_memory = 8
>> name = "winXP"
>> vif = [ 'type=ioemu, bridge=xenbr1' ]
>> disk = [ 'phy:/dev/sda5,ioemu:hda,w', 'phy:/dev/cdrom,hdc:cdrom,r' ]
>> boot="dac"
>> #-GRAPHICS-
>> # enable SDL library for graphics, default = 0
>> sdl=1
>> # enable VNC library for graphics, default = 1
>> vnc=1
>> vnclisten="192.168.0.22"
>> #vncconsole=1
>> stdvga=0
>> serial='pty'
>>
>>
>>
>> --
>> Guillaume
>>
>> _______________________________________________
>> Xen-users mailing list
>> Xen-users@xxxxxxxxxxxxxxxxxxx
>> http://lists.xensource.com/xen-users
>>
> 
> 
> This is what I did:
> 
> 
> In guest:
> 
> * Edit menu.lst file and append console=ttyS0 console=tty0
> 
> * In /etc/inittab add:
> 
>     "co:2345:respawn:/sbin/agetty ttyS0 9600 vt100-nav"
> 
> In host:
> 
> * In xen config file make sure you have serial="pty"
> 
> 
> 
> Paras.
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users