On 12/07/10 18:56, Karl Rossing wrote:
On 10-12-07 11:25 AM, Bob Doolittle wrote:This will create other problems. The scripts being executed attempt to set certain environment variables, and if you execute them as subprocesses those variables will not become set for the desktop environment. These include things like the $AUDIODEV variable, and (I think) $SUN_SUNRAY_TOKEN. Without those variables set other things will not work properly. A better solution would be to change /etc/opt/SUNWut/gdm/SunRaySession/helpers/Xstartup to use the foo() { } syntax instead of the function foo { } syntax. Nothing within the function needs to change.Thanks Bob. That worked out well. I still need to chase down why $AUDIODEV variable isn't being set but $SUN_SUNRAY_TOKEN is being set.
They get set in different files, both should be in /etc/X11/xinitrc/xinitrc.d $SUN_SUNRAY_TOKEN gets set in 0010.SUNWut.xdmEnv.sh $AUDIODEV gets set when utaudio is run in 0100.SUNWut.sh It's possible that utaudio isn't working in your environment for some reason. Try running it by hand in a terminal window and see if it issues an error, or if you see a device path on stdout as you should... -Bob _______________________________________________ SunRay-Users mailing list [email protected] http://www.filibeto.org/mailman/listinfo/sunray-users
