Re: [SunRay-Users] No sound on SRSS 4.2/Fedora 12

2010-03-09 Thread Hana Skoumalova

SIMOND Gilles wrote:

Hello

I had to configure pulse audio to get it work with the utaudio device
so I add the small script listed below
the script is in /etc/opt/SUNWut/xinitrc.d/0101.SUNWutaudio with a 
symbolic link to it in /etc/X11/xinit/xinitrc.d/



Gilles Simond

==8===8===8===8=
#!/bin/bash

if [ ! x${UTAUDIODEV} == x ] ; then

   if [ ! -d ${HOME}/.pulse ] ; then
 mkdir ${HOME}/.pulse
   fi

   # create pulseaudio configuration for utaudio
   PULSECONF=${HOME}/.pulse/default.pa
   sed s|UTAUDIODEV|$UTAUDIODEV|g /opt/SUNWut/lib/utpulse.pa  
${PULSECONF}


   # create asoundrc for pulseaudio redirection
   ASOUNDRC=${HOME}/.asoundrc
   echo -n  ${ASOUNDRC}
   echo pcm.!default {   ${ASOUNDRC}
   echo   type pulse  ${ASOUNDRC}
   echo }  ${ASOUNDRC}
   echo ctl.!default {   ${ASOUNDRC}
   echo   type pulse  ${ASOUNDRC}
   echo }  ${ASOUNDRC}

fi
==8===8===8===8=


Thank you for the hint, but I discovered that there is no 
/opt/SUNWut/lib/utpulse.pa on my system. What package is supposed to 
contain it?


Hana

___
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users


Re: [SunRay-Users] Smartcard cycles continuously for regular sessions

2010-03-09 Thread Joerg Barfurth

Damien R Plunkett schrieb:

Hi all,

I've got an interesting problem occurring on our systems. This is probably a winbind question, but I thought it wouldn't hurt to run it by the Sun Ray user list first to see if any of you have encountered this. 

We have Solaris 10 on X86 machines that we have joined with our 2008 Active Directory domain. All authentication through ssh and sun ray logins work great. All of our units sit in a kiosk mode to terminal servers and a handful of users (about 75) get Payflex smart cards so they can access a Unix Desktop. Occasionally, a card will be inserted and it will continuously cycle the DTU. The logs below repeat every 5 seconds, or so: 


Mar  8 11:34:56 haven utauthd: [ID 817972 user.info] Worker1 NOTICE: CLAIMED by 
StartxlationSession.m3 NAME: hotdesk.IEEE802-0021283a0a32 PARAMETERS: 
{savedType=Payflex, altuid=42795, stealProtected=true, 
terminalIPA=10.5.165.104, type=hotdesk, 
fw=GUI4.2_77_2009.10.19.17.01,Boot:MfgPkg_4.15_2006.07.20.16.57; 
2006.07.20-17:04:56-PDT, state=disconnected, cause=insert, doamgh=true, 
barrierLevel=420, altlocale=en_US.UTF-8, rawId=500974b200130100, 
terminalCID=IEEE802.0021283a0a32, MTU=1500, tokenSeq=30, firstServer=8672500f, 
atr.hist_len=09, namespace=IEEE802, keyTypes=dsa-sha1-x1,dsa-sha1, 
ddcconfig=1:0, clientRand=7ykES4vyKDbweKhgEvyw0zLOcsWjFVQzUWK/L/tZnGi, 
id=IEEE802-0021283a0a32, realIP=0a05a568, startRes=1920x1200:1920x1200, 
useReal=true, atr=3b692494010201000101a9, event=insert, atr.hs=04, 
sn=0021283a0a32, savedId=500974b200130100, rawType=Payflex, hw=SunRayP8-FS, 
initState=0, usersession=true, _=1}
Mar  8 11:34:56 haven utauthd: [ID 706759 user.info] Worker1 NOTICE: CONNECT 
IEEE802.0021283a0a32, hotdesk.IEEE802-0021283a0a32, all connections allowed
Mar  8 11:34:56 haven utauthd: [ID 118787 user.info] Worker0 NOTICE: MTU = 1500
Mar  8 11:34:56 haven utdtsession: [ID 702911 user.info] Add 
(134,hotdesk.IEEE802-0021283a0a32,special)
Mar  8 11:34:56 haven kiosk:utkioskconfig:configure[1430]: [ID 702911 
user.info] Disabled Kiosk Mode for display ':134'
Mar  8 11:34:56 haven utauthd: [ID 446208 user.info] Worker0 NOTICE: SESSION_OK 
hotdesk.IEEE802-0021283a0a32
Mar  8 11:34:58 haven hdloginGUI: [ID 183284 user.error] Error: Cannot resolve 
altuid (42795) to user (error: Error 0).


This message means that the screen lock program can't get information on 
the session user. Here getpwuid(3C) reports that the user is not found 
(return NULL, errno=0).


Combined with the remedies you list below, there seems to be a problem 
with the name service cache (ncsd) or with the name service plugin 
behind it.


