Re: [SunRay-Users] XKB HowTo?

2010-03-12 Thread SIMOND Gilles

Hello

to correct the xkbcomp error
   Error: Can't find file sun/us for symbols include

you also have to make a symbolic link
 ln -s sun_vndr sun
in
/usr/share/X11/xkb/keymap
and
/usr/share/X11/xkb/symbols

Gilles

On 12/03/2010 13:25, Hana Skoumalova wrote:

Hello,

I have problems with setting XKB up. I am using SRSS 4.2 on Fedora
12. My keyboard is a generic PC keyboard. When I switch XKB on with
utxconfig, the modifiers are totally messed up:

$ xmodmap
xmodmap: up to 74 keys per modifier, (keycodes in parentheses):

shift 7 (0x10), minus (0x14), equal (0x15), e (0x1a), r (0x1b), u
(0x1e), i (0x1f), o (0x20), p (0x21), bracketleft (0x22), Control_L
(0x25), a (0x26), d (0x28), f (0x29), k (0x2d), l (0x2e), Shift_L
(0x32), backslash (0x33), v (0x37), b (0x38), n (0x39), slash (0x3d),
Caps_Lock (0x42), F1 (0x43), F5 (0x47), F7 (0x49), F9 (0x4b), KP_Home
(0x4f), KP_Up (0x50), KP_Prior (0x51), KP_Begin (0x54), BadKey (0x5d),
less (0x5e), Insert (0x6a), BadKey (0x7c), BadKey (0x8d), BadKey (0x97),
BadKey (0x98), BadKey (0x9a), BadKey (0xa2), BadKey (0xa6), BadKey
(0xa8), BadKey (0xb1), BadKey (0xb5), BadKey (0xbd), BadKey (0xc1),
BadKey (0xcb), BadKey (0xcd), BadKey (0xd3), BadKey (0xdb), BadKey
(0xdd), BadKey (0xe0), BadKey (0xeb)
lock minus (0x14), equal (0x15), e (0x1a), r (0x1b), y (0x1d), u (0x1e),
i (0x1f), p (0x21), Return (0x24), Control_L (0x25), a (0x26), f (0x29),
g (0x2a), j (0x2c), Shift_L (0x32), backslash (0x33), z (0x34), c
(0x36), v (0x37), period (0x3c), slash (0x3d), space (0x41), Caps_Lock
(0x42), F1 (0x43), F3 (0x45), F4 (0x46), F5 (0x47), F8 (0x4a), F9
(0x4b), Num_Lock (0x4d), Scroll_Lock (0x4e), KP_Home (0x4f), KP_Up
(0x50), KP_Prior (0x51), BadKey (0x5d), BadKey (0x7c), BadKey (0x8c),
BadKey (0x8d), BadKey (0x90), BadKey (0x94), BadKey (0x99), BadKey
(0xa5), BadKey (0xa8), BadKey (0xb1), BadKey (0xb5), BadKey (0xbd),
BadKey (0xc1), BadKey (0xc9), BadKey (0xca), BadKey (0xcb), BadKey
(0xcc), BadKey (0xcd), BadKey (0xd1), BadKey (0xd2), BadKey (0xd3),
BadKey (0xd4), BadKey (0xd5), BadKey (0xd9), BadKey (0xda), BadKey
(0xdb), BadKey (0xde), BadKey (0xe9), BadKey (0xea), BadKey (0xeb)
control minus (0x14), e (0x1a), r (0x1b), u (0x1e), i (0x1f), o (0x20),
p (0x21), bracketleft (0x22), Return (0x24), a (0x26), f (0x29), l
(0x2e), Shift_L (0x32), backslash (0x33), v (0x37), b (0x38), period
(0x3c), Alt_L (0x40), Caps_Lock (0x42), F1 (0x43), F5 (0x47), F6 (0x48),
F9 (0x4b), KP_Home (0x4f), KP_Up (0x50), KP_Subtract (0x52), KP_Enter
(0x6c), BadKey (0x7c), BadKey (0x88), BadKey (0x8c), BadKey (0x90),
BadKey (0x94), BadKey (0x97), BadKey (0x9a), BadKey (0x9c), BadKey
(0xa1), BadKey (0xa5), BadKey (0xa8), BadKey (0xbc), BadKey (0xbd),
BadKey (0xcb), BadKey (0xcc), BadKey (0xcd), BadKey (0xd3), BadKey
(0xd5), BadKey (0xdb), BadKey (0xdc), BadKey (0xeb)
mod1 q (0x18), w (0x19), bracketright (0x23), d (0x28), g (0x2a), j
(0x2c), k (0x2d), semicolon (0x2f), apostrophe (0x30), grave (0x31), v
(0x37), b (0x38), m (0x3a), period (0x3c), F2 (0x44), F5 (0x47), F9
(0x4b), KP_Home (0x4f), KP_Prior (0x51), KP_Subtract (0x52), Sys_Req
(0x5c), less (0x5e), Next (0x69), Insert (0x6a), BadKey (0x7c), BadKey
(0x8c), BadKey (0x95), BadKey (0x96), BadKey (0x99), BadKey (0x9b),
BadKey (0x9c), BadKey (0xa0), BadKey (0xa2), BadKey (0xa5), BadKey
(0xa6), BadKey (0xa8), BadKey (0xb0), BadKey (0xbd), BadKey (0xc8),
BadKey (0xcb), BadKey (0xcc), BadKey (0xd0), BadKey (0xd3), BadKey
(0xd5), BadKey (0xdb), BadKey (0xdf), BadKey (0xe8), BadKey (0xeb)
mod2 minus (0x14), e (0x1a), r (0x1b), t (0x1c), y (0x1d), u (0x1e), i
(0x1f), o (0x20), p (0x21), Return (0x24), Control_L (0x25), a (0x26), g
(0x2a), j (0x2c), Shift_L (0x32), backslash (0x33), v (0x37), b (0x38),
n (0x39), m (0x3a), period (0x3c), slash (0x3d), space (0x41), Caps_Lock
(0x42), F1 (0x43), F2 (0x44), F3 (0x45), F5 (0x47), F6 (0x48), F7
(0x49), F9 (0x4b), Num_Lock (0x4d), KP_Home (0x4f), KP_Up (0x50),
KP_Subtract (0x52), Sys_Req (0x5c), BadKey (0x5d), less (0x5e), Next
(0x69), Insert (0x6a), BadKey (0x7c), BadKey (0x8c), BadKey (0x8d),
BadKey (0x95), BadKey (0x96), BadKey (0x98), BadKey (0x99), BadKey
(0xa0), BadKey (0xa2), BadKey (0xa4), BadKey (0xa5), BadKey (0xa6),
BadKey (0xa8), BadKey (0xac), BadKey (0xb2), BadKey (0xb6), BadKey
(0xbc), BadKey (0xbe), BadKey (0xc2), BadKey (0xc9), BadKey (0xcb),
BadKey (0xcc), BadKey (0xd0), BadKey (0xd1), BadKey (0xd3), BadKey
(0xd4), BadKey (0xd5), BadKey (0xd9), BadKey (0xdb), BadKey (0xdd),
BadKey (0xde), BadKey (0xe8), BadKey (0xe9), BadKey (0xeb)
mod3 e (0x1a), r (0x1b), u (0x1e), i (0x1f), Control_L (0x25), f (0x29),
Shift_L (0x32), backslash (0x33), c (0x36), v (0x37), b (0x38), Shift_R
(0x3e), Alt_L (0x40), Caps_Lock (0x42), F1 (0x43), F2 (0x44), F3 (0x45),
F4 (0x46), F5 (0x47), F7 (0x49), F8 (0x4a), F9 (0x4b), F10 (0x4c),
Num_Lock (0x4d), Scroll_Lock (0x4e), KP_Home (0x4f), KP_Up (0x50),
KP_Prior (0x51), Sys_Req (0x5c), BadKey (0x5d), Down (0x68), BadKey
(0x7c), BadKey (0x8e), BadKey (0x96), BadKey (0x98), 

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

