I am trying to configure a lstp server ( `ip of lstp server : 172.16.40.0` ) on a `64bit ubuntu 14.04` and check it network booting virtualbox vm (harddisk less vm)
I configured everything according to this doc http://ubuntuforums.org/showthread.php?t=2173749
But when I enter root user and password in "virtualbox vm ltsp client", It boots perfect, authenticates perfect.. but not loading desktop.. I mean not loading unity kind of desktop.. just blank..
Here are the things I did while configuring lstp server
First Updated the server
Code:
sudo apt-get update && sudo apt-get upgrade
Then install LTSP, a proxy DHCP server, and a TFTP server:
s
Code:
udo apt-get install ltsp-server dnsmasq tftpd-hpa
Client operating system image built using
Code:
sudo ltsp-build-client --arch i386
Then, to enable support for proxy DHCP by default i ran
Code:
sudo sed -i 's/ipappend 2/ipappend 3/g' /var/lib/tftpboot/ltsp/i386/pxelinux.cfg/default
and here is my configured `ltsp.conf` at `/etc/dnsmasq.d/ltsp.conf`
Code:
#
# Dnsmasq running as a proxy DHCP and TFTP server
#
# See: http://www.thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html
#
#
# TFTP
#
# This might work instead of tftpd-hpa:
#enable-tftp
#tftp-root=/var/lib/tftpboot
#
# DHCP
#
# DHCP proxy on this network
dhcp-range=172.16.40.0,proxy
# Tell PXE clients not to use multicast discovery
# See section 3.2.3.1 in http://tools.ietf.org/html/draft-henry-remote-boot-protocol-00
dhcp-option=vendor:PXEClient,6,2b
# Better support for old or broken DHCP clients
dhcp-no-override
# Enable this for better debugging
#log-dhcp
#
# PXE
#
# Note the file paths are relative to our "tftp-root" and that ".0" will be appended
pxe-prompt="Press F8 for boot menu", 3
pxe-service=x86PC, "Boot from network", /ltsp/i386/pxelinux
pxe-service=x86PC, "Boot from local hard disk"
Then restarted service `sudo service dnsmasq restart`
**(Tried without `/var/lib/tftpboot/ltsp/i386/lts.conf` and same result of above blank desktop when booting vm client.. )**
Then go ahead and edited, `/var/lib/tftpboot/ltsp/i386/lts.conf`
added
Code:
[Default]
LDM_DIRECTX = True
then updated image and run the following
Code:
sudo ltsp-update-image
sudo sed -i 's/ipappend 2/ipappend 3/g' /var/lib/tftpboot/ltsp/i386/pxelinux.cfg/default
**-----------------------------------------------------------------------------**
Please note: Since they have stated in the above tute " that on Ubuntu 14.04, there is currently a bug with tftpd-hpa" I edited `/etc/init/tftpd-hpa.conf` according to this https://bugs.launchpad.net/ubuntu/+s...09/comments/40
and here is my `/etc/init/tftpd-hpa.conf`
Code:
# tftp-hpa - trivial ftp server
description "tftp-hpa server"
author "Chuck Short <zulcss@ubuntu.com>"
#start on runlevel [2345]
start on (filesystem and net-device-up IFACE!=lo)
stop on runlevel [!2345]
console output
expect fork
respawn
env PIDFILE="/var/run/tftpd-hpa.pid"
env DEFAULTS="/etc/default/tftpd-hpa"
pre-start script
if [ -f ${DEFAULTS} ]; then
. ${DEFAULTS}
fi
# Ensure --secure and multiple server directories are not used at the
# same time
if [ "$(echo ${TFTP_DIRECTORY} | wc -w)" -ge 2 ] && \
echo ${TFTP_OPTIONS} | grep -qs secure
then
echo
echo "When --secure is specified, exactly one directory can be specified."
echo "Please correct your /etc/default/tftpd-hpa."
stop
exit 0
fi
# Ensure server directories are existing
for _DIRECTORY in ${TFTP_DIRECTORY}
do
if [ ! -d "${_DIRECTORY}" ]
then
echo "${_DIRECTORY} missing, aborting."
stop
exit 0
fi
done
end script
script
if [ -f ${DEFAULTS} ]; then
. ${DEFAULTS}
fi
exec /usr/sbin/in.tftpd --listen --user ${TFTP_USERNAME} --address ${TFTP_ADDRESS} ${TFTP_OPTIONS} ${TFTP_DIRECTORY}
end script
**-----------------------------------------------------------------------------**
Rebooted the server as well , yet I'm stuck with blank screen as above..No matter if I keep it one hour , still its blank... What I'm missing here, ? any help would be greatly appreciated ..
Bookmarks