How to Install XRDP on Ubuntu-20.04
Beyond Here
Environment
Device : Odroid-HC2(orXU4)
OS : Ubuntu-20.04P
1. Install XRDP
$ sudo install xrdp icewm -y
$ sudo install icewm -y
$ cp /etc/xrdp/startwm.sh /etc/xrdp/startwm.sh.orig
$ nano /etc/xrdp/startwm.sh
Change Configuration
test -x /etc/X11/Xsession && exec /etc/X11/Xsession
exec /bin/sh /etc/X11/Xsession
==>
#test -x /etc/X11/Xsession && exec /etc/X11/Xsession
#exec /bin/sh /etc/X11/Xsession
mate-session
2. Setup Korean Language
$ sudo apt install ibus ibus-hangul
$ cp ~/.bashrc ~/.bashrc.orig
$ nano ~/.bashrc
Insert Configuration
export GTK_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
export QT_IM_MODULE=ibus