public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
* Re: xserver german keyboard
  2003-09-11 14:47 ` Harold L Hunt II
@ 2003-09-11 14:35   ` Erik Thiele
  2003-09-11 14:47     ` Alexander Gottwald
  0 siblings, 1 reply; 10+ messages in thread
From: Erik Thiele @ 2003-09-11 14:35 UTC (permalink / raw)
  To: cygwin-xfree

On Thu, 11 Sep 2003 09:31:16 -0400
Harold L Hunt II <huntharo@msu.edu> wrote:

> http://xfree86.cygwin.com/docs/faq/cygwin-xfree-faq.html#q-xkb-not-working

i found out about "mount" and the /tmp :-) i didn't know about all this before.
there in tmp i found xwin.log, an excerpt:

winScreenInit - returning
InitOutput - Returning.
(==) winConfigKeyboard - Layout: "00000407" 
(==) Using preset keyboard for "German (Germany)" (00000407), type "4"
(EE) No primary keyboard configured
(==) Using compiletime defaults for keyboard
Rules = "xfree86" Model = "pc105" Layout = "de" Variant = "(null)" Options = "(null)"
Couldn't load XKB keymap, falling back to pre-XKB keymap
winBlockHandler - Releasing pmServerStarted
winBlockHandler - pthread_mutex_unlock () returned


i rebooted the machine and clicked the cygwin desktop icon and typed mount. this
is the result:

C:\cygwin\usr\X11R6\lib\X11\fonts on /usr/X11R6/lib/X11/fonts type system (binmode)
C:\cygwin\bin on /usr/bin type system (binmode)
C:\cygwin\lib on /usr/lib type system (binmode)
C:\cygwin\tmp on /tmp type user (binmode)
C:\cygwin on / type system (binmode)
c: on /cygdrive/c type user (binmode,noumount)
f: on /cygdrive/f type user (binmode,noumount)
p: on /cygdrive/p type user (binmode,noumount)
q: on /cygdrive/q type user (binmode,noumount)
t: on /cygdrive/t type user (binmode,noumount)

i think /tmp is already in binmode. after your mount commands nothing changed.

i'd like to strace the xserver to find out why it sais it cannot load xkb.

but once i strace it, it works!

what can i do?


cu & thx


Erik

-- 
Erik Thiele


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: xserver german keyboard
  2003-09-11 14:47 xserver german keyboard Erik Thiele
@ 2003-09-11 14:47 ` Harold L Hunt II
  2003-09-11 14:35   ` Erik Thiele
  0 siblings, 1 reply; 10+ messages in thread
From: Harold L Hunt II @ 2003-09-11 14:47 UTC (permalink / raw)
  To: cygwin-xfree

Erik,

Please check the mount type for /tmp.  For more information, please see:

http://xfree86.cygwin.com/docs/faq/cygwin-xfree-faq.html#q-xkb-not-working


Harold

Erik Thiele wrote:

> Hi.
> 
> I am using WIN 98 SE and the current cygwin and cygwin xfree.
> i want to use the x server for doing remote XDMCP onto my linux servers.
> i click onto the original cygwin icon on the desktop and get a shell.
> there i type:
> 
> /usr/X11R6/bin/XWin.exe -query roylewis
> 
> which works fine, but with US keyboard layout. not german! i.e. Y and Z are
> exchanged.
> 
> now look if i do:
> 
> strace /usr/X11R6/bin/XWin.exe -query roylewis
> 
> then it works! german keyboard layout. this VERY strange behaviour
> is reproducible.
> 
> in the past i experienced strange behaviour, sometimes the server is german,
> sometimes it is us. seems to be a timing issue. i don't understand.
> 
> please explain how to set german keyboard!
> 
> i cannot find a commandline option and the FAQ entry with the xf86config file,
> which by default does not exist, seems to be without effect. just exactly the
> same result as without the XF86Config in /etc/X11 with "de" keyboard.
> 
> 
> 
> cu & thx
> Erik
> 


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: xserver german keyboard
  2003-09-11 14:35   ` Erik Thiele
