.xsession can work, if your subshell will give Sugar time to start, then copy environment variables from the Sugar shell process, then run sugar-launch. Don't know a best awy. Some deployments have used an automatic start activity. -- James Cameron http://quozl.linux.org.au/