What makes you think "gdm is the issue"? I don't see anything wrong with gdm, do you?

Did you run isGdmSyncedWithSRSS -vp? I don't see output in previous messages on this thread...

-Bob

Sean Clarke wrote:
On Fri, 2009-06-19 at 11:19 -0400, Bob Doolittle wrote:
Sean Clarke wrote:
Brad Lackey <[email protected]> wrote:
Isn't RHA enabled by default?
I assumed it wasn't - I use the utpolicy from the Wiki i.e. -D which I think gave teh old behavour i.e. no RHA or NSCM.

Am I wrong? Perhaps I should install the extra packages and rinse and repeat.... ?


My analysis is SRSS is fine, gdm is the issue, in the SRSS log I can see
the single/lone Sun Ray :

[ID 733862 user.info] Worker7 NOTICE: whichServer pseudo.00144f3b9a93: [ID 745101 user.info] Worker7 NOTICE: CLAIMED by StartSession.m2 NAME:
pseudo.00144f3b9a93 PARAMETERS: {terminalIPA=192.168.0.7, type=pseudo,
fw=GUI4.0_127553-01_2007.11.09.17.41, state=disconnected, cause=insert,
doamgh=true, barrierLevel=321, rawId=00144f3b9a93,
terminalCID=IEEE802.00144f3b9a93, MTU=1500, tokenSeq=1,
firstServer=c0a8002f, namespace=IEEE802, ddcconfig=1, id=00144f3b9a93,
clientRand=a6cKXDJZklceH04A4tyNbnEV53rJs/2Bn6UpIDLFXE4, realIP=c0a80007,
startRes=1920x1200:1920x1200, useReal=true, event=insert, pn=38588,
sn=00144f3b9a93, rawType=pseudo, hw=SunRayP8-FS, initState=1, _=1}
[ID 113120 user.info] Worker7 NOTICE: CONNECT IEEE802.00144f3b9a93,
pseudo.00144f3b9a93, all connections allowed
utauthd: [ID 118801 user.info] Worker7 NOTICE: MTU = 1500
utauthd: [ID 979488 user.info] Worker7 NOTICE:
SessionManager.getSessionManager: Initiate callback to utsessiond at
localhost:7007
utauthd: [ID 233143 user.info] Worker7 NOTICE:
SessionManager.initiateCallback localhost:7010 established communication
Jun 19 18:43:55 titan utdtsession: [ID 702911 user.info] Add
(11,pseudo.00144f3b9a93,normal)
kiosk:utkioskconfig:configure[7663]: [ID 702911 user.info] Disabled
Kiosk Mode for display ':11'
utauthd: [ID 320030 user.info] Worker7 NOTICE: SESSION_OK
pseudo.00144f3b9a93
kiosk:utkioskconfig:refresh[7830]: [ID 702911 user.info] Disabled Kiosk
Mode for display ':11'

But all that is reported in the gdm log for the Sun Ray (gdm/:11.log):

error opening security policy
file /usr/X11/lib/X11/xserver/SecurityPolicy
The XKEYBOARD keymap compiler (xkbcomp) reports:
Warning:          Symbol map for key <BKSP> redefined
                  Using last definition for conflicting fields
Warning:          Symbol map for key <KPDV> redefined
                  Using last definition for conflicting fields
Warning:          Symbol map for key <KPMU> redefined
                  Using last definition for conflicting fields
Warning:          Symbol map for key <KPSU> redefined
                  Using last definition for conflicting fields
Warning:          Symbol map for key <KPAD> redefined
                  Using last definition for conflicting fields
Warning:          Symbol map for key <KPEQ> redefined
                  Using last definition for conflicting fields
Errors from xkbcomp are not fatal to the X server
Could not init font path element /usr/X11/lib/X11/fonts/TrueType/,
removing from list!
Could not init font path element /usr/X11/lib/X11/fonts/Type1/sun/,
removing from list!
Could not init font path element /usr/X11/lib/X11/fonts/F3bitmaps/,
removing from list!
SO_KEEPALIVE: Option not supported by protocol
SO_LINGER: Option not supported by protocol

