Thanks.
So it seems that on Debian some other interpreter (not ksh93 compatible)
is processing Xsetup :(
Maybe this is a gdm question. What does "gdmflexiserver --command
VERSION" report?
Xsetup is run from the gdm Init hook (see GDMCONFDIR/Init/$DISPLAY,
which runs /etc/opt/SUNWut/gdm/SunRayInit/helpers/Xsetup).
What do you see if you put "pstree -p $$ > /tmp/Xsetup.pstree.out" into
the Xsetup file, create a session, and then look in /tmp/Xsetup.pstree.out?
-Bob
Meik Hellmund wrote:
On Thu, 05 Mar 2009 15:52:12 -0500
Bob Doolittle <[email protected]> wrote:
That error message is pretty annoying. There really wasn't any useful
info after that line?
Perhaps somebody with a Debian environment could perform a simple
experiment for us. That function should work fine outside of the
Xsetup environment:
Try running ksh yourself, copy/pasting that function definition into
your shell, and do:
logerr "Testing 1,2,3"
Then, look in your logs - do you see the message?
Try it with both forms of function definition and let us know your
results.
form 1:
hellm...@minb144:~>ksh
$ function logerr {
echo "Xsetup error: $1"
logger -t Xsetup -ip user.error "error: $1"
}
$ logerr "Testing 1,2,3"
Xsetup error: Testing 1,2,3
$ exit
hellm...@minb144>su -
r...@minb144:~>grep Xsetup /var/log/*
/var/log/syslog:Mar 5 22:08:34 minb144 Xsetup[19657]: error: Testing 1,2,3
/var/log/user.log:Mar 5 22:08:34 minb144 Xsetup[19657]: error: Testing 1,2,3
form 2:
hellm...@minb144:~>ksh
$ logerr() {
echo "Xsetup2 error: $1"
logger -t Xsetup2 -ip user.error "error: $1"
}
$ logerr "Testing 10,9,8"
Xsetup2 error: Testing 10,9,8
$ exit
hellm...@minb144>su -
r...@minb144:~>grep Xsetup2 /var/log/*
/var/log/syslog:Mar 5 22:15:30 minb144 Xsetup2[19770]: error: Testing 10,9,8
/var/log/user.log:Mar 5 22:15:30 minb144 Xsetup2[19770]: error: Testing 10,9,8
So for me both forms seem to work.
Meik
_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users