Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've been using LTSP5.2 under Ubuntu for a while, mostly with mythbuntu. When I used to create a client image with the mythbuntu switches it created an overlay to store data for each client persistently over reboots. I could store any files in there I wanted specifically for that client.

Now that the mythbuntu switches are broken I'm going to use fat-client instead as they are maintained and work. However this does not create an overlay section.

Do I require an overlay section anymore?

Can I create one anyway? I found it good for putting settings in there per client.

Should I be using lts.conf instead?

Reference to the overlay which was in Mythbuntu 804:

share|improve this question
up vote 0 down vote accepted

Running a similar setup to yours, my solution was to place a script in /etc/init.d that configures each machine at boot. There is probably a better way to do this via lts.conf, but this works for my setup.


  • Create different variations of configuration files (lirc, xorg, etc.) for each client
  • Store these different config files in the ltsp image with different names (lircd.conf.machine1, lircd.conf.machine2, etc.)
  • Create script that runs at boot, and copies appropriate config files to appropriate locations based on hostname
  • Run update-rc.d <script_name> defaults so the config script runs at boot

Here's the script I use, feel free to customize to meet your needs (hostnames redacted, suggestions for improvement are always welcome). Note that machine specific xorg.conf files aren't stored in the image, it is just created at every boot using nvidia-xconfig:


# This script performs configuration of hardware
# specific components for HTPC frontends.
# log output to temp directory
exec > /tmp/htpc_config.log

# LIRC hardware and configuration
# files in place of defaults based on hostname. Required
# to automatically configure LIRC on machines with
# different hardware.

if [ "$HOSTNAME" = "*****" ]
    cp $lirc_hw_conf$htpc_*****_suffix $lirc_hw_conf
    cp $lirc_conf$htpc_*****_suffix $lirc_conf
    echo "Applied LIRC configuration for ***** frontend."
    service lirc restart
elif [ "$HOSTNAME" = "*****" ]
    cp $lirc_hw_conf$htpc_*****_suffix $lirc_hw_conf
    cp $lirc_conf$htpc_*****_suffix $lirc_conf
    echo "Applied LIRC configuration for ***** frontend."
    service lirc restart
    echo "Unable to match hostname $HOSTNAME."

# Xorg.conf generation using nvidia-xconfig

if [ -f "$xorgconf" ]
   echo "/$xorgconf exists, nothing to do."
   touch "$xorgconf"
   nvidia-xconfig -s
   echo "Generated $xorgconf using nvidia-xconfig."
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.