On 9/12/2009 12:56 AM, Noel Milton Vega wrote:
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.
We don't have a PV framebuffer today, so you can't get a graphical console.
(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.
The VNC password is stored in xenstore.. e.g. if you do a xenstore-ls | grep pass your should see it..
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).
Can't do that today... OpenSolaris writes the IP address and VNC password to xenstore so it is possible to automate the VNC window.. However, I'm not sure if a Linux dom0 will allow those xenstore writes... Also, the location (in xenstore) where it writes the IP address has changed since b111b (xen3.3 doesn't allow writes where it used to put it). So for 2009.06, you probably won't see the IP address with a 3.3 based dom0. On a side note, I have been playing with a small text based installer if your interested.. It's for my personal use, not anything officially supported by sun.. It's still pretty rough, but works... It can install a small guest (~375M) or the stock install bits. MRJ _______________________________________________ xen-discuss mailing list xen-discuss@opensolaris.org