This shouldn't be necessary. We are aware of the SuSE environment and work around it by supplying our own /etc/opt/SUNWut/gdm/Xsession.source_wrapper script which gets configured for use by gdm. That script *sources* the /etc/opt/SUNWut/xinitrc.d scripts (which are either symlinks or dups of GDM's xinitrc.d scripts, I forget) first, then sources the standard system Xsession script. Your gdm.conf file should have "BaseXsession=/etc/opt/SUNWut/gdm/Xsession.source_wrapper" configured.

The scaffolding for this is enabled in /opt/SUNWut/lib/utctl.d/features/utgdmconfigctl which gets executed on the first reboot after utinstall. There's a bunch of other important gdm configuration in there as well. Try running "/opt/SUNWut/lib/utctl disable; /opt/SUNWut/lib/utctl enable" then reboot and see if the problem clears up.

-Bob

Anthony Winstanley wrote:
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

_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users

Reply via email to