2010-03-10 Thread SIMOND Gilles
I also have Fedora 12 and pulseaudio-0.9.21 and I had the same problem 
with missing module-oss.so

But it is in the  source distribution, so  downloaded  from
http://0pointer.de/lennart/projects/pulseaudio/pulseaudio-0.9.21.tar.gz

compiled with ./configure and make, no special options
then copied the module-xx.so in

/usr/lib64/pulse-0.9.21/modules/



Gilles

On 10/03/2010 22:34, Hana Skoumalova wrote:

Hana Skoumalova wrote:

SIMOND Gilles wrote:

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=


It seems that pulseaudio in Fedora 12 doesn't contain module-oss
anymore. The version installed on my machine is pulseaudio-0.9.21. On my
home machine with Ubuntu 9.10/pulseaudio-0.9.19 module-oss exists. Has
anyone an idea what to do now?

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


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


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

2010-03-08 Thread SIMOND Gilles

Hello

I've also installed SRSS 4.2 on fedora 12, everything works, sound also
the only remainning problem (if you know how to solve it, you're 
welcome!) flash videos are displayed with the wrong colors in web browsers



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=

On 08/03/2010 12:16, Hana Skoumalova wrote:

Hello,

I managed to install and configure SRSS 4.2 on Fedora 12, but I have
problems with sound.

