The problem is that SuSE's xinitrc.d includes are generally broken in that scripts are run, not sourced. Add the word "source " before "$script" on line 41 of /etc/X11/xinit/xinitrc and your environment should get the variables you're looking for.
Anthony > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:sunray-users- > [EMAIL PROTECTED] On Behalf Of Bob Doolittle > Sent: November-17-08 1:36 PM > To: SunRay-Users mailing list > Subject: Re: [SunRay-Users] Kiosk session doesn't set SUN_SUNRAY_TOKEN > > That value is established as part of the /etc/opt/SUNWut/xmgr/add-dpy > process. > > There's some code in common with Solaris/dtlogin that maintains a > /var/opt/SUNWut/xconfig/Xconfig file, in which a line is added for your > display which defines some environment variables which should go into > the session, including SUN_SUNRAY_TOKEN. > > In a gdm environment /etc/opt/SUNWut/xinitrc.d/0010.SUNWut.xdmEnv is > executed during session startup. The Xconfig file is scanned and the > environment variable definitions for your display are imported into the > user session. > > -Bob > > Kevin Farrell wrote: > > Anybody on this one? Is there any other way to determine what my > TOKEN is? > > > > Thanks > > -Kevin > > > > > > Kevin Farrell wrote: > > > >> I'm attempting to setup a SunRay Server on an OpenSuSE 11 machine as > a > >> proof of concept. I have things working for the most part, except > that > >> the $SUN_SUNRAY_TOKEN variable isn't set when I enter the Kiosk > mode. > >> > >> For instance, I have configured a Kiosk session that simply gives > the > >> user an xterm. That works fine, but when I 'echo > $SUN_SUNRAY_TOKEN', > >> there is nothing set. This also causes a problem when trying to use > >> uttsc as it uses that variable. If I set the variable manually in > the > >> session config file, then uttsc will work fine for that particular > client. > >> > >> Can anyone help me figure how where and how this variable is > supposed to > >> get set? > >> > >> Thanks! > >> -Kevin > >> _______________________________________________ > >> SunRay-Users mailing list > >> [email protected] > >> http://www.filibeto.org/mailman/listinfo/sunray-users > >> > > > > _______________________________________________ > > SunRay-Users mailing list > > [email protected] > > http://www.filibeto.org/mailman/listinfo/sunray-users > > > > _______________________________________________ > SunRay-Users mailing list > [email protected] > http://www.filibeto.org/mailman/listinfo/sunray-users _______________________________________________ SunRay-Users mailing list [email protected] http://www.filibeto.org/mailman/listinfo/sunray-users
