There was a "bug" that was fixed in OpenSolaris but I don't know if it made it
to the Community trunk. The original behavior or GDM (and perhaps the current behavior in
the trunk still) is that if any of the session scripts exit with non-zero status the
session is aborted by GDM.
-Bob
On 09/17/10 10:10, Farcy Jacques-Olivier wrote:
Hi,
I have been using Ubuntu 9.10 with Sunray 4.2 for a few weeks without serious
problems for classroom here.
Since one of my two servers crash, and for new sessions, i have a message that
the session expired less than 10s after trying to be opened.
I have this error message from .xsession-errors :
/etc/opt/SUNWut/gdm/SunRayPreSession/Default[16]: PATH: restricted
gdm[10666]: ERROR: session_child_run : l'exécution du script de
pré-session a renvoyé une valeur > 0. Abandon.
aborting...
My SunRayPreSession/Default is :
#!/bin/ksh -p
#
# Note that any setup should come before the sessreg command as
# iterate over the helpers directory then execute last helper
# that must be 'exec'ed for the pid to be correct (sessreg uses the
parent
# pid)
#
# Note that output goes into the .xsession-errors file for easy
debugging
#
# ident "@(#)PreSessionDefault.sh 1.8 09/07/31 SMI"
#
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
PATH="/usr/X11R6/bin:/opt/X11R6/bin:$PATH"
for i in /etc/opt/SUNWut/gdm/SunRayPreSession/helpers/*
do
if [ -x $i ]; then
$i
fi
done
exec /etc/opt/SUNWut/gdm/SunRayPreSession/SessReg
exit 0
I check /etc/shell and ksh is in there.
Any idea ?
Thanks in advance,
Jacques-Olivier
_______________________________________________
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