Farcy Jacques-Olivier schrieb:
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...
The interesting part is the message "PATH: restricted" from line 16 of
the script, which attempts to set PATH.
That indicates that this script is being run in a restricted shell. Is
there anything that could cause $SHELL to point to a restricted shell
for this invocation?
This script should be run by gdm as root. What version of gdm are you using?
- Jörg
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 ?
--
Jörg Barfurth http://blogs.sun.com/joergb
Disclaimer: I am employed by Oracle. The statements and opinions
expressed here are my own and do not necessarily represent those
of Oracle Corporation.
_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users