ubuntu16.04的terminal打不开
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ubuntu16.04的terminal打不开相关的知识,希望对你有一定的参考价值。
参考技术A 1、打开XTern在XTerm中先输入命令gnome-terminal
报以下错误:
2、解决办法
进入路径:
使用 ls 可以看到此路径下所有的文件,其中的两个:
_gi_cairo.cpython-35m-x86_64-linux-g.so 和 _gi.cpython-35m-x86_64-linux-gnu.so
需要重命名,分别把35改成36。重命名:sudo mv 源文件名 新改文件名,即如下命令:
这样修改之后,按 Ctrl+Alt+F7 就可以从命令模式切换到图形界面,然后正常打开terminal啦。
Ubuntu打不开System Settings
root@:~# gnome-control-center
(gnome-control-center.real:6925): Gdk-ERROR **: The program 'gnome-control-center.real' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadRequest (invalid request code or no such operation)'.
(Details: serial 135 error_code 1 request_code 149 (RANDR) minor_code 8)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the GDK_SYNCHRONIZE environment
variable to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
Trace/breakpoint trap (core dumped)
以上是关于ubuntu16.04的terminal打不开的主要内容,如果未能解决你的问题,请参考以下文章
VMware虚拟机 + ubuntu16.04 Linux OpenCV打不开摄像头解决办法