Posts

Showing posts from December, 2021

Set up OCI Oracle Linux VMs with xrdp, sound and ibus IMEs

Step 1: Start an Oracle Linux 7 instance on OCI Choose Oracle Linux as the image type as it has the best library support. For the VCN the instance uses, make sure in its ingress security rule tcp/3389 ingress is allowed. Step 2: Install Graphical Desktop and xrdp Basically follow the instruction at https://www.e2enetworks.com/help/knowledge-base/how-to-install-xrdp-on-centos-and-redhat-linux-8-7/ At the step concerning enabling epel, simply go to /etc/yum.repos.d/ and enable the epel repo. At the end, sudo to root and create a password for the opc user. Step 3: Install xrdp-sink Follow the instruction at  https://github.com/neutrinolabs/pulseaudio-module-xrdp/wiki/Build-on-CentOS-7.x Step 4: Install IMEs sudo apt install fonts-noto-cjk fonts-noto-color-emoji dbus-x11 sudo apt install ibus ibus-table-cangjie5 ibus-anthy

Set up Windows Subsystem for Linux on Windows 11

Since Windows 11 Build 22000, the Linux subsystem on Windows supports GUI with audio. This greatly raises the usefulness of the Linux system. In the following we will look at how to set up the Linux subsystem with Chinese support. Step 1: Install Windows Subsystem for Linux. Follow the instruction at  https://docs.microsoft.com/en-us/windows/wsl/tutorials/gui-apps Step 2: Set up fonts and input method Install the necessary languages: sudo nano /etc/locale.gen Remove the comment sign next to the languages you wish to install. sudo locale-gen Install necessary fonts and ibus:  sudo apt install fonts-noto-cjk fonts-noto-color-emoji dbus-x11 sudo apt install ibus ibus-table-cangjie5 ibus-mozc Set up ibus service im-config - OK, Yes, ibus, OK, OK dbus-launch ibus-daemon -drx dbus-launch ibus-setup At General -> Keyboard Shortcuts, you may want to set the input method switch shortcut to <shift>space since the original <super>space conflicts with the Windows one.  At General -