[SCM] live-manual branch, debian, updated. debian/2.0.0-1-43-gbef1887

Ben Armstrong synrg at debian.org
Sun Dec 19 14:09:19 UTC 2010


The following commit has been merged in the debian branch:
commit a26a4990f709d3400635f1b2406e116ba966fc2b
Author: Ben Armstrong <synrg at debian.org>
Date:   Sun Dec 19 10:04:44 2010 -0400

    Fixing style and content of VNC kiosk example.

diff --git a/manual/en/user_examples.ssi b/manual/en/user_examples.ssi
index 207470e..ad90c15 100644
--- a/manual/en/user_examples.ssi
+++ b/manual/en/user_examples.ssi
@@ -172,32 +172,41 @@ We've come to the end of our tutorial series. While many more kinds of customiza
 
 *{Use case:}* Create an image with live-build to boot directly to a VNC server.
 
-_* Make a build directory: #{$ mkdir vncBuild}#
+Make a build directory and create a skeletal configuration in it, including #{gdm3}#, #{metacity}# and #{xtightvncviewer}#:
 
-_* Move to the build directory: #{$ cd vncBuild}#
-
-Example to config the build directory to include gdm metacity xtightvncviewer: #{$ lb config --packages "gdm3 metacity xtightvncviewer"}#
+code{
 
-Create a folder /etc/skel folder for a custom .xsession for the default user: #{$ mkdir -p config/chroot_local-includes/etc/skel}#
+$ mkdir vnc_kiosk_client
+$ cd vnc_kiosk_client
+$ lb config -p standard-x11 --packages "gdm3 metacity xtightvncviewer"
 
-Create the .xsession for the default user: #{$ touch config/chroot_local-includes/etc/skel/.xsession}#
+}code
 
-Edit the .xsession file to launch metacity and start xvncviewer with something similar to the below:
+Create the directory #{/etc/skel}# and put a custom #{.xsession}# in it for the default user that will launch metacity and start xvncviewer, connecting to port #{5901}# on a server at #{192.168.1.2}#:
 
 code{
 
+$ mkdir -p config/chroot_local-includes/etc/skel
+$ cat config/chroot_local-includes/etc/skel/.xsession <<END
 #!/bin/sh
 
 /usr/bin/metacity &
-/usr/bin/vncviewer xxx.xxx.xxx.xxx:PORT
+/usr/bin/xvncviewer 192.168.1.2:1
 
 exit
+END
 
 }code
 
-_* Build the image: #{# lb build}#
+Build the image:
+
+code{
+
+# lb build
+
+}code
 
-_* Enjoy.
+Enjoy.
 
 2~ A base image for a 128M USB key
 

-- 
live-manual



More information about the debian-live-changes mailing list