Create Fedora7 DomU at SNV78 Dom0 :- # lofiadm -a /export/home/isos/f7.iso # mount -o ro -F hsfs /dev/lofi/1 /mnt # share -F nfs /mnt # virt-install -n FDR7PVM -p -r 1024 --nographics -x "console=hvc0" \ -f /second_root/images/f7pvm.img -l nfs:<IP-ADDRESS Dom0>:/mnt Login as root. Manually create file ~/.vnc/xstartup. #!/bin/sh unset SESSION_MANAGER exec /etc/X11/xinit/xinitrc [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources xsetroot -solid grey vncconfig -iconic & xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & twm & Copy xstartup file to /etc/vnc directory. Make following changes to /etc/sysconfig/vncservers file:- VNCSERVERS="1:root" VNCSERVERARGS[1]="-geometry 1024x768" Then run:- # chkconfig vncserver on # service vncserver start This message posted from opensolaris.org
Actually, it''s well known procedure for FC6 DomU. However, F7 DomU doesn''t have sample ~/.vnc/xstartup. I just picked it up from old FC6 instance on another box and hopelessly placed on F7 DomU. As appears it still works for F7 DomU. I would wonder how about F8 ? This message posted from opensolaris.org
Boris Derzhavets wrote:> Actually, it''s well known procedure for FC6 DomU. > However, F7 DomU doesn''t have sample ~/.vnc/xstartup. > I just picked it up from old FC6 instance on another box > and hopelessly placed on F7 DomU. As appears it still works > for F7 DomU. I would wonder how about F8 ?the first time you run vncserver, it will create one which you can then edit. MRJ