xshell 连接远程虚拟机然后:
sudo yum install ibus
yum install ibus-libpinyin
yum install im-chooser
(安装输入法管理软件)imsettings-switch ibus
(设置默认输入法为ibus)export LANG=zh_CN.utf8
export XMODIFIERS=@im=ibus
ibus-daemon –x &
reboot
imsettings-switch ibus
在终端进行设置 2 也可以在centos桌面环境手动进行设置 3 im-chooser
命令,运行会弹出窗口,选择ibus输入法,重启系统即可https://my.oschina.net/u/4275236/blog/3354295 https://www.cnblogs.com/xuanbjut/p/11797914.html https://blog.csdn.net/David0961/article/details/89358586 https://blog.csdn.net/Web_Rookie_Xun/article/details/79972013 https://blog.csdn.net/weixin_34125592/article/details/92302459