[FreeNX-kNX] Keyboard Layout using RDP connections

Nicolas Piganeau np at obp.fr
Fri Sep 7 20:04:52 UTC 2007


Hi Fabian,

I have the same problem and have implemented the solution you propose. 
Unfortunately it does not work: the session starts with a us keyboard. The 
session starts in a window.

I have also tried the following (if it helps): 
- launching a unix-application session with application "xterm" => I get the 
correct keyboard (fr in my case). From this xterm I started rdesktop and I 
get a RDP session with the right keyboard in full screen. This is what I want 
but in a single step! 

- I also tried launching a unix-application session with 
application "rdesktop -f -k fr -u username server_ip". The session starts 
fullscreen but the keyboard is not usable at all (whatever key I press, I 
nothing happens)

Do you have any other idea how to solve this?
Thank you.

NPi 

Le vendredi 31 août 2007, Fabian Franz a écrit :
> > > There might be a keyboard=load parameter needed, which I had not
> > > reverse
> >
> > engineered at that time.
> >
> > I tried Nomachine Client 2.0.9 and 3.0 for Windows. The result was the
> > same. Choosing a fix keyboard layout in client 2.0.9 did not work, too...
>
> Yeah, okay so it is that _windows_ problem again.
>
> I have an idea. You could try to change the server version to 2.1.0. It
> might help, because NX client sends different parameters regarding on
> reported server version.
>
> This change must be done in nxloadconfig, where it says 1.5.0-70. Change
> that to 2.1.0-70.
>
> For the other idea:
> > > Hm, sure ...
> > >
> > > If we can't fix the issue with the client (which would be the best),
> > > you
> >
> > could try to change nxserver:
> > > Around the start of startsession (after the lonely echo_x) do a:
> > >
> > > if [ "$(getparam type)" = "windows" ]
> > > then
> > >    type="unix-application"
> > >    application="rdesktop -f -u $(getparam agent_user) -k $(getparam
> >
> > keyboard) $(getparam agent_server)"
> >
> > >    CMDLINE="$CMDLINE&type=$type&application=$application"
> > > fi
> > >
> > > It might be that the parameter is not keyboard, but called differently.
>
> Okay then the addition would be:
>
> # HACK change session from starting nxdesktop to
> # start nxagent + rdesktop in full screen.
>
> if [ "$(getparam type)" = "windows" ]
> then
>    type="unix-application"
>    application="rdesktop -f -u $(getparam agent_user) -k $(getparam kbload
> | cut -d'/' -f2) $(getparam agent_server)"
> CMDLINE="$CMDLINE&type=$type&application=$application"
> fi
>
> > > If you need to automatic filling in of the password, you have more work
> >
> > to do:
> > > Use a rdesktop-start script like in first solution add "-p -" as
> >
> > parameter and add in nxnode:
> > > agent_password=$(getparam agent_password)
> > > +export agent_password
> > >
> > > Then do in rdesktop-start:
> > >
> > > #!/bin/sh
> > >
> > > echo $agent_password | rdesktop "$@"
> > >
> > > Thats all.
> >
> > Thank you very much. Thats great, but i am using NX in a "larger"
> > environment. There are about 20 users who connect to different servers.
>
> Yes, I _did_ understand that ;-). That is why this HACK automatically
> starts rdesktop with the correct supplied parameters with different
> keyboard layout and different servers. Those are taken directly from the
> nxclient gui.
>
> cu
>
> Fabian
>
> PS: If none of those options work for you (or take too much time to
> understand / implement) you can also use commercial support / commercial
> customization. If that is what you need, drop me a mail in private.
> ________________________________________________________________
>      Were you helped on this list with your FreeNX problem?
>     Then please write up the solution in the FreeNX Wiki/FAQ:
>   http://openfacts.berlios.de/index-en.phtml?title=FreeNX_FAQ
>          Don't forget to check the NX Knowledge Base:
>                  http://www.nomachine.com/kb/
>
> ________________________________________________________________
>        FreeNX-kNX mailing list --- FreeNX-kNX at kde.org
>       https://mail.kde.org/mailman/listinfo/freenx-knx
> ________________________________________________________________





More information about the FreeNX-kNX mailing list