@ 2003-09-11 14:47     ` Alexander Gottwald
  2003-09-12  5:53       ` Erik Thiele
  0 siblings, 1 reply; 10+ messages in thread
From: Alexander Gottwald @ 2003-09-11 14:47 UTC (permalink / raw)
  To: cygwin-xfree

On Thu, 11 Sep 2003, Erik Thiele wrote:

> winScreenInit - returning
> InitOutput - Returning.
> (==) winConfigKeyboard - Layout: "00000407" 
> (==) Using preset keyboard for "German (Germany)" (00000407), type "4"
> (EE) No primary keyboard configured
> (==) Using compiletime defaults for keyboard
> Rules = "xfree86" Model = "pc105" Layout = "de" Variant = "(null)" Options = "(null)"
> Couldn't load XKB keymap, falling back to pre-XKB keymap
> winBlockHandler - Releasing pmServerStarted
> winBlockHandler - pthread_mutex_unlock () returned

Somehow the file produced by xkbcomp is not correct.

Try 
xkbcomp -xkm -m de /etc/X11/xkb/keymap/xfree86 $DISPLAY

This will print a lot of warnings and maybe some errors. 

bye
	ago
-- 
 Alexander.Gottwald@s1999.tu-chemnitz.de 
 http://www.gotti.org           ICQ: 126018723


^ permalink raw reply	[flat|nested] 10+ messages in thread

* xserver german keyboard
@ 2003-09-11 14:47 Erik Thiele
  2003-09-11 14:47 ` Harold L Hunt II
  0 siblings, 1 reply; 10+ messages in thread
From: Erik Thiele @ 2003-09-11 14:47 UTC (permalink / raw)
  To: cygwin-xfree

Hi.

I am using WIN 98 SE and the current cygwin and cygwin xfree.
i want to use the x server for doing remote XDMCP onto my linux servers.
i click onto the original cygwin icon on the desktop and get a shell.
there i type:

/usr/X11R6/bin/XWin.exe -query roylewis

which works fine, but with US keyboard layout. not german! i.e. Y and Z are
exchanged.

now look if i do:

strace /usr/X11R6/bin/XWin.exe -query roylewis

then it works! german keyboard layout. this VERY strange behaviour
is reproducible.

in the past i experienced strange behaviour, sometimes the server is german,
sometimes it is us. seems to be a timing issue. i don't understand.

please explain how to set german keyboard!

i cannot find a commandline option and the FAQ entry with the xf86config file,
which by default does not exist, seems to be without effect. just exactly the
same result as without the XF86Config in /etc/X11 with "de" keyboard.



cu & thx
Erik

-- 
Erik Thiele


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: xserver german keyboard
  2003-09-11 14:47     ` Alexander Gottwald
