I'm setting up on a BeagleBone Black Rev C running Debian and following along with the book where I can. I should mentions I installed web2py using apt-get and my Debian is Wheezy.
I never use the desktop on my BBB, so I want everything to work without GUI. I was able to run web2py from the CLI and now I want to set it up to run as a service. The python-web2py in debian doesn't include the scripts directory (that I can find) so I grabbed https://github.com/web2py/web2py/blob/master/scripts/web2py.ubuntu.sh and modified it for debian replacing the DAEMON_DIR=/usr/lib/$NAMEwith DAEMON_DIR=/usr/share/$NAME when I run that /etc/init.d/web2py start I get all the same GTK errors when I try to run it from the CLI without specifying a password. So, just to try this out, I modified DAEMON_ARGS="web2py.py --password=<recycle> --pid_filename=$PIDFILE"to have ALL the CLI argument I passed when I was able to run it manually. DAEMON_ARGS=("web2py.py --nogui -a 'password' -i 192.168.1.100 -p 8000 " + "-c /usr/share/ssl-cert/server.crt -k /usr/share/ssl-cert/ssl/server.key" + " --pid_filename=$PIDFILE") I even added in --nogui for safe measure, but i'm still getting the GTK errors when I run /etc/init.d/web2py start. Any suggestions or pointers for more information would be very helpful. Thanks, -p -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

