• centos7.5英文环境切换到中文环境,再切回中文环境后 ,terminal不能用


    1.查看系统日志

    less /var/logs/message

    May 12 21:54:41 localhost python: SELinux is preventing /usr/libexec/ibus-x11 from read access on the file /usr/share/themes/Ant/gtk-3.20/gtk.css.#012#012*****  Plugin catchall
     (100. confidence) suggests   **************************#012#012If you believe that ibus-x11 should be allowed read access on the gtk.css file by default.#012Then you should re
    port this as a bug.#012You can generate a local policy module to allow this access.#012Do#012allow this access for now by executing:#012# ausearch -c 'ibus-x11' --raw | audit2a
    llow -M my-ibusx11#012# semodule -i my-ibusx11.pp#012
    May 12 21:54:41 localhost journal: Exiting
    May 12 21:54:51 localhost journal: Locale not supported by C library.#012#011Using the fallback 'C' locale.
    May 12 21:54:51 localhost org.gnome.Terminal: Locale not supported.
    May 12 21:54:51 localhost org.gnome.Terminal.desktop: Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Error calling StartServiceByName for org.gnome.Terminal: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.gnome.Terminal exited with status 9
    看报错确实是语言环境问题

    2.把语言环境调整过来

    Applications----->System Tools----->Setting--->Region &Language

    确保 "Language" 和"Formats"是对应的,比如,Language是English的话,Formats也一定要是English才行,不管你是美式英语还是英式英语


    3.设置好后重启电脑就恢复正常

  • 相关阅读:
    MapServer:地图发布工具
    hdu1054(二分图匹配)
    hdu 5091(线段树+扫描线)
    hdu1828(线段树+扫描线)
    hdu2847(暴力)
    hdu1052(田忌赛马 贪心)
    hdu1051(LIS | Dilworth定理)
    hdu1050(贪心)
    poj 2773(容斥原理)
    hdu 1044(bfs+状压)
  • 原文地址:https://www.cnblogs.com/liangjiongyao/p/9031441.html
Copyright © 2020-2023  润新知