On the system console, the sound works (so the problem is not in
Fedora-not-supporting-multimedia).

The env variables AUDIODEV and UTAUDIODEV are set to
/tmp/SUNWut/dev/utaudio/utdsp-0, the devices in /tmp/SUNWut/dev/utaudio
are created:

total 8
drwxr-xr-x 2 root root 4096 2010-03-08 11:53 ./
drwxr-xr-x 3 root staff 4096 2010-03-08 11:07 ../
crw--- 1 skoumal staff 14, 3 2010-03-08 11:53 utdsp-0
prw--- 1 skoumal staff 0 2010-03-08 11:53 utdsp-0stat|
crw--- 1 skoumal staff 14, 0 2010-03-08 11:53 utmix-0

When I try to play something, the system pretends to play, but no sound
can be heard.

I even tried to replace the DTU, but the new one behaves exactly the
same way.

Can anyone help me to solve this problem?

Best regards,

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] XDMCP from sunray server dtlogin killed

2009-08-13 Thread SIMOND Gilles

Hi


when opening a remote X session (XDMCP) from the dtlogin screen of a 
sunray server, the session is killed after some minutes and the mobile 
session login dialog appears again.
It was working perfectly with srss 4.0 and the problem appears with srss 
4.1 and also srss 4.2



looking in the log file


Aug  7 08:53:55 obssf9 dtlogin[18795]: [ID 118685 user.info] 
pam_sunray_amgh::[DPY=16] AMGH_SUMMARY: token=escape.0003ba6ba
5c3, username=, AMGH_Done?=NO(Local Session), Details=AMGH is not 
configured., AMGH_Target=*NONE*
Aug  7 08:54:11 obssf9 dtlogin[18795]: [ID 699796 user.error] 
sunray_get_user:pam_sm_auth: pam_get_user returned 6 (PAM_CON

V_ERR)
Aug  7 08:54:11 obssf9 utauthd: [ID 794400 user.info] SessionManager0 
NOTICE: EMPTY: ACTIVE session
Aug  7 08:54:55 obssf9 utdtsession: [ID 702911 user.info] Delete 
(16,escape.0003ba6ba5c3)
Aug  7 08:54:55 obssf9 dtlogin[874]: [ID 691260 user.notice] 
pam_sunray_hotdesk:pam_sm_auth: ut_getTokenByDisplay failed -1

 for display :16
Aug  7 08:54:56 obssf9 utauthd: [ID 794400 user.info] SessionManager0 
NOTICE: EMPTY: ACTIVE session
Aug  7 08:54:56 obssf9 utauthd: [ID 233053 user.info] Terminator NOTICE: 
DISCONNECT IEEE802.0003ba6ba45e, escape.0003ba6ba5


it happens when the message

pam_sunray_hotdesk:pam_sm_auth: ut_getTokenByDisplay failed -1

is written

any clues?


Gilles Simond
begin:vcard
fn:Gilles Simond
n:Simond;Gilles
org:Universite de Geneve;Observatoire de Geneve
adr:;;Chemin des Maillettes, 51;Versoix;;1290;Switzerland
email;internet:gilles.sim...@unige.ch
title:Software engineer/ System manager
tel;work:+41 22 379 23 49
x-mozilla-html:TRUE
version:2.1
end:vcard

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