ubuntu16.04 Black borders, black terminal problem

原文地址:http://askubuntu.com/questions/360598/13-10-black-borders-black-terminal

I've just upgraded to Ubuntu 16.04 and I'm seeing a strange behaviour. All windows I open have a black, boxy border, including popups, as you can see in the provided image. (The black box in the bottom right is a terminal, which fails to display any text. However, I can enter commands and they execute.) I followed the steps in this post: How do I reset my Unity configuration? to reset Unity using the unity-tweak-tool. Although helpful, that did not fix the issue. I'm thinking this may be a graphics card driver issue.

Screenshot from 2017-01-01 18-31-27.png

solutions are as follows:

Removing the system-compositor-testing PPA

Should you have been using the system-compositor-testing PPA you will have to remove the PPA and it's content from your system prior to installing XMir from archive.

$> sudo apt-get update
$> sudo apt-get install ppa-purge
$> sudo ppa-purge ppa:mir-team/system-compositor-testing
$> sudo rm /etc/apt/preferences.d/50-pin-mir.pref

Then, follow "Installing from Archive".

Installing from Archive

Prior to landing Mir and related packages in the Ubuntu archive, we offered XMir via the system-compositor-testing ppa (ppa:mir-team/system-compositor-testing). As of August 9, 2013 XMir can be installed directly from archive via

$> sudo apt-get update
$> sudo apt-get dist-upgrade
$> sudo apt-get install unity-system-compositor
$> sudo apt-get install ubuntu-desktop-mir
$> sudo restart lightdm

Verifying that unity-system-compositor is running

You can check in 3 ways whether unity-system-compositor is running:

$> ps aux | grep unity-system-compositor
$> grep -i xmir /var/log/Xorg.0.log
$> ls -l /var/log/lightdm/unity-system-compositor.log

Removing unity-system-compositor

Temporarily

If you want to temporarily switch back to using X.org on your system, run following commands:
$> sudo vi /usr/share/lightdm/lightdm.conf.d/10-unity-system-compositor.conf

and add a comment to the second line:
[SeatDefaults]
#type=unity;xlocal

and restart lightdm
$> sudo restart lightdm

If you want to enable XMir back again, you simply remove the comment:
[SeatDefaults]
type=unity;xlocal

and restart lightdm
$> sudo restart lightdm

Permanently

In order to remove unity-system-compositor permanently from your system, run following command:

$> sudo apt-get remove unity-system-compositor
$> sudo restart lightdm

I choosed the "permanently", and the problem was finally solved.

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • **2014真题Directions:Read the following text. Choose the be...
    又是夜半惊坐起阅读 9,967评论 0 23
  • PLEASE READ THE FOLLOWING APPLE DEVELOPER PROGRAM LICENSE...
    念念不忘的阅读 13,564评论 5 6
  • 南海划界一天没结果,南海就一天不消停,域外国家就有上下其手浑水摸鱼的机会。 南海岛屿都给了谁,从历史看都不尽合理,...
    独孤求辩阅读 239评论 9 1
  • 今天看到两个在同一所陌生城市打拼多年,而又许久未见的同乡。因为我的来到而坐在一起寒暄,我看着年近半百的他们,听着他...
    赵晓愺阅读 189评论 0 1
  • 昨天同事聚会,准备去一家地锅鱼,看着同事,有的又胖了不少,这年月四十来岁就肚子溜圆了,可怕啊! 六点开饭,不到八点...
    蓝晶LM阅读 247评论 0 1