@ 2003-09-12  5:53       ` Erik Thiele
  2003-09-12  8:33         ` Alexander Gottwald
  2003-09-12 12:24         ` pnews
  0 siblings, 2 replies; 10+ messages in thread
From: Erik Thiele @ 2003-09-12  5:53 UTC (permalink / raw)
  To: cygwin-xfree

On Thu, 11 Sep 2003 16:47:39 +0200 (MEST)
Alexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de> wrote:

> On Thu, 11 Sep 2003, Erik Thiele wrote:
> 
> > winScreenInit - returning
> > InitOutput - Returning.
> > (==) winConfigKeyboard - Layout: "00000407" 
> > (==) Using preset keyboard for "German (Germany)" (00000407), type "4"
> > (EE) No primary keyboard configured
> > (==) Using compiletime defaults for keyboard
> > Rules = "xfree86" Model = "pc105" Layout = "de" Variant = "(null)" Options = "(null)"
> > Couldn't load XKB keymap, falling back to pre-XKB keymap
> > winBlockHandler - Releasing pmServerStarted
> > winBlockHandler - pthread_mutex_unlock () returned
> 
> Somehow the file produced by xkbcomp is not correct.
> 
> Try 
> xkbcomp -xkm -m de /etc/X11/xkb/keymap/xfree86 $DISPLAY
> 

Warning:          Attempt to alias <XFER> to non-existent key <I01>
                  Ignored
Warning:          Attempt to alias <NFER> to non-existent key <I03>
                  Ignored
Warning:          Attempt to alias <AE13> to non-existent key <I05>
                  Ignored
Warning:          No symbols defined for <FK13> (keycode 118)
Warning:          No symbols defined for <FK14> (keycode 119)
Warning:          No symbols defined for <FK15> (keycode 120)
Warning:          No symbols defined for <FK16> (keycode 121)
Warning:          No symbols defined for <FK17> (keycode 122)
Warning:          No symbols defined for <KPDC> (keycode 123)
Warning:          No symbols defined for <XFER> (keycode 129)
Warning:          No symbols defined for <I02> (keycode 130)
Warning:          No symbols defined for <NFER> (keycode 131)
Warning:          No symbols defined for <I04> (keycode 132)
Warning:          No symbols defined for <AE13> (keycode 133)
Warning:          No symbols defined for <I06> (keycode 134)
Warning:          No symbols defined for <I07> (keycode 135)
Warning:          No symbols defined for <I08> (keycode 136)
Warning:          No symbols defined for <I09> (keycode 137)
Warning:          No symbols defined for <I0A> (keycode 138)
Warning:          No symbols defined for <I0B> (keycode 139)
Warning:          No symbols defined for <I0C> (keycode 140)
Warning:          No symbols defined for <I0D> (keycode 141)
Warning:          No symbols defined for <I0E> (keycode 142)
Warning:          No symbols defined for <I0F> (keycode 143)
Warning:          No symbols defined for <I10> (keycode 144)
Warning:          No symbols defined for <I11> (keycode 145)
Warning:          No symbols defined for <I12> (keycode 146)
Warning:          No symbols defined for <I13> (keycode 147)
Warning:          No symbols defined for <I14> (keycode 148)
Warning:          No symbols defined for <I15> (keycode 149)
Warning:          No symbols defined for <I16> (keycode 150)
Warning:          No symbols defined for <I17> (keycode 151)
Warning:          No symbols defined for <I18> (keycode 152)
Warning:          No symbols defined for <I19> (keycode 153)
Warning:          No symbols defined for <I1A> (keycode 154)
Warning:          No symbols defined for <I1B> (keycode 155)
Warning:          No symbols defined for <I1E> (keycode 158)
Warning:          No symbols defined for <I1F> (keycode 159)
Warning:          No symbols defined for <I20> (keycode 160)
Warning:          No symbols defined for <I21> (keycode 161)
Warning:          No symbols defined for <I22> (keycode 162)
Warning:          No symbols defined for <I23> (keycode 163)
Warning:          No symbols defined for <I24> (keycode 164)
Warning:          No symbols defined for <I25> (keycode 165)
Warning:          No symbols defined for <I26> (keycode 166)
Warning:          No symbols defined for <I27> (keycode 167)
Warning:          No symbols defined for <I28> (keycode 168)
Warning:          No symbols defined for <I29> (keycode 169)
Warning:          No symbols defined for <I2B> (keycode 171)
Warning:          No symbols defined for <I2C> (keycode 172)
Warning:          No symbols defined for <I2D> (keycode 173)
Warning:          No symbols defined for <I2E> (keycode 174)
Warning:          No symbols defined for <I2F> (keycode 175)
Warning:          No symbols defined for <I30> (keycode 176)
Warning:          No symbols defined for <I31> (keycode 177)
Warning:          No symbols defined for <I32> (keycode 178)
Warning:          No symbols defined for <I33> (keycode 179)
Warning:          No symbols defined for <I34> (keycode 180)
Warning:          No symbols defined for <I39> (keycode 185)
Warning:          No symbols defined for <I3A> (keycode 186)
Warning:          No symbols defined for <I3B> (keycode 187)
Warning:          No symbols defined for <I3C> (keycode 188)
Warning:          No symbols defined for <I42> (keycode 194)
Warning:          No symbols defined for <I43> (keycode 195)
Warning:          No symbols defined for <I44> (keycode 196)
Warning:          No symbols defined for <I45> (keycode 197)
Warning:          No symbols defined for <I4A> (keycode 202)
Warning:          No symbols defined for <I54> (keycode 212)
Warning:          No symbols defined for <I55> (keycode 213)
Warning:          No symbols defined for <I56> (keycode 214)
Warning:          No symbols defined for <I57> (keycode 215)
Warning:          No symbols defined for <I58> (keycode 216)
Warning:          No symbols defined for <I59> (keycode 217)
Warning:          No symbols defined for <I5A> (keycode 218)
Warning:          No symbols defined for <I5E> (keycode 222)
Warning:          No symbols defined for <I5F> (keycode 223)
Warning:          No symbols defined for <I60> (keycode 224)
Warning:          No symbols defined for <I61> (keycode 225)
Warning:          No symbols defined for <I62> (keycode 226)
Warning:          No symbols defined for <I63> (keycode 227)
Warning:          No symbols defined for <I64> (keycode 228)
Warning:          No symbols defined for <I65> (keycode 229)
Warning:          No symbols defined for <I66> (keycode 230)
Warning:          No symbols defined for <I67> (keycode 231)
Warning:          No symbols defined for <I68> (keycode 232)
Warning:          No symbols defined for <I69> (keycode 233)
Warning:          No symbols defined for <I6A> (keycode 234)
Warning:          No symbols defined for <I6B> (keycode 235)
Warning:          No symbols defined for <I6C> (keycode 236)
Warning:          No symbols defined for <I6D> (keycode 237)
Warning:          No symbols defined for <I6E> (keycode 238)
Warning:          No symbols defined for <I6F> (keycode 239)
Warning:          No symbols defined for <I70> (keycode 240)
Warning:          No symbols defined for <I71> (keycode 241)
Warning:          No symbols defined for <I72> (keycode 242)
Warning:          No symbols defined for <I73> (keycode 243)
Warning:          No symbols defined for <I74> (keycode 244)
Warning:          No symbols defined for <I75> (keycode 245)
Warning:          No symbols defined for <I76> (keycode 246)
Warning:          No symbols defined for <I77> (keycode 247)
Warning:          No symbols defined for <I78> (keycode 248)
Warning:          No symbols defined for <I79> (keycode 249)
Warning:          No symbols defined for <I7A> (keycode 250)
Warning:          No symbols defined for <I7B> (keycode 251)
Warning:          No symbols defined for <I7C> (keycode 252)
Warning:          No symbols defined for <I7D> (keycode 253)
Warning:          No symbols defined for <I7E> (keycode 254)
Warning:          No symbols defined for <I7F> (keycode 255)



> This will print a lot of warnings and maybe some errors. 

it does. but i don't know what to do with them.

i don't understand why X works with startx, but not with my starting method.

my starting method:link on desktop. target:
c:\cygwin\bin\bash.exe -c '/usr/X11R6/bin/XWin.exe :0 -query myserver -once -fullscreen'

i don't understand why it works with strace, but not without.

i don't understand why sometimes he sais he cannot find his cyg6x11 dll,
but starts anyway.

something is very weird here... i don't know how to debug.
please give me any clue ;-)

i updated to new x version right now. no changes.

cu & thx
Erik

-- 
Erik Thiele


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: xserver german keyboard
  2003-09-12  5:53       ` Erik Thiele
