[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    Third level chooser dysfunct in untrusted clients
From:       Lasse Kliemann <lasse-list-xorg-2008 () mail ! plastictree ! net>
Date:       2011-11-13 17:40:19
Message-ID: 20111113174019.GJ2306 () lasse ! mail ! plastictre ! net
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


My keyboard layout makes use of a third level chooser to give 
additional meaning to certain keys, e.g.

  key <AD01> { [ q, Q, slash ] };

The third level chooser is defined like so (here the space bar):

  key <SPCE> { symbols[Group1] = [ ISO_Level3_Shift ] };

So when I press space and Q, I get '/'.

This works fine so far.

However, when I start an untrusted client, the third level 
chooser stops working (so pressing space and Q produces 'q',
not '/'). Otherwise the layout is maintained.

When I try to load the layout via setxkbmap from the untrusted 
client, it says that the XKB extension is not available. It is 
not uncommon that certain extensions are not available to 
untrusted clients, and usually that was not a problem for me. But 
now it is.

Can anything be done about it? I am using the latest Xorg files 
from <ftp://xorg.freedesktop.org/pub/xorg/individual>.

The untrusted client is given a cookie generated using a command 
similar to this:

  xauth generate :0 . untrusted

I use untrusted connections to isolate certain clients.

A workaround is to start Xnest with an untrusted connection and 
then run the client inside of Xnest. Hopefully, there is a better 
way.

[Attachment #5 (application/pgp-signature)]

_______________________________________________
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: freedesktop-xorg@progressive-comp.com

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic