On Thu, 20 Sep 2007 11:37:50 +0200
Vaclav Stepan <[EMAIL PROTECTED]> wrote:

> Hello,
> 
> did anybody succeed with correct XKB setup on SRSS running on a Debian
> stable server?

I have it working on Debian/unstable with SRSS 4 and half a year ago 
(when unstable was more or less identical to stable) with SRSS 3.1.1

> I had to upgrade the Debian distro from oldstable few days ago, which
> introduced some trouble with SRSS 3.1 installed at the moment (XKB
> broken etc.).
> As from the web it seemed that xkb should be working fairly well with
> SRSS 4.0 and furthermore I wanted to test the Windows Connector,
> I upgraded SRSS to 4.0.

Of course, upgrading SRSS on Debian is even less supported than installing it! 
-:)
I always try a clean installation from scratch, i.e. 
    - dump the output of utuser -o, utdesktop -o, utresadm -o, utresdef -o
      and  utxconfig -o into files and import  them at the end with the "-i" 
option
      into the new SRSS database
    - remove all sunw* debian packages
    - remove (or rename) all remaining directory trees, i.e. /opt/SUNW*,
      /var/opt/SUNW*, /etc/opt/SUNW*
    - install & configure new version

> I followed the procedure on the sun-rays wiki describing installation
> on Debian - up to the point regarding kernel modules compilation,
> which I did not want to carry out at the moment.

BTW, you only need them for audio and USB mass storage devices.


> 
> To get it working, it was necessary to:
> (1) Modify utprodinfo not to return the final \\n for /opt as
> installation directory (maybe introduced in some of the patches
> described on the Wiki?)

My utprodinfo also returns a newline at the end:
# /opt/SUNWut/lib/utprodinfo -p SUNWutwh BASEDIR |hexdump -c
0000000   /   o   p   t  \n                                            
0000005

Which script has a problem with this?


> (2) Create particular symlinks:
> cd /usr/lib/
> ln -s /usr/lib/liblber.so.2 liblber.so.199
> ln -s libldap.so.199 libldap.so.2

The necessesary links should be created by the utctl script which is 
called by /etc/init.d/utsyscfg.
Utctl creates the links only once. It then creates the empty file
/etc/opt/SUNWut/utctl.run as a flag which indicates that utctl has already done
its job. Perhaps you have this file  as a relic from an older installation?
BTW, it creates the links under /opt/SUNWut/lib/compatlinks/:

/opt/SUNWut/lib/compatlinks# ls -l
total 0
lrwxrwxrwx 1 root root 25 2007-08-22 21:49 liblber.so.199 -> 
/usr/lib/liblber-2.3.so.0
lrwxrwxrwx 1 root root 25 2007-08-22 21:49 libldap.so.199 -> 
/usr/lib/libldap-2.3.so.0


> 
> (3) Avoid the "Failed to disable kiosk mode" error in logs:
> touch /etc/opt/SUNWkio/kioskrc

Hm, this file is in the SUNWkior package. No idea why it is missing
on your installation.

> 
> (4) Yes and one return -> exit replacement in some shell script
>     (errors from utconfig script...)

Do you remember the name of the script?

> 
> Finally I enable the xkb for all clients, restarted SRSS and
> voila... ...Gnome complains about error while reading the xkb
> database, KDE happily switches layout, but it has no effect.
> 
> In Gnome keyboard layout settings dialog I see no layouts -
> as from strace outputs it looks like one has to create and fill
> an xorg.xml file similar to xfree86.xml supplied with libklavier.
> Hmm, but not even a simple setxbmap call works...
> 
> But - is there anybody with xkb support working on SRSS 4 and Debian,
> either knowing what's the problem or able to kick me in the right
> direction?
> 

Did you install the xkb-data-legacy package and apply the xkbinstall.sh script?


Meik


-- 
Meik Hellmund
Mathematisches Institut, Uni Leipzig
e-mail: [EMAIL PROTECTED]
http://www.math.uni-leipzig.de/~hellmund
_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users

Reply via email to