Hi,
I've installed arch Linux on my Odroid ARM N2. All is well, except for the X11 keyboard layout, and I can't for the life of me work out how to set it, so now i feel like I'm going around in circles!
Here's what I do:
I ssh to the odoid N2 from my main desktop PC (manjaro linux)- connects fine.
This is what I get if i type in localectl on my odroid:
$this->bbcode_second_pass_code('', '[Minfilia ssh]# localectl
System Locale: LANG=en_GB.UTF-8
VC Keymap: uk
X11 Layout: n/a')
I type in the following:
$this->bbcode_second_pass_code('', 'setxkbmap -model pc105 -layout gb -variant extd')
I receive this error message:
$this->bbcode_second_pass_code('', 'Cannot open display "localhost:10.0"')
As an aside, then if I type in the same command (localectl) on my desktop pc (manjaro) then I receive the following info - note the extra X11 info i.e. X11 Layout, X11 Model, X11 Variant (so this is what I'm trying to achieve!):
$this->bbcode_second_pass_code('', '[user@yshtola:~]$ localectl
System Locale: LANG=en_GB.UTF-8
VC Keymap: uk
X11 Layout: gb
X11 Model: pc105
X11 Variant: extd')
Things that I have tried:
1. set up X11 forwarding in my sshd.config & also ssh.config file:
$this->bbcode_second_pass_code('', 'X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost no')
2. Added the following in ~/.bashrc
$this->bbcode_second_pass_code('', 'if [ -n "$SSH_CLIENT" ] || [ -n "$SSH_CONNECTION" ]; then
export DISPLAY=:0.0
fi ')
3. installed xhost, and tried the following:
$this->bbcode_second_pass_code('', 'xhost +
xhost + <username> (<username> is my actual local linux account name)
')
4. Xauth magic cookie is created, and also only available under /root/.Xauthority (only root has r/w access to this file).
So I'm completely open to ideas please