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

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

Other diffs: Previous Major Revision, Previous Author

Newer page: version 6 Last edited on Wednesday, 7 March 2012 22:30:43 by CyberLeo Revert
Older page: version 5 Last edited on Wednesday, 7 March 2012 22:30:16 by CyberLeo Revert
@@ -40,15 +40,15 @@
 #!/bin/sh -e 
  
 export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 
  
-tty="${1:-pts/0 }" 
+tty="${1}" 
  
-logger -t wallboard "Spawning wallboard on ${tty}" 
+logger -t wallboard "Spawning wallboard${tty:+ on ${tty} }" 
  
 su -l wallboard -c '. ~/.bash_profile; exec startx' 2>&1 | logger -t wallboard 
 </code> 
  
 /etc/ttys: 
 <code brush="plain"> 
 ttyv8 "/usr/local/etc/wallboard.sh" xterm on secure 
 </code> 

version 6

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 -e

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

tty="${1}"

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