Opened 12 years ago

Last modified 12 years ago

#215 closed defect

Wrong keyboard setting when resume NX session — at Version 3

Reported by: Rogerio Bastos Owned by: Antoine Martin
Priority: major Milestone: 0.12
Component: Server Keywords:
Cc:

Description (last modified by Antoine Martin)

I'm using winswitch 0.12.14 in server and client-side, and NX protocol to open Desktop sessions. However, every time I resume a session the keyboard settings is not set and I need to execute the following command to fix:

$ setxkbmap -layout us -variant alt-intl -print | xkbcomp - $DISPLAY

Change History (4)

Changed 12 years ago by Rogerio Bastos

Attachment: server.log added

comment:1 Changed 12 years ago by Rogerio Bastos

Attached part of server log. I think the relevant parts are:

No protocol specified
Error:            Cannot open display ":61"
                  Exiting
[EE] 2012/13/08 14:00:16 xmodmap_util.exec_xmodmap({'LANG': 'en_US.UTF-8', 'TERM': 'screen', 'SHELL': '/bin/bash', \
    'TMUX_PANE': '%0', 'SHLVL': '2', 'SSH_TTY': '/dev/pts/1', 'SSH_CLIENT': '10.1.0.70 57193 22', \
    'TMUX': '/tmp/tmux-1074/default,5233,0', 'HISTCONTROL': 'ignoreboth', 'PWD': '/home/neptuno/rogeriobastos', \
    'LOGNAME': 'rogeriobastos', 'USER': 'rogeriobastos', 'PATH': '/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games', \
    'MAIL': '/var/mail/rogeriobastos', 'LS_COLORS': '...', 'HOME': '/home/neptuno/rogeriobastos', 'DISPLAY': ':61', \
    '_': '/usr/bin/winswitch_server', 'SSH_CONNECTION': '10.1.0.70 57193 10.1.0.17 22'},-pm) \
    process terminated with error code 1, stdout=, stderr=No protocol specified/usr/bin/xmodmap:  unable to open display ':61'
Last edited 12 years ago by Antoine Martin (previous) (diff)

comment:2 Changed 12 years ago by Rogerio Bastos

Also there is many defunct kill processes. They are children of the winswitch_server.

$ ps aux | grep kill
1074      5923  0.0  0.0      0     0 pts/2    Z+   Aug13   0:00 [kill] <defunct>
1074      6805  0.0  0.0      0     0 pts/2    Z+   Aug13   0:00 [kill] <defunct>
1074     10082  0.0  0.0      0     0 pts/2    Z+   09:01   0:00 [kill] <defunct>
$ pstree 5577
winswitch_serve─┬─3*[kill]
                └─sh
Last edited 12 years ago by Antoine Martin (previous) (diff)

comment:3 Changed 12 years ago by Antoine Martin

Description: modified (diff)
Owner: changed from Antoine Martin to Antoine Martin
Status: newaccepted
Note: See TracTickets for help on using tickets.