Likely these scripts are not linked into the right place then.

I'm timing out and don't have time to search to recall whether you use dtlogin or gdm.

dtlogin used to use /usr/dt/config/Xsession.d and 0100.SUNWut had to be linked into there. gdm uses /etc/X11/xinit/xinitrc.d and scripts have to be linked into there. They should be executable.

It's the Display Manager's responsibility to execute these files, usually as a result of logic in its Xsession script. You could try chasing it down from there.

Make sure the /opt/SUNWut/lib/utctl.d/features/utgdmconfigctl logic has been run. It should be run after you reboot your system and it sets up gdm for SRSS.

-Bob

Ivar Janmaat wrote:
I have added the lines to 0100.SUNWut.
After login/logout there are no debug files written to /tmp.
It looks like 0100.SUNWut is not sourced.
I have tested this with /bin/sh and /bin/ksh in the first line of the
gdm/*/Default files.

Ivar

Bob Doolittle wrote:

Ivar Janmaat wrote:

I changed bin/sh on the first line of the Default scripts in bin/ksh.
I did not do a utrestart of the service.
This did not change anything.
Is a restart needed? Or is it caused by something else?


No, you should only need to logout/in again to pick up the change.

I'd try a couple of things. First, you want to verify that the xinitrc script is being executed, and that environment variables set in it get inherited in your desktop environment. So, I'd add the following line to the end of /etc/opt/SNWut/xinitrc.d/0100.SUNWut:

echo $AUDIODEV > /tmp/audiodev.out

You might also add a couple of lines near the top:
exec 2>/tmp/0100.SUNWut.out
set -x

Then, logout/login, and check those two files. If you open up a terminal window, do you see $SUN_SUNRAY_TOKEN set? $AUDIODEV?

What do those files tell you? Feel free to forward them along to the list for analysis.

-Bob


Ivar


Bob Doolittle wrote:

Did you try editing the /etc/opt/SUNWut/gdm/*/Default scripts to specify /bin/ksh instead of /bin/sh?

One difference is that SXCE /bin/sh is still Bourne Shell, whereas OpenSolaris now uses ksh93. This is CR 6894147 "GDM Pre/Post Session/Login and Init scripts should use explicit ksh interpreter lines". It doesn't affect either OpenSolaris or the Linux distros we support (they use bash) but it does affect Nevada/SXCE. It also doesn't affect Solaris 10 since we don't use gdm in that environment.

-Bob

_______________________________________________
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