@ 2003-09-12  8:33         ` Alexander Gottwald
  2003-09-12 12:24         ` pnews
  1 sibling, 0 replies; 10+ messages in thread
From: Alexander Gottwald @ 2003-09-12  8:33 UTC (permalink / raw)
  To: cygwin-xfree

On Fri, 12 Sep 2003, Erik Thiele wrote:

> 
> it does. but i don't know what to do with them.
> 
> i don't understand why X works with startx, but not with my starting method.
> 
> my starting method:link on desktop. target:
> c:\cygwin\bin\bash.exe -c '/usr/X11R6/bin/XWin.exe :0 -query myserver -once -fullscreen'

I'm using a simple shortcut
c:\cygwin\usr\X11R6\bin\XWin.exe -query zipoli -nowinkill -unixkill -nodecoration

> i don't understand why it works with strace, but not without.

This looks like a race condition. 
 
> i don't understand why sometimes he sais he cannot find his cyg6x11 dll,
> but starts anyway.

This is most likely an error message from xkbcomp. If this message is shown,
then xkbcomp will not compile the keyboard layout for the server and you
will stay with the default us layout.

Is the requested dll really cyg6x11.dll? Or was this a mistake. The normal
name is cygX11-6.dll. Any other dllname indicates an problem with the installed
files or a conflict with other installed files (eg. from MS Services for Unix)

