1
<?xml version="1.0" encoding="UTF-8"?>
2
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4
<!ENTITY % commondata SYSTEM "common.ent" > %commondata;
6
<chapter id="use-cases">
7
<title>Use Cases</title>
9
<para>This chapter is for users to document their use cases with Debian Live.</para>
11
<sect1 id="vnc-kiosk-client">
12
<title>VNC Kiosk Client</title>
13
<para>Create an image with &live-helper; to boot directly to a VNC server.</para>
17
<para>Make a build directory: <screen>$ mkdir vncBuild</screen>
22
<para>Move to the build directory: <screen>$ cd vncBuild</screen>
27
<para>Example to config the build directory to include gdm metacity
28
xtightvncviewer: <screen>$ lh config --packages "gdm metacity xtightvncviewer"</screen>
33
<para>Create a folder /etc/skel folder for a custom .xsession for the default
34
user: <screen>$ mkdir -p config/chroot_local-includes/etc/skel</screen>
39
<para>Create the .xsession for the default user: <screen>$ touch config/chroot_local-includes/etc/skel/.xsession</screen>
44
<para>Edit the .xsession file to launch metacity and start xvncviewer with
45
something similar to the below: <screen>
47
/usr/bin/metacity &
48
/usr/bin/vncviewer xxx.xxx.xxx.xxx:PORT
55
<para>Build the image: <screen># lh build</screen>