If there is a specific winbind nsswitch module, that could be an 
explanation. Afaik the name service switch module interface in Solaris 
is not 'public', so third party plugins are not really supported.


- Does
$ svcs name-service-cache
  report any problem (that nscd is not 'online')?

- What is the 'passwd' line in your /etc/nsswitch.conf?

- Is there any error message from ncsd at the same time as the hdlogin
  error, for example in /var/adm/messages?




*Note: This only occurs if the user is hotdesking. If the session is new, this 
doesn't occur.

I've found three ways of fixing this: 
1. Kill the user's session (not ideal)

2. From any user's terminal, run getent passwd user id
3. ssh from anywhere (windows or unix) to the sunray server as the user in 
question. In this case I don't even have to have the user login...just the act 
of starting an ssh session stops this process and their login screen appears.



It sounds as if these prime the name service cache with the user record. 
I have no idea how they differ from a plain invocation of getpwuid(1M).


I've set a cron job to execute every 15 minutes that runs getent passwd for every card user in the system, but we still see some users with this problem. I could run it every minute, but I'd like to find the cause of this. 

Anybody have any experience with this? I'm fairly new to Solaris and this is my first set of systems with a working winbind, so any guidance would be greatly appreciated. 



I haven't seen this before, but would be interested in the outcome.

- Jörg

___
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users


Re: [SunRay-Users] No sound on SRSS 4.2/Fedora 12

2010-03-09 Thread SIMOND Gilles

Sorry I forgot this one

so it just contains the following two lines:
==8===8===8===8=
load-module module-oss device=UTAUDIODEV playback=1 record=1 
fragment_size=8192

load-module module-native-protocol-unix

==8===8===8===8=

Gilles

On 09/03/2010 11:00, Hana Skoumalova wrote:

SIMOND Gilles wrote:

Hello

I had to configure pulse audio to get it work with the utaudio device
so I add the small script listed below
the script is in /etc/opt/SUNWut/xinitrc.d/0101.SUNWutaudio with a
symbolic link to it in /etc/X11/xinit/xinitrc.d/


Gilles Simond

==8===8===8===8=
#!/bin/bash

if [ ! x${UTAUDIODEV} == x ] ; then

if [ ! -d ${HOME}/.pulse ] ; then
mkdir ${HOME}/.pulse
fi

# create pulseaudio configuration for utaudio
PULSECONF=${HOME}/.pulse/default.pa
sed s|UTAUDIODEV|$UTAUDIODEV|g /opt/SUNWut/lib/utpulse.pa 
${PULSECONF}

# create asoundrc for pulseaudio redirection
ASOUNDRC=${HOME}/.asoundrc
echo -n  ${ASOUNDRC}
echo pcm.!default {   ${ASOUNDRC}
echo  type pulse  ${ASOUNDRC}
echo }  ${ASOUNDRC}
echo ctl.!default {   ${ASOUNDRC}
echo  type pulse  ${ASOUNDRC}
echo }  ${ASOUNDRC}

fi
==8===8===8===8=


Thank you for the hint, but I discovered that there is no
/opt/SUNWut/lib/utpulse.pa on my system. What package is supposed to
contain it?

Hana

___
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users


attachment: Gilles_Simond.vcf___
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users


[SunRay-Users] sunray in a Cisco NAC environment

2010-03-09 Thread Steven Gelsie
We are in the process of implementing Cisco NAC (Network Admission 
Control) on our internal networks.  I am not the person implementing NAC 
so I do not know anything about it other then it has profiles and white 
list for systems and it takes a while for NAC to build its knowledge 
base.  Has anybody implemented the Cisco NAC with the sunrays ?  Could 
you offer any pointers. 


Thanks
Steve

--
Steven Gelsie   Email: steven.gel...@jhuapl.edu
Johns Hopkins Univ./APL Phone: 240-228-4081   DC
11100 Johns Hopkins Rd 443-778-4081   Baltimore 
Laurel, MD  20723-6099  FAX:   240-228-6119

Work Schedule : Mon-Thurs  8:30AM-6PM
		Friday Work At Home 


___
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users


Re: [SunRay-Users] Chhosing Remote Login blocks the DTU on Solaris 10u8

2010-03-09 Thread Jeremy Y Uejio
Selecting Choose host from list... is supposed to run a program called 
dtchooser.  You might check if that program is missing, hung, or crashing.



jeremy

On 02/25/10 05:42 AM, Gerard Henry wrote:

hello all,
i have 4 serveurs (v440 and v210) in FOG, 2 with S10u6 and two with 
S10u6. SRSS 3.1 is installed.
In CDE login panel, if i choose Remote Login- Enter Hostname it works 
on the 4 servers.
If i choose Remote Login- Choose Host from list..., the screen 
becomes grey and the DTU is unusable, till i kill the display with 
utsession -k. The problem doesn't happen on S10u6, only in S10u8.


Anybody has ever seen it? Any idea?

thanks in advance for help,

gerard
___
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users

___
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users