$ sudo apt update
$ sudo apt upgrade
$ sudo apt install mc ssh samba
$ sudo apt install spice-vdagent
$ sudo apt install xrdp
$ sudo dpkg-reconfigure xserver-xorg-legacy
$ sudo nano /etc/polkit-1/localauthority.conf.d/02-allow-colord.conf
Вставить:
polkit.addRule(function(action, subject) {
if ((action.id == “org.freedesktop.color-manager.create-device” ||
action.id == “org.freedesktop.color-manager.create-profile” ||
action.id == “org.freedesktop.color-manager.delete-device” ||
action.id == “org.freedesktop.color-manager.delete-profile” ||
action.id == “org.freedesktop.color-manager.modify-device” ||
action.id == “org.freedesktop.color-manager.modify-profile”) &&
subject.isInGroup(“{group}”)) {
return polkit.Result.YES;
}
});
Сохранить.
$ sudo reboot
Посмотреть тип сессии:
$ echo $XDG_SESSION_TYPE
keyboard layout set only to "us" after reconnect session instead "us,ru"
Смотреть не в сессии xrdp!
$ sudo setxkbmap -print
; if two sections have the same keyboard_type and keyboard_subtype, then
; the latter could override the former.
xkb_keymap {
xkb_keycodes { include "evdev+aliases(qwerty)" };
xkb_types { include "complete" };
xkb_compat { include "complete+ledscroll(group_lock)" };
xkb_symbols { include "pc+us+ru:2+ru:3+inet(evdev)+group(alt_shift_toggle)" };
xkb_geometry { include "pc(pc105)" };
};
[graphite ~]% setxkbmap -print
$ sudo nano /etc/xrdp/xrdp_keyboard.ini
Изменить:
(-) rdp_layout_us=us
(+) rdp_layout_us=us,ru
Добавить:
Пример на сайте проекта
в комментах
[rdp_keyboard_ru]
keyboard_type=4
keyboard_type=7
keyboard_subtype=1
model=pc105
options=grp:alt_shift_toggle
rdp_layouts=default_rdp_layouts
layouts_map=layouts_map_ru
[layouts_map_ru]
rdp_layout_us=us,ru
rdp_layout_ru=us,ru
Сохранить.
.
$ sudo apt upgrade
$ sudo apt install mc ssh samba
$ sudo apt install spice-vdagent
$ sudo apt install xrdp
$ sudo dpkg-reconfigure xserver-xorg-legacy
$ sudo nano /etc/polkit-1/localauthority.conf.d/02-allow-colord.conf
Вставить:
polkit.addRule(function(action, subject) {
if ((action.id == “org.freedesktop.color-manager.create-device” ||
action.id == “org.freedesktop.color-manager.create-profile” ||
action.id == “org.freedesktop.color-manager.delete-device” ||
action.id == “org.freedesktop.color-manager.delete-profile” ||
action.id == “org.freedesktop.color-manager.modify-device” ||
action.id == “org.freedesktop.color-manager.modify-profile”) &&
subject.isInGroup(“{group}”)) {
return polkit.Result.YES;
}
});
Сохранить.
$ sudo reboot
Посмотреть тип сессии:
$ echo $XDG_SESSION_TYPE
keyboard layout set only to "us" after reconnect session instead "us,ru"
Смотреть не в сессии xrdp!
$ sudo setxkbmap -print
; if two sections have the same keyboard_type and keyboard_subtype, then
; the latter could override the former.
xkb_keymap {
xkb_keycodes { include "evdev+aliases(qwerty)" };
xkb_types { include "complete" };
xkb_compat { include "complete+ledscroll(group_lock)" };
xkb_symbols { include "pc+us+ru:2+ru:3+inet(evdev)+group(alt_shift_toggle)" };
xkb_geometry { include "pc(pc105)" };
};
[graphite ~]% setxkbmap -print
$ sudo nano /etc/xrdp/xrdp_keyboard.ini
Изменить:
(-) rdp_layout_us=us
(+) rdp_layout_us=us,ru
Добавить:
Пример на сайте проекта
в комментах
[rdp_keyboard_ru]
keyboard_type=4
keyboard_type=7
keyboard_subtype=1
model=pc105
options=grp:alt_shift_toggle
rdp_layouts=default_rdp_layouts
layouts_map=layouts_map_ru
[layouts_map_ru]
rdp_layout_us=us,ru
rdp_layout_ru=us,ru
Сохранить.
Комментариев нет:
Отправить комментарий