Private

/etc/make.conf:

# Compilation tunes
CPUTYPE?=nocona

# Multiprocess port builds (make -j8)
FORCE_MAKE_JOBS=yes
MAKE_JOBS_NUMBER=2

# Global knobs
NO_PROFILE=yes

# Kernel build configuration
KERNCONF=GENERIC

# Caching proxy for fetches
http_proxy=http://gateway.cyberleo.net:46565
ftp_proxy=http://gateway.cyberleo.net:46565

# Read-only ports tree
DISTDIR=/var/ports/distfiles
PACKAGES=/var/ports/packages
WRKDIRPREFIX=/usr/obj

.if ${.CURDIR:M*/devel/glib20}
  USE_LOCAL_MK=
  STRIP_PERL5_RUN=
  STRIP_PYTHON_RUN=
.endif

.if ${.CURDIR:M*/devel/gobject-introspection}
  USE_LOCAL_MK=
  STRIP_PYTHON_RUN=
.endif

FreeBSD ports:

B::
archivers/unzip
devel/autoconf213
devel/bison
devel/gmake
devel/gperf
devel/imake
devel/libcheck
devel/libtool
devel/xorg-macros
devel/yasm
textproc/intltool
textproc/libxslt
x11-fonts/bdftopcf
x11-fonts/xf86bigfontproto
x11/bigreqsproto
x11/evieext
x11/glproto
x11/luit
x11/resourceproto
x11/scrnsaverproto
x11/trapproto
x11/xcb-proto
x11/xcmiscproto
x11/xf86dgaproto
x11/xf86driproto
x11/xkbcomp

x11/nvidia-settings
x11/nvidia-xconfig
x11/xbindkeys
x11/xhost
x11/xrandr
x11/xsetroot
x11/xtrans

R::

# Base
devel/git
misc-cdn/bash-config
misc-cdn/flag
net/rsync
ports-mgmt/portmaster
security/sudo

# X
misc/unclutter
net/x11vnc
x11-drivers/xf86-input-keyboard
x11-drivers/xf86-input-mouse
x11/nvidia-driver
x11/xauth
x11/xkbcomp
x11/xinit
x11/xrdb
x11/xset
x11/xterm

# DE
x11-wm/icewm
www/libxul
pkg_add /%/Latest/portmaster.tbz

portmaster --packages-only --packages-local --local-packagedir=/% -v devel/git misc-cdn/bash-config misc-cdn/flag net/rsync security/sudo

portmaster --packages-only --packages-local --local-packagedir=/% -v misc/unclutter net/x11vnc x11-drivers/xf86-input-keyboard x11-drivers/xf86-input-mouse x11/nvidia-driver x11/xauth x11/xkbcomp x11/xinit x11/xrdb x11/xset x11/xterm x11-wm/icewm www/libxul

/etc/X11/xorg.conf:

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 285.05.09  (root@netbox.den.cyberleo.net)  Tue Mar  6 14:28:59 CST 2012

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 285.05.09  (root@netbox.den.cyberleo.net)  Mon Mar  5 16:28:05 CST 2012

Section "ServerLayout"
    Identifier     "Default Layout"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "keyboard"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/sysmouse"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "HP S2031"
    HorizSync       24.0 - 83.0
    VertRefresh     50.0 - 76.0
    Option         "RandRRotation" "on"
#    Option         "Rotate" "ccw"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "ION"
EndSection

Section "Screen"
    Identifier     "Default Screen"
    Device         "Device0"
    Monitor        "Monitor0"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "metamodes" "nvidia-auto-select +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

/usr/local/etc/wallboard.sh

#!/bin/sh -e

export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

tty="${1}"

if [ -e "/etc/nox" ]
then
  sleep 5
  exit
fi

logger -t wallboard "Spawning wallboard${tty:+ on ${tty}}"

su -l wallboard -c '. ~/.bash_profile; exec startx' 2>&1 | logger -t wallboard

/etc/ttys:

ttyv8   "/usr/local/etc/wallboard.sh"   xterm   on  secure

/boot/loader.conf:

# Load modules
coretemp_load="YES"
nvidia_load="YES"
sem_load="YES"
splash_pcx_load="YES"
vesa_load="YES"

# Bitmap
bitmap_load="YES"
bitmap_name="/boot/splash.pcx"

/etc/rc.conf:

hostname="netbox.den.cyberleo.net"

# Network setup
ifconfig_alc0="DHCP"
ifconfig_alc0_ipv6="inet6 accept_rtadv"

# Console
blanktime="10"

# Daemons
moused_enable="YES"
ntpd_enable="YES"
powerd_enable="YES"
sshd_enable="YES"
  • Add user wallboard
  • Add wallboard homedir (.xinitrc, .xsession, .Xdefaults, .x11vncrc, .vnc/passwd, .icewm)
  • xulrunner --register-global
  • Install wallboard.xpi