bye
	ago
-- 
 Alexander.Gottwald@s1999.tu-chemnitz.de 
 http://www.gotti.org           ICQ: 126018723


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: xserver german keyboard
  2003-09-12  5:53       ` Erik Thiele
  2003-09-12  8:33         ` Alexander Gottwald
@ 2003-09-12 12:24         ` pnews
  2003-09-13  8:25           ` Erik Thiele
  1 sibling, 1 reply; 10+ messages in thread
From: pnews @ 2003-09-12 12:24 UTC (permalink / raw)
  To: cygwin-xfree

[snip]
> i don't understand why X works with startx, but not with my starting method.
> 
> my starting method:link on desktop. target:
> c:\cygwin\bin\bash.exe -c '/usr/X11R6/bin/XWin.exe :0 -query myserver -once -fullscreen'

Have you included the PATH additions mentioned in startxwin.bat before
you run your link?


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: xserver german keyboard
  2003-09-12 12:24         ` pnews
@ 2003-09-13  8:25           ` Erik Thiele
  2003-09-13 11:48             ` pnews
  0 siblings, 1 reply; 10+ messages in thread
From: Erik Thiele @ 2003-09-13  8:25 UTC (permalink / raw)
  To: cygwin-xfree; +Cc: pnews

On Sat, 13 Sep 2003 00:24:45 +1200 (NZST)
pnews@lomarline.freeserve.co.uk wrote:

> [snip]
> > i don't understand why X works with startx, but not with my starting method.
> > 
> > my starting method:link on desktop. target:
> > c:\cygwin\bin\bash.exe -c '/usr/X11R6/bin/XWin.exe :0 -query myserver -once -fullscreen'
> 
> Have you included the PATH additions mentioned in startxwin.bat before
> you run your link?
> 

ok. seems like it was a problem with PATH settings or my setting of the current working directory.

i got a new FAQ entry:
the problem is my windows is german. i hope i used the right translations in (brackets) !
if not please correct.


Q: how do i make a desktop icon on my win98 machine, which contacts
   my XDMCP server for a remote session?

A: right-click in the desktop. choose Neu(new) Verknuepfung(link).
   as commandline type
   c:\cygwin\bin\bash.exe -c 'PATH=/bin:/usr/X11R6/bin XWin.exe :0 -query myserver.mydomain -once -fullscreen'
   as "Ausfuehren in" (execution path) choose C:\

   if you don't do the PATH stuff, or maybe even don't choose C:\ as root path, you may encounter
   strance problems which result in libX..DLL not found and you won't get german keyboard support!



Q: what the heck! sometimes my german keyboard works, sometimes not! i don't understand!
   and he always sais he not find my libx.... DLL !
A: the xkbcomp program does not work if your PATH settings don't include /usr/X11R6/bin.
   then the xserver work's but has only US keys.



i am using this configuration in order to connect our windows office computers to the rest of the network
and software by doing remote X11 sessions.

thx for all your help &
of course thx for cygwin!

cu
erik



-- 
Erik Thiele


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: xserver german keyboard
  2003-09-13  8:25           ` Erik Thiele
