From: Jorgen Moquist on
Hi, upgraded my Sunfire V210's, Solaris 9 + SunRay 2.0 + patches to
Solaris 10 and Sunray 4.1 + patches.
im using dtlogin remote login dtchooser/xdm-broadcast and then every
second time selecting dtchooser it resets and dtlogin appears.
dmesg : dtlogin[2117]: [ID 699796
user.error]sunray_get_user:pam_sm_auth: pam_get_user returned 6
(PAM_CONV_ERR)
dlogin works ok, dtchooser is a problem.

dtchooser works like random, changing servers all the time (5 sunray
servers in a grouping/unicasting/utgrouping/utreplica config).

then did a try on 4.2 on my home x86 solaris10 (the above is sparc)
[same user.error] pam as on sparc.

/Jorgen
From: Jorgen Moquist on
Jorgen Moquist wrote:
> Hi, upgraded my Sunfire V210's, Solaris 9 + SunRay 2.0 + patches to
> Solaris 10 and Sunray 4.1 + patches.
> im using dtlogin remote login dtchooser/xdm-broadcast and then every
> second time selecting dtchooser it resets and dtlogin appears.
> dmesg : dtlogin[2117]: [ID 699796
> user.error]sunray_get_user:pam_sm_auth: pam_get_user returned 6
> (PAM_CONV_ERR)
> dlogin works ok, dtchooser is a problem.
>
> dtchooser works like random, changing servers all the time (5 sunray
> servers in a grouping/unicasting/utgrouping/utreplica config).
>
> then did a try on 4.2 on my home x86 solaris10 (the above is sparc)
> [same user.error] pam as on sparc.
>
> /Jorgen

Found a workaround using Xsun, the pam error (think not related to
dtchooser).

On all grouped sunray servers i changed the default Xnewt
to Xsun using # /opt/SUNWut/bin/utxconfig -a -b Xsun .

Might be adding -D to /opt/SUNWut/bin/utpolicy -a -g -m -z both
later after checking what -D (enable legacy does)

/J�rgen
From: Jorgen Moquist on
Jorgen Moquist wrote:
> Jorgen Moquist wrote:
>> Hi, upgraded my Sunfire V210's, Solaris 9 + SunRay 2.0 + patches to
>> Solaris 10 and Sunray 4.1 + patches.
>> im using dtlogin remote login dtchooser/xdm-broadcast and then every
>> second time selecting dtchooser it resets and dtlogin appears.
>> dmesg : dtlogin[2117]: [ID 699796
>> user.error]sunray_get_user:pam_sm_auth: pam_get_user returned 6
>> (PAM_CONV_ERR)
>> dlogin works ok, dtchooser is a problem.
>>
>> dtchooser works like random, changing servers all the time (5 sunray
>> servers in a grouping/unicasting/utgrouping/utreplica config).
>>
>> then did a try on 4.2 on my home x86 solaris10 (the above is sparc)
>> [same user.error] pam as on sparc.
>>
>> /Jorgen
>
> Found a workaround using Xsun, the pam error (think not related to
> dtchooser).
>
> On all grouped sunray servers i changed the default Xnewt
> to Xsun using # /opt/SUNWut/bin/utxconfig -a -b Xsun .
>
> Might be adding -D to /opt/SUNWut/bin/utpolicy -a -g -m -z both
> later after checking what -D (enable legacy does)
>
> /J�rgen

Did not use the -D option to utpolicy.

changed utxconfig to Xsun for the tokens using dtchooser.
changed utxconfig to XKBD for the tokens using dtchooser.

edited /etc/opt/SUNWut/basedir/lib/utxsun .
added line 18: XSUNOPTS="-ar1"
-ar1 is autorepeat, which is not enabled at a dt remote login via dtchooser.

changed lines ( 18 inserted so add 1 linenumber )
78 exec $XSERVER "$@" $XMOREOPTS $XOPTS
79 ;;
80 Xsun)
81 exec $XSERVER "$@" $XMOREOPTS $XSUNOPTS $XOPTS
82 ;;
83 esac
84
85 #exec $XSERVER "$@" $XMOREOPTS $XOPTS

# /usr/dt/bin/dtconfig -reset
is required, so is a <dtlogin><options><reset login>

now i have 5-7 servers with Xnewt & grouping servers working with Xsun.

The sunray server grouping with dtchooser remote login seem not to work
with Xnewt, all the above is a workaround for sunray version 4.1 & 4.2.
using dtchooser.

/Jorgen