Please be aware that I was not 100% successful using this method:
Note that you cannot install Fedora 10 on RHEL/CentOS 5.2 using virt-install since the image structure has changed. You will need to use the new virt-install in 5.3
virt-install \
--name fred \
--ram 512 \
--paravirt \
--vnc \
--file /dev/vg/vm_fred \
--location=$xloc
Another howto: http://www.techotopia.com/index.php/Installing_a_Xen_Guest_OS_from_the_C...(virt-install)
yum install wget #must be logged on as root
NXVER=3.3.0
CVER=6
NVER=17
SVER=22
NXURL=http://64.34.161.181/download
wget $NXURL/$NXVER/Linux/nxclient-$NXVER-$CVER.i386.rpm
wget $NXURL/$NXVER/Linux/nxnode-$NXVER-$NVER.i386.rpm
wget $NXURL/$NXVER/Linux/FE/nxserver-$NXVER-$SVER.i386.rpm
rpm -i nxclient-$NXVER-$CVER.i386.rpm
rpm -i nxnode-$NXVER-$NVER.i386.rpm
rpm -i nxserver-$NXVER-$SVER.i386.rpm
yum install xorg-x11-fonts-misc #it is probably necessary to install some fonts
vi /usr/NX/etc/node.cfg & server.cfg
vi /etc/ssh/sshd_config
/etc/init.d/sshd restart
/etc/init.d/nxserver restart
Assuming you haven't used LVM for the client, you can do the following:
kpartx -av /dev/vg/vm_fred #create mapping - will return all the mappings available
#ls -l /dev/mapper/ #will give you their names
mount /dev/mapper/nameofmappingp1 mountpoint #mount the one you want (e.g mount /dev/mapper/vm_fred2 vm_fred )
#do stuff
umount mountpoint #must do this before removing mapping
kpartx -dv /dev/vg/vm_fred #remove mapping when done
yum install rss-glx-gnome-screensaver #skyrocket screensaver
yum install rss-glx-kde # or for kde