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@lists.xensource.com http://lists.xensource.com/xen-users
On Fri, Nov 14, 2008 at 3:05 AM, Guillaume <guillaume.chardin@gmail.com>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@lists.xensource.com > 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@lists.xensource.com http://lists.xensource.com/xen-users
2008/11/14 Paras pradhan <pradhanparas@gmail.com>:> This is what I did: > > In guest:When you speak about guest, is it the physical computer whith os acting as hypervisor or "The Virtual Machine Running" ? Because grub is not used in "Virtual Machine", but maybe i''m wrong. So i think you talk about the os w/ hypervisor. right ?> * Edit menu.lst file and append console=ttyS0 console=tty0I have to write this complete line ? --> console=ttyS0 console=tty0 or --> # xenkopt=console=tty0 What does it mean ? I do not find anything about "console" option in man menu.lst. Why i have to write this twice, whith different "tty"> * In /etc/inittab add: > > "co:2345:respawn:/sbin/agetty ttyS0 9600 vt100-nav"If i understant well, you attach a virtual console to ttyS0 (serial line of the physical machine) . How to access this console ?> In host: > > * In xen config file make sure you have serial="pty"What does it mean too, I did not find anything about this in : xm and xmdomain.cfg manual.> > Paras.Thanks for your reply. -- Guillaume _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
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@gmail.com>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@lists.xensource.com >> 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@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Fri, Nov 14, 2008 at 10:11 AM, Guillaume <guillaume.chardin@gmail.com>wrote:> 2008/11/14 Paras pradhan <pradhanparas@gmail.com>: > > This is what I did: > > > > In guest: > When you speak about guest, is it the physical computer whith os > acting as hypervisor or "The Virtual Machine Running" ? >Guest --> domU> Because grub is not used in "Virtual Machine", but maybe i''m wrong. So > i think you talk about the os w/ hypervisor. right ?pygrub is used same way as grub do.> > > > * Edit menu.lst file and append console=ttyS0 console=tty0 > I have to write this complete line ? > --> console=ttyS0 console=tty0 > or > --> # xenkopt=console=tty0 > > What does it mean ? I do not find anything about "console" option in > man menu.lst. Why i have to write this twice, whith different "tty"Make your kernel line look like as: kernel /vmlinuz-2.4.7-10 ro root=/dev/hda2 console=ttyS0 console=tty0> > > > * In /etc/inittab add: > > > > "co:2345:respawn:/sbin/agetty ttyS0 9600 vt100-nav" > If i understant well, you attach a virtual console to ttyS0 (serial > line of the physical machine) . How to access this console ?Mount the domU image file, edit it or access the guest using virtual-manager GUI . If you are using CentOS 5 virt-manager comes by default.> > > > In host: > > > > * In xen config file make sure you have serial="pty" > What does it mean too, I did not find anything about this in : xm and > xmdomain.cfg manual. >it is the config file for you domU typically found at /etx/xen> > > > Paras. > > Thanks for your reply. > > > -- > GuillaumeHope it helps Paras. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Forgot to mention, though that I never installed X on dom0, the VNC server is part of Xen and I connected to it remotely from a workstation. So the dom0 was still a minimal server build.. Jason Rexilius wrote:> 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@gmail.com>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@lists.xensource.com >>> 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@lists.xensource.com >> http://lists.xensource.com/xen-users > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Fri, 2008-11-14 at 10:05 +0100, Guillaume 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.Short answer - No. But you do not need to install X on Dom0 to use the built in Xen vnc server to connect to DomU consoles remotely.> > 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'' > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
2008/11/14 Mike Brady <mike.brady@devnull.net.nz>:> > On Fri, 2008-11-14 at 10:05 +0100, Guillaume 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. > Short answer - No. But you do not need to install X on Dom0 to use the > built in Xen vnc server to connect to DomU consoles remotely.Thanks, But my idea is first to implement xen on server, so, accessing remotely is not really a problem for installation & maintenance. But in a second time i would like to replace some user''s computer they have two computer, one windows,one linux fedora, with screen switcher. Idea was to merge the both in one computer with xen but if they cannot access their own 2 console its useless for this usage. Maybe xen is not the right product. Thanks a lot. -- Guillaume _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi; I am not very experienced in xen but I think the first thing xen creates is Domain-0 (by default) But you still have to create xen virtual machines Under that Domain-0, I have never been able to log into the domain-0 itself but the machines under it. I mean when you run xend the dom-0 comes up but it is just a name not a real machine.(I think)? You have to create a config file under /etc/xen (or where ever you have the xen config files) and then do an xm create (+ the name of the xen guest machine mentioned in the config file). I posted a sample of this config. file yesterday, but mine has problems (although it comes up). Basically it points to the boot files under /boot directory, sets the machines name and amount of memory,, cpu''s and other things, so you can set how small or big you want to have your machine made.etc.. Also you have to do ctrl alt 5 to get out of the xen machine (took me a while to figure it out since no one ever mentions the dumb thing)!? Guillaume-3 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@lists.xensource.com > http://lists.xensource.com/xen-users > >-- View this message in context: http://www.nabble.com/Connect-to-Xen-console-tp20496996p20497651.html Sent from the Xen - User mailing list archive at Nabble.com. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi guys, I''m getting closer to get a swing of things in Xen. Promising indeed! :) Now there''s only one problem left to solve. It was actually this one that kept me grounded on my first attempts with Xen. So... I can''t get the virtual CD drive to work with an ISO image. Everything runs fine if I use an RL physical CD drive though. This physical one works: disk = [ ''tap:aio:/home/xen/dom/win6/xenwin.img,ioemu:hda,w'', ''phy:/dev/cdrom,hdc:cdrom,r'' ] But this virtual one doesn''t: disk = [ ''tap:aio:/home/xen/dom/win6/xenwin.img,ioemu:hda,w'', ''tap:aio:/home/xen/iso/win2k3-32/image.iso,hdc:cdrom,r'' ] The ISO image is checked, working burning out an RL disk with Nero. So what can be wrong? /Peter _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Apparently Analagous Threads
- Error starting stubdom HVM on Xen-3.4.3-rc4-pre
- Error starting stubdom HVM on Xen-3.4.3-rc4-pre
- booting an ISO inside Xen (full virt)
- Gentoo+Xen4.0: Error: coercing to Unicode: need string or buffer, NoneType found.
- Error: Device 768 (vbd) could not be connected. Path closed or removed during hotplug add: backend/vbd/9/768 state: 1