Note: You are viewing an old version of this page. View the current version.

Differences between version 4 and previous revision of CyberLeo/Projects/CTAWallboard.

Other diffs: Previous Major Revision, Previous Author

Newer page: version 4 Last edited on Wednesday, 7 March 2012 22:07:54 by CyberLeo Revert
Older page: version 3 Last edited on Wednesday, 7 March 2012 21:50:29 by CyberLeo Revert
@@ -32,5 +32,22 @@
  
  
 www/firefox 
  
+</code>  
+  
+/usr/local/etc/wallboard.sh  
+<code brush="bash">  
+#!/bin/sh -ex  
+  
+export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin  
+  
+logger -t wallboard "Spawning wallboard"  
+  
+su -l wallboard -c '. ~/.bash_profile; startx' 2>&1 | logger -t wallboard  
+sleep 2  
+</code>  
+  
+/etc/ttys:  
+<code brush="plain">  
+ttyv8 "/usr/local/etc/wallboard.sh" xterm on secure  
 </code> 

version 4

FreeBSD ports:

# Base
ports-mgmt/portmaster
misc-cdn/bash-config
misc-cdn/flag
net/rsync
security/sudo
shells/bash-completion
sysutils/pv
sysutils/screen
devel/git

# X

x11/xauth
x11/xbindkeys
x11/xhost
x11/xinit
x11/xrandr
x11/xrdb
x11/xset

x11/nvidia-driver
x11/nvidia-settings
x11/nvidia-xconfig

x11-wm/icewm

net/x11vnc
misc/unclutter


www/firefox

/usr/local/etc/wallboard.sh

#!/bin/sh -ex

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

logger -t wallboard "Spawning wallboard"

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

/etc/ttys:

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