Hello:
I have an OpenSUSE 11.1 / Xen 3.3 based dom0. It's pretty stable and works
quite well in being able to host a variety of domU's from different
distributions,
including openSolaris 2009.06 (which is most the one important to me).
Reference the below "domU.cfg" file for my PV Solaris instance (as the end of
this
post, as I detail my two issue/questions here.
(1) When I perform an "xm create" on the below config file, Solaris (PV) boots
fine,
into a text mode console (cli). However what I want to know is, what changes to
the below domU.cfg file is/are necessary to, instead, automatically launch a
(non
IP based) GUI **CONSOLE** window when I issue the "xm create" command (...
similar
to, say, when I install a Fedora guest). I suspect that it may either be a
tweak to the
following domU.cfg line...
[b]extra = "/platform/i86xpv/kernel/unix -B
console=ttya,livemode=text"[/b]
and/or the addition of other lines that I may not be aware of as well.
(2) If (1) is not doable, then what steps do I take to manually start
"vncviewer"
**CONSOLE** - to initiate an install off the live CD gui. This preferable would
also
non IP console attachment (e.g. like TERM=sun), if possible... but if not, then
an
IP based VNC session is fine too.
Along the IP lines, when is do a "vncviewer 10.0.2.1" from dom0, here is what
I get (failure):
r...@dom0# vncviewer 10.0.2.1:0
Connected to RFB server, using protocol version 3.8
Performing standard VNC authentication
Password: jack (but hidden)
Authentication failure
root#
I inserted "jack" for the password above, but it doen't work. I don't know
what the default password is, or if I need to log into Solaris and set it. See
here.
r...@opensolaris:~# ifconfig xnf0
xnf0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 10.0.2.1 netmask ffff0000 broadcast 10.0.255.255
ether 0:16:3e:26:02:01
r...@opensolaris:~# ps -ef | grep -i vnc
jack 744 743 0 21:10:01 ? 0:00 /usr/X11/bin/Xvnc :0 -depth 24
-nolisten tcp \
-rfbauth=/etc/X11/.vncpasswd -audi
In summary, I'm trying to get a VNC console to start automatically upon "xm
create"
for PV domU solaris (... note that hvm solaris does this, but hvm is too slow).
########################################################
# domU.cfg for 2009.06 PV Solaris domU
########################################################
# This section contains directives and arguments that
# MUST change from guest/domU instance to instance.
# Note: Spaces in between the commas (,) in each disk
# argument is not allowed. "xm create..." complains
# "Error: invalid mode".
########################################################
name = "opensolaris-vm01"
uuid=""
disk = ['file:/home/nmvega/Download/osol-0906-x86.iso,6:cdrom,r',
'file:/var/lib/xen/images/openSolaris/instance01/root.img,0,w']
vif=['mac=00:16:3e:26:02:01, ip=10.0.2.1, vifname=vif2.0']
########################################################
########################################################
# Compute resource allocations (except storage).
########################################################
memory=512
maxmem=512
vcpus=4
vfb=['type=vnc,vncunused=1']
########################################################
########################################################
# Configure xend's respond to domU/guest run-level changes.
########################################################
on_poweroff="destroy"
on_reboot="restart"
on_crash="destroy"
########################################################
########################################################
# Locale settings.
########################################################
localtime=0
keymap="en-us"
########################################################
########################################################
# Guest/domU boot settings (this is the PV case).
########################################################
ramdisk = "/var/lib/xen/images/openSolaris/x86.microroot"
kernel = "/var/lib/xen/images/openSolaris/i86xpv/kernel/unix"
extra = "/platform/i86xpv/kernel/unix -B console=ttya,livemode=text"
#extra = "/platform/i86xpv/kernel/unix -B console=sun"
########################################################
--
This message posted from opensolaris.org
_______________________________________________
xen-discuss mailing list
[email protected]