public
Description: Firefox daemon application to use firefox as a thin-client daemon
Homepage: http://baobabhealth.org
Clone URL: git://github.com/baobab/firefox-daemon.git
commit  498f5f8eaaddee9c81b0f615a664e59cbf3b95b2
tree    6e2b4ad1efe1ec8ef32b048a8f0e3d82d73258fb
parent  ee65daca5debbe6c8d27fbddd906d82bd006014e
name age message
file .gitignore Fri Jul 18 06:08:23 -0700 2008 Moving stuff around and adding source [jeffrafter]
file README Sat Aug 02 00:37:49 -0700 2008 Fixing up the readme again [jeffrafter]
file baobab.firefox Mon Apr 28 02:53:30 -0700 2008 Initial add [Jeff Rafter]
file baobab.firefox.script Thu Jul 31 02:19:56 -0700 2008 Need to fixup the fullscreen parameters [jeffrafter]
directory default.profile/ Mon Aug 04 02:55:43 -0700 2008 Revert "Upgraded profile to firefox 3" This re... [jeffrafter]
file firefox-daemon Mon Apr 28 05:50:39 -0700 2008 Back to your home [Jeff Rafter]
file install.sh Tue Sep 23 05:05:47 -0700 2008 Added script for bart installation [soyapi]
file prepare_fresh_ubuntu_for_deploy.sh Wed Oct 22 02:01:39 -0700 2008 Added instructions for resetting adherence and ... [soyapi]
file print_via_cgi.rb Mon Aug 04 02:55:20 -0700 2008 How does this stupid file keep changing? [jeffrafter]
directory src/ Thu Jul 31 02:19:56 -0700 2008 Need to fixup the fullscreen parameters [jeffrafter]
README
# Requisites
sudo apt-get install dnsmasq firefox2 (firefox-2)?
sudo apt-get install xinit xauth 

# In order to set this up on the server you will need to do a couple of things, such as:
sudo adduser firefox
sudo su firefox
cd ~
git init
git remote add origin git://YOURLOCALIP/var/www/firefox
git pull origin master
cd src
make
cp apps/baobab.firefox/baobab.firefox* ..
cd ..
exit
sudo cp firefox-daemon /etc/init.d/
sudo /usr/sbin/update-rc.d -f firefox-daemon defaults
sudo /etc/init.d/firefox-daemon

# make sure you have a /usr/bin/firefox, you may have /usr/bin/firefox-2
sudo ln /usr/bin/firefox-2 /usr/bin/firefox

# make your /etc/dnsmasq.conf file look like this (replace x with your subnet)
dhcp-range=192.168.x.100,192.168.x.150,12h

# remove everything from your /etc/resolv.conf

# make your /etc/network/interfaces look like this:
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 192.168.x.203
netmask 255.255.255.0
gateway 192.168.x.1


# You may want to debug
ps aux | grep firefox
sudo kill XXXX
sudo su firefox
cd ~
./baobab.firefox
<connect>