@ 2003-09-13 11:48             ` pnews
  2003-09-29 12:12               ` Erik Thiele
  0 siblings, 1 reply; 10+ messages in thread
From: pnews @ 2003-09-13 11:48 UTC (permalink / raw)
  To: cygwin-xfree

> 
> On Sat, 13 Sep 2003 00:24:45 +1200 (NZST)
> pnews@lomarline.freeserve.co.uk wrote:
> 
> > [snip]
> Q: how do i make a desktop icon on my win98 machine, which contacts
>    my XDMCP server for a remote session?
> 
> A: right-click in the desktop. choose Neu(new) Verknuepfung(link).
>    as commandline type
>    c:\cygwin\bin\bash.exe -c 'PATH=/bin:/usr/X11R6/bin XWin.exe :0 -query myserver.mydomain -once -fullscreen'
>    as "Ausfuehren in" (execution path) choose C:\
[snip]

I admire your pluck at sorting this out, but to make life simple for
yourself: Why not use explorer go to the dir C:\cygwin\usr\X11R6\bin
make a copy of the batch file startxdmcp.bat to a name like Xquery.bat;
Edit the new batch file to your prefrences and then using the RIGHT mouse
button in explorer, drag the new script onto the desktop choosing the
link option?


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: xserver german keyboard
  2003-09-13 11:48             ` pnews
@ 2003-09-29 12:12               ` Erik Thiele
  0 siblings, 0 replies; 10+ messages in thread
From: Erik Thiele @ 2003-09-29 12:12 UTC (permalink / raw)
  To: cygwin-xfree

On Sat, 13 Sep 2003 23:38:07 +1200 (NZST)
pnews@lomarline.freeserve.co.uk wrote:

> > 
> > On Sat, 13 Sep 2003 00:24:45 +1200 (NZST)
> > pnews@lomarline.freeserve.co.uk wrote:
> > 
> > > [snip]
> > Q: how do i make a desktop icon on my win98 machine, which contacts
> >    my XDMCP server for a remote session?
> > 
> > A: right-click in the desktop. choose Neu(new) Verknuepfung(link).
> >    as commandline type
> >    c:\cygwin\bin\bash.exe -c 'PATH=/bin:/usr/X11R6/bin XWin.exe :0
> >    -query myserver.mydomain -once -fullscreen' as "Ausfuehren in"
> >    (execution path) choose C:\
> [snip]
> 
> I admire your pluck at sorting this out, but to make life simple for
> yourself: Why not use explorer go to the dir C:\cygwin\usr\X11R6\bin
> make a copy of the batch file startxdmcp.bat to a name like
> Xquery.bat; Edit the new batch file to your prefrences and then using
> the RIGHT mouse button in explorer, drag the new script onto the
> desktop choosing the link option?
> 

hi

still it does not work.

i updated to new cygwin. i don't know if it really had worked with the
old one. but now i have a race condition. sometimes it works, sometimes
keyboard is english.

i added a strace before the call to XWin.exe but that way it runs too
slow. at least it works!

the batch file startxdmcp also seems to always work. but i do not
understand why. the xserver
cannot be started reliably from a bash but only from a batch file, but
why is this so???

cu
erik

-- 
Erik Thiele


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2003-09-29 12:12 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-11 14:47 xserver german keyboard Erik Thiele
2003-09-11 14:47 ` Harold L Hunt II
2003-09-11 14:35   ` Erik Thiele
2003-09-11 14:47     ` Alexander Gottwald
2003-09-12  5:53       ` Erik Thiele
2003-09-12  8:33         ` Alexander Gottwald
2003-09-12 12:24         ` pnews
2003-09-13  8:25           ` Erik Thiele
2003-09-13 11:48             ` pnews
2003-09-29 12:12               ` Erik Thiele

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).