Ok, so I have now done a bit more of digging.
The following steps reproduces the error on two different (Danish machines) 
desktop machines (Ubuntu 12.04):
- Install xrdp
- Add a Danish keyboard layout on your desktop
- Start terminal and write:
rdesktop -k da 127.0.0.1
- From within rdesktop open a terminal:
setxkbmap dk
sudo xrdp-genkeymap /etc/xrdp/km-0406.ini
sudo /etc/init.d/xrdp restart
- And logout
- Now, if I issue:
rdesktop -k da 127.0.0.1

I can use Danish characters when typing my username (No, I don’t have Danish 
characters in my username…)
But when I log in, open a terminal and query:
setxkbmap -query

I get:
rules: evdev
model: pc104
layout: us

I now type:
setxkbmap dk

close the rdesktop window and open a new rdesktop connection. Again, the 
keyboard is switched back to us.
The strange thing is that it apparently works if I try a Swedish keyboard 
instead?

Best,

Lars Ribe

On 09/06/2014, at 14.22, Lars Riisgaard Ribe <r...@cfin.au.dk> wrote:

> Dear XRDP-developers
> First of all: Thanks for a great program! It has made Remote Desktop’ing on 
> Linux so much easier!
> Now for my problem:
> On an Ubuntu 12.04 I have used the ScaryGliders X11RDP-o-Matic script which 
> created a ver0.9 xrdp server. I can easily login and everything is fine.
> My problem is now that some users are using the default US keyboard and some 
> are using a Danish keyboard.
> For Danish users, I have created the km-0406.ini in /etc/xrdp and when 
> connecting, I can type Danish characters in my username which is fine.
> If I log in, open a terminal and sets the keyboard to Danish (setxkbmap dk), 
> I can type Danish characters in the terminal.
> My problem is now, that if I disconnects and reconnects, the keyboard in the 
> terminal is reset to US, and I have to issue setxkbmap dk once more.
> Is this expected behavior?
> Is there some way of removing the lines setting the keyboard layout?
> 
> Please let me know if there is anything I can do 
> 
> Best,
> 
> Lars Ribe
> 
> 
> 
> ------------------------------------------------------------------------------
> HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
> Find What Matters Most in Your Big Data with HPCC Systems
> Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
> Leverages Graph Analysis for Fast Processing & Easy Data Exploration
> http://p.sf.net/sfu/hpccsystems
> _______________________________________________
> xrdp-devel mailing list
> xrdp-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xrdp-devel
> 



------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
xrdp-devel mailing list
xrdp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xrdp-devel

Reply via email to