[pkg-fso-maint] Bug#584502: Bug#584502: race condition

2010-06-26 Thread Joachim Breitner
Hi,

Am Freitag, den 25.06.2010, 07:17 +0800 schrieb jida...@jidanni.org:
 It turns out all along that it must be a race condition.
 
 I.e., some parts of nodm have not fully handed the terminal over to the
 user as fast as seems. This never happened with xdm.
 
 $ cat .xsession
 j=zh_TW.UTF-8; export LANG=$j LC_CTYPE=$j
 s=sleep\ 5 j=C; export LC_COLLATE=$j LC_MESSAGES=$j
 export xmodifie...@im=scim GTK_IM_MODULE=xim; scim -d
 export XAUTHORITY=~/.Xauthority #for emacs as root, grass
 j=~/.bash_profile; test -f $j  . $j
 ( sleep 11  #bug 584502: nodm race condition.
 #if no delay, then on some machines won't be effective!
 xmodmap - \EOF

this looks like a known bug in the X server: xmodmap does not work if
run _before_ the first keypress. I observe it with gdm and auto-login.
If you use xdm without auto-login it explains why you can not reproduce
it.

Please check if you are affected by
http://bugs.freedesktop.org/show_bug.cgi?id=16364
or one of
https://bugs.freedesktop.org/show_bug.cgi?id=24552
http://bugs.freedesktop.org/show_bug.cgi?id=12523

Greetings,
Joachim

-- 
Joachim nomeata Breitner
Debian Developer
  nome...@debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: nome...@joachim-breitner.de | http://people.debian.org/~nomeata


signature.asc
Description: This is a digitally signed message part
___
pkg-fso-maint mailing list
pkg-fso-maint@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-fso-maint


[pkg-fso-maint] (no subject)

2010-06-26 Thread PSE

___
pkg-fso-maint mailing list
pkg-fso-maint@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-fso-maint


[pkg-fso-maint] Bug#584502: Bug#584502: race condition

2010-06-26 Thread jidanni
JB If you use xdm without auto-login it explains why you can not reproduce it.

Ah, because we've already typed our passwd etc.

JB Please check if you are affected by
JB http://bugs.freedesktop...

Perhaps. All I know is I use Debian sid/experimental.

Anyway, indeed my sleep 11 works as by that time I've already
typed some characters. Confirmed!

(One thing the user should not try is hitting Caps Lock before my 11
seconds are up to try and test things. I got myself stuck in CAPS LOCK
mode, and needed to plug in a USB keyboard to save myself from a cold
reboot, as there is no /bin/STTY command, only stty, and I had not used
getty -U!.)


P.S., I have this in a Makefile I call with emacs M-x compile,
h:some_file
emacsclient -n --eval '(kill-buffer Makefile)'
cd /tmp  nohup  .nohupemacs emacsclient -n +9 $?
sleep 2 #else left looking at *compilation* buffer if emacs started 
from .xsession
But it usually doesn't work. I still need to hit ^G anyway



___
pkg-fso-maint mailing list
pkg-fso-maint@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-fso-maint