After umlbuilder has finished, you will have a
Don't worry about having to get all the packages installed initially. Once you can run your UML session, you can install any remaining packages easily.
This example assumes the RPMs are in
# mount -t hostfs hostfs /mnt # cd /mnt/home/rpms/foo1.2 # rpm -i kdewizard.rpm
Getting an X session
Generally, you just need to install with --initdefault 5, or edit /etc/inittab after installation (tick 'Graphical Login' in the gui tool). You will then get a window appearing on your main desktop with the guest operating system inside.
If you need a $DISPLAY variable, run /etc/umlmydisplay and it will output the correct value of your display when the guest was started.
UML builder works by linking in a script /etc/umlxserver to be the actual X server. This script then runs Xnest pointing it at the display you used when the guest session was started. To all other programs on the system it will feel no different than a local hardware based X server.
You can give extra arguments to
control start UML_XARGS=-geom@1024x768to set the display to be 1024x768. Note that @'s are replaced with spaces when given to Xnest.
UML builder automatically sets up networking and routing rules based on the ip address and hostname supplied during install. It also copies the /etc/hosts and /etc/resolv.conf from your real host into the guest session.