I assume the first security exception is not fatal (?) as i can see
several gdm logs.


#!/bin/ksh

#
# isGdmSyncedWithSRSS
# Cross-correlate the information regarding gdm sessions:
# - gdm-binary processes
# - entries in Xservers file
# - entries in /var/opt/SUNWut/displays directory
# - gdmdynamic configuration report
# Report any discrepancies
#
# Options:
# -v report gdm-managed displays
# -p (with -v) report corresponding gdm-binary PID
#


VERBOSE=false
PRINTPIDS=false
while getopts vp opt; do
        case $opt in
                v) VERBOSE=true;;
                p) PRINTPIDS=true;;
        esac
done

# For all gdm-binary processes, record the display it manages (ignore
# console and master process)
typeset -A GDMPROCDPYS
for proc in $(pgrep gdm-binary); do
        DPY=$(pargs -e $proc | awk '
                / DISPLAY=/{ split($0, a, ":"); print a[3] }
        ')
        if [ -n "$DPY" -a "$DPY" != 0 ]; then
                GDMPROCDPYS[$DPY]=$proc
        fi
done

# Record all gdm-managed displays in Xservers file
typeset -A XSERVERDPYS
for dpy in $(awk '
        /^:[0-9]* / { split($1, a, ":"); print a[2] }
        ' /tmp/SUNWut/config/xconfig/Xservers); do
        XSERVERDPYS[$dpy]=1
done

# Record all SRSS-managed displays for filtering purposes
typeset -A XSERVERRESERVEDDPYS
for dpy in $(awk '
        /^# :[0-9]* RESERVED/ { split($2, a, ":"); print a[2] }
        ' /tmp/SUNWut/config/xconfig/Xservers); do
        XSERVERRESERVEDDPYS[$dpy]=1
done

# Record all sessions, ignore SRSS-managed sessions (XXX what about YUV?)
typeset -A DISPLAYDPYS
for dpy in $(cd /var/opt/SUNWut/displays; ls); do
        if [ "${XSERVERRESERVEDDPYS[$dpy]}" != 1 ]; then
                DISPLAYDPYS[$dpy]=1
        fi
done

# Record displays in gdmdynamic configuration report (ignore console)
typeset -A GDMDYNDPYS
for dpy in $(gdmdynamic -l | sed 's/:\([0-9]*\)[^;]*[;]*/\1 /g'); do
        if [ $dpy != 0 ]; then
                GDMDYNDPYS[$dpy]=1
        fi
done

# Cross-correlate everything, by gdm-managed Xserver entries
for dpy in ${!xserverdp...@]}; do
        if [ ${GDMPROCDPYS[$dpy]:-unset} = unset ]; then
                print "No process for $dpy in Xservers"
        fi
        if [ ${DISPLAYDPYS[$dpy]} != 1 ]; then
                print "No display file for $dpy in Xservers"
        fi
        if [ "${GDMDYNDPYS[$dpy]}" != 1 ]; then
                print "No gdmdynamic config for $dpy in Xservers"
        fi
        if $VERBOSE; then
                PID=
                if $PRINTPIDS; then
                        PID=" ${GDMPROCDPYS[$dpy]}"
                fi
                print $dpy$PID
        fi
        unset GDMPROCDPYS[$dpy] DISPLAYDPYS[$dpy] GDMDYNDPYS[$dpy] 
XSERVERDPYS[$dpy]
done

# Any leftovers not covered in Xservers file?
err=${!gdmprocdp...@]}
if [ -n "$ERR" ]; then
        echo "The following dpys have gdm-binary procs but no entry in Xservers:
        $ERR"
fi
err=${!displaydp...@]}
if [ -n "$ERR" ]; then
        echo "The following dpys have display files but no (unreserved) entry 
in Xservers:
        $ERR"
fi
err=${!gdmdyndp...@]}
if [ -n "$ERR" ]; then
        echo "The following dpys have gdmdynamic configs but no entry in 
Xservers:
        $ERR"
fi

_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users

Reply via email to