Jacob Ritorto wrote:
I installed OpenSolaris 2009.06 on my T2000 using AI as normal.
Naturally, it doesn't have a graphics card.
I followed the directions at
http://wiki.sun-rays.org/index.php/SRSS_4.1_on_OpenSolaris_2008.11 to
complete my srss install. Everything went nicely - no errors /
complaints. I even hacked around and did that Volo trick. But my
DTUs all die at 27B and my /var/opt/SUNWut/log/messages contains lots of
Sep 15 11:46:20 Otsatalu gdm-XKeepsCrashing: [ID 702911 user.notice]
GDM can't start X server.
Any ideas where to begin digging?
/var/log/gdm - see if there are any obvious errors in those files.
Also, I'd highly recommend using the newly-released 4.2 EA2 bits instead
of 4.1 at this point. Lots of bugs were fixed related to OpenSolaris,
although this one doesn't look familiar. As for install procedure, all
that is required now (I need to get the time to update that page or
create a new one):
1 disable NWAM
2 install the (3) DHCP and (3) Motif packages
3 instrument /etc/pam.conf with the GDM stack
4 If you are using /release instead of /dev or /support you need to
tweak /etc/opt/SUNWut/loginGUI.start to set LANG=C
5 If you plan to use the soft client you need to do the Volo trick to
/etc/sock2path
With 4.2 final release the need for 3 will be eliminated, but the rest
will still be required. I installed using AI on a V210 this last weekend
in order to unit-test a bug fix.
In fact the bug I fixed causes messages like you one you note for
headless systems because it's applying the SRSS XKeepsCrashing script
even to non-SRSS displays, and thus keeps retrying while the
system-default version knows enough to give up for hardware-based
displays. So that message might be a red-herring: we don't know if it's
coming from the console (which is mostly harmless but annoying) or from
a Sun Ray display (that would be a problem). I've attached a fixed
version you can copy to /etc/opt/SUNWut/gdm/XKeepsCrashing.sunray to
suppress the message for the console and see if your problem is related
to Sun Ray displays or not.
http://wikis.sun.com/display/SRS/Home
-Bob
#!/bin/sh
#
# ident "@(#)XKeepsCrashing.sunray.sh 1.2 09/09/14 SMI"
#
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# XKeepsCrashing interface:
# Inputs:
# $XLOG is the pathname for the log file for this display
# exit status:
# 0: Keep retrying to manage display
# 32: dialog with user
# else: mark the display as unusable
#
typeset XCONFBASE="/tmp/SUNWut/config/xconfig"
typeset GDMBASE=`/etc/opt/SUNWut/basedir/lib/utgdmconfigpath`
isSRSSDisplay() {
typeset DPY
# Extract the display number from $XLOG
DPY=${XLOG##*:}
DPY=${DPY%%.*}
# See if SRSS is managing that display
grep "^:$DPY " $XCONFBASE/Xservers >/dev/null
}
if isSRSSDisplay; then
logger -p user.error -t XKeepsCrashing.sunray "GDM can't start X
server."
else
typeset SYSTEM_KC=$GDMBASE/XKeepsCrashing
if [ -x "$SYSTEM_KC" ]; then
exec "$SYSTEM_KC"
else
logger -p user.error -t XKeepsCrashing.sunray \
"Can't find system XKeepsCrashing file '$SYSTEM_KC'"
# mark the display as unusable with exit 1
exit 1
fi
fi
sleep 1
# keep retrying display with exit 0
exit 0
_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users