[winswitch] xpra unuseable on CentOS 5
lukashaase at gmx.at
Sat Nov 8 04:57:45 GMT 2014
Thanks for your answer.
Before I file a bug report I want to try it again here because I think I got a better handle what is wrong.
So in my application, when a child window opens, I realized that it largly reacts to mouse input but not to keyboard input.
As mentioned, this does not happen from the beginning but starts somewhen "randomly".
Reconnecting with "xpra attach" does not help, only restarting the whole server helps.
When this happens it seems that although the child window has focus, the keyboard input is redirected to its parent window (!).
I can observe this when I have focus on the child window (clicked on it, cursor above it) and when I press a button, instead of typing in
the child window I see the action taking place in the parent window.
Also, when this happens I can mark every entry in every input field and the cursor appears in every input field.
This screenshot shows an example of such a child window:
It can be seen that all text is marked (because I made a double click in every field) which should not happen. Also, the cursor flashes in each of the input fields.
When I press 'r' for example, it is not typed into any field but instead, an action associated with 'r' key is taken in the *parent* window which has no focus!
For the rest if the answers, see below:
> On 07/11/14 14:14, Lukas Haase wrote:
> > [...]
> > I have "Python 2.4.3", the standard from CentOS. Is this really too old?
> Very much so. Python 2.4.3 was released in early 2006 and upstream
> support has stopped a long time ago.
> CentOS 5 is supported in the 0.14 LTS branch only, but barely: it should
> run but it is not meant to provide the features or performance found on
> more recent OSes, versions 0.15 onwards will not support CentOS 5.x
> It is time to move on.
Unfortunately I can't switch the OS. At least I have root rights now but I can't upgrade the system.
Would you recommend to move to 0.14 LTS banch? If so, is there an easy way to install it via yum and winswitch repository?
Is there a way to install an appropriate python on CentOS 5?
If not, install it at least to something like /opt/new_python and let xpra use it?
I am also facing other weird messages like on the server:
$ xpra start :1984 --no-daemon --no-mdns --no-notification --no-pulseaudio
2014-11-07 16:39:22,591 your version of PyGTK is too old - expect some bugs
2014-11-07 16:39:22,665 cannot load dbus helper: No module named mainloop.glib
2014-11-07 16:39:22,667 Warning: outdated/buggy version of Python: 2.4.3.final.0
2014-11-07 16:40:05,546 Your Cairo is too old! Carrying on as best I can, but don't expect a miracle
2014-11-07 16:40:30,805 signal_safe_exec(['setxkbmap', '-rules', 'base', '-model', 'pc105', '-layout', 'us'],None) stdout='Couldn't interpret _XKB_RULES_NAMES property
Use defaults: rules - 'xorg' model - 'pc101' layout - 'us'
2014-11-07 16:40:30,805 signal_safe_exec(['setxkbmap', '-rules', 'base', '-model', 'pc105', '-layout', 'us'],None) stderr='Couldn't find rules file (base)
2014-11-07 16:40:30,805 ['setxkbmap', '-rules', 'base', '-model', 'pc105', '-layout', 'us'] with stdin=None, failed with exit code 252
And on the client:
$ xpra attach :1984 --encoding=rgb
2014-11-07 17:11:21,871 OpenGL support could not be enabled:
2014-11-07 17:11:21,871 No module named gdkgl
2014-11-07 17:11:21,910 signal_safe_exec(['setxkbmap', '-print'],None) stderr='Couldn't find rules file (base)
2014-11-07 17:11:21,910 '['setxkbmap', '-print']' failed with exit code 252
2014-11-07 17:11:22,155 dbus setup error: No module named mainloop.glib
2014-11-07 17:11:22,162 cannot use mmap: python version is too old?
2014-11-07 17:11:22,205 sound support not available: No module named sound
2014-11-07 17:11:22,239 server: Linux Linux-2.6.18-398.el5-x86_64-with-redhat-5.11-Final, Xpra version 0.14.10 (runknown)
Is there anything I could do w/o upgrading from CentOS 5?
More information about the shifter-users