Create an image with live-helper
to boot directly to a
VNC server.
Make a build directory:
$ mkdir vncBuild
Move to the build directory:
$ cd vncBuild
Example to config the build directory to include gdm metacity xtightvncviewer:
$ lh config --packages "gdm metacity xtightvncviewer"
Create a folder /etc/skel folder for a custom .xsession for the default user:
$ mkdir -p config/chroot_local-includes/etc/skel
Create the .xsession for the default user:
$ touch config/chroot_local-includes/etc/skel/.xsession
Edit the .xsession file to launch metacity and start xvncviewer with something similar to the below:
#!/bin/sh /usr/bin/metacity & /usr/bin/vncviewer xxx.xxx.xxx.xxx:PORT exit
Build the image:
# lh build