On Wed, 19 Jul 2006 at 10:17 -0600, Kyle Robinson wrote: > Are you using a line in inittab that su's to your user and runs that command > or an init script?
I could do either one, if needed. Actually maybe a runit script... Yes, this works well, with the help of openvt. Here's my runit script (/var/service/freevo/run): #!/bin/sh modprobe lirc-serial ln -sf /dev/lirc0 /dev/lirc chown fugalh:audio /dev/lirc0 /etc/init.d/lirc restart exec openvt -sw -- su fugalh -c "startx -- :1 -layout ntsc" It's not perfect; X doesn't die when openvt does, so sv stop/restart doesn't work, but at least it starts on boot, and restarts if I accidentally exit freevo. :) -- Hans Fugal ; http://hans.fugal.net There's nothing remarkable about it. All one has to do is hit the right keys at the right time and the instrument plays itself. -- Johann Sebastian Bach
signature.asc
Description: Digital signature
/* PLUG: http://plug.org, #utah on irc.freenode.net Unsubscribe: http://plug.org/mailman/options/plug Don't fear the penguin. */