Darin Perusich schrieb:
> this has been asked many times before, search the mail archives for
> 'utxlock'
> 
> http://www.mail-archive.com/[email protected]/
> 
> Christoph Litauer wrote:
>> Dear Sunray admins,
>>
>> using Solaris 10 with SRSS 3.1b I have about 60 DTUs running in
>> controlled access mode. I don't use the CDE session manager but icewm as
>> window manager and firefox as application.
>>
>> If a session is disconnected (remove SmartCard, powercycle, ...) and
>> connects again, this session is locked. This is because utaction calls
>> utxlock if a disconnect happens.
>>
>> The manpage of utxlock tells me I have to define an environment variable
>> SUN_SUNRAY_UTXLOCK_PREF to prevent the screen getting locked.
>>
>> I wonder where I should define this variable. It is defined in my kiosk
>> script (defined as cam application) but this doesn't help. .dtprofile is
>> no choice because I don't use dtsession. .profile in the kiosk users
>> prototype homedir didn't help, too.
>>
>> If the screen is locked, it only can be unlocked by root. So maybe the
>> variable should be defined in roots environment?

Thanks Darin,

I forgot to mention that I already had a script
/etc/dt/config/Xsession.d/0060.variables that sets
SUN_SUNRAY_UTXLOCK_PREF. But this didn't help, too.

In the meantime I found the solution: Unfortunatly a CAM session doesn't
execute the scripts in /etc/dt/config/Xsession.d. Only scripts in
/usr/dt/config/Xsession.d are executed - and only if the filename
matches to *.SUNWut (see /opt/SUNWbb/bin/bbrootsession and
/etc/opt/SUNWbb/blackbox.rc). So I created
/usr/dt/config/Xsession.d/0060.variables.SUNWut which works now.

But in my opinion (and as the manpages state, too) custom configuration
scripts should go into /etc/dt/config not /usr/dt/config ... is it a bug?

Thanks again for your quick help.

-- 
Regards
Christoph
________________________________________________________________________
Christoph Litauer                  [EMAIL PROTECTED]
Uni Koblenz, Computing Center,     http://www.uni-koblenz.de/~litauer
Postfach 201602, 56016 Koblenz     Fon: +49 261 287-1311, Fax: -100 1311
PGP-Fingerprint: F39C E314 2650 650D 8092 9514 3A56 FBD8 79E3 27B2

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

Reply via email to