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.

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
  • 序言:七十年代末苹支,一起剝皮案震驚了整個(gè)濱河市唧取,隨后出現(xiàn)的幾起案子街图,更是在濱河造成了極大的恐慌闻丑,老刑警劉巖挠锥,帶你破解...
    沈念sama閱讀 211,817評(píng)論 6 492
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件众羡,死亡現(xiàn)場(chǎng)離奇詭異,居然都是意外死亡蓖租,警方通過查閱死者的電腦和手機(jī)粱侣,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 90,329評(píng)論 3 385
  • 文/潘曉璐 我一進(jìn)店門,熙熙樓的掌柜王于貴愁眉苦臉地迎上來蓖宦,“玉大人齐婴,你說我怎么就攤上這事〕砻” “怎么了柠偶?”我有些...
    開封第一講書人閱讀 157,354評(píng)論 0 348
  • 文/不壞的土叔 我叫張陵,是天一觀的道長(zhǎng)睬关。 經(jīng)常有香客問我诱担,道長(zhǎng),這世上最難降的妖魔是什么电爹? 我笑而不...
    開封第一講書人閱讀 56,498評(píng)論 1 284
  • 正文 為了忘掉前任蔫仙,我火速辦了婚禮,結(jié)果婚禮上丐箩,老公的妹妹穿的比我還像新娘摇邦。我一直安慰自己,他們只是感情好屎勘,可當(dāng)我...
    茶點(diǎn)故事閱讀 65,600評(píng)論 6 386
  • 文/花漫 我一把揭開白布施籍。 她就那樣靜靜地躺著,像睡著了一般概漱。 火紅的嫁衣襯著肌膚如雪丑慎。 梳的紋絲不亂的頭發(fā)上,一...
    開封第一講書人閱讀 49,829評(píng)論 1 290
  • 那天犀概,我揣著相機(jī)與錄音立哑,去河邊找鬼。 笑死姻灶,一個(gè)胖子當(dāng)著我的面吹牛铛绰,可吹牛的內(nèi)容都是我干的。 我是一名探鬼主播产喉,決...
    沈念sama閱讀 38,979評(píng)論 3 408
  • 文/蒼蘭香墨 我猛地睜開眼捂掰,長(zhǎng)吁一口氣:“原來是場(chǎng)噩夢(mèng)啊……” “哼敢会!你這毒婦竟也來了?” 一聲冷哼從身側(cè)響起这嚣,我...
    開封第一講書人閱讀 37,722評(píng)論 0 266
  • 序言:老撾萬(wàn)榮一對(duì)情侶失蹤鸥昏,失蹤者是張志新(化名)和其女友劉穎,沒想到半個(gè)月后姐帚,有當(dāng)?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體吏垮,經(jīng)...
    沈念sama閱讀 44,189評(píng)論 1 303
  • 正文 獨(dú)居荒郊野嶺守林人離奇死亡,尸身上長(zhǎng)有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點(diǎn)故事閱讀 36,519評(píng)論 2 327
  • 正文 我和宋清朗相戀三年罐旗,在試婚紗的時(shí)候發(fā)現(xiàn)自己被綠了膳汪。 大學(xué)時(shí)的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片。...
    茶點(diǎn)故事閱讀 38,654評(píng)論 1 340
  • 序言:一個(gè)原本活蹦亂跳的男人離奇死亡九秀,死狀恐怖遗嗽,靈堂內(nèi)的尸體忽然破棺而出,到底是詐尸還是另有隱情鼓蜒,我是刑警寧澤痹换,帶...
    沈念sama閱讀 34,329評(píng)論 4 330
  • 正文 年R本政府宣布,位于F島的核電站都弹,受9級(jí)特大地震影響娇豫,放射性物質(zhì)發(fā)生泄漏。R本人自食惡果不足惜缔杉,卻給世界環(huán)境...
    茶點(diǎn)故事閱讀 39,940評(píng)論 3 313
  • 文/蒙蒙 一锤躁、第九天 我趴在偏房一處隱蔽的房頂上張望。 院中可真熱鬧或详,春花似錦系羞、人聲如沸。這莊子的主人今日做“春日...
    開封第一講書人閱讀 30,762評(píng)論 0 21
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽(yáng)。三九已至梧乘,卻和暖如春澎迎,著一層夾襖步出監(jiān)牢的瞬間,已是汗流浹背选调。 一陣腳步聲響...
    開封第一講書人閱讀 31,993評(píng)論 1 266
  • 我被黑心中介騙來泰國(guó)打工夹供, 沒想到剛下飛機(jī)就差點(diǎn)兒被人妖公主榨干…… 1. 我叫王不留,地道東北人仁堪。 一個(gè)月前我還...
    沈念sama閱讀 46,382評(píng)論 2 360
  • 正文 我出身青樓哮洽,卻偏偏與公主長(zhǎng)得像,于是被迫代替她去往敵國(guó)和親弦聂。 傳聞我的和親對(duì)象是個(gè)殘疾皇子鸟辅,可洞房花燭夜當(dāng)晚...
    茶點(diǎn)故事閱讀 43,543評(píng)論 2 349

推薦閱讀更多精彩內(nèi)容

  • **2014真題Directions:Read the following text. Choose the be...
    又是夜半驚坐起閱讀 9,437評(píng)論 0 23
  • PLEASE READ THE FOLLOWING APPLE DEVELOPER PROGRAM LICENSE...
    念念不忘的閱讀 13,444評(píng)論 5 6
  • 南海劃界一天沒結(jié)果氛什,南海就一天不消停,域外國(guó)家就有上下其手渾水摸魚的機(jī)會(huì)匪凉。 南海島嶼都給了誰(shuí)枪眉,從歷史看都不盡合理,...
    獨(dú)孤求辯閱讀 223評(píng)論 9 1
  • 今天看到兩個(gè)在同一所陌生城市打拼多年再层,而又許久未見的同鄉(xiāng)贸铜。因?yàn)槲业膩淼蕉谝黄鸷眩铱粗杲氚俚乃麄兪骷ǎ犞?..
    趙曉愺閱讀 183評(píng)論 0 1
  • 昨天同事聚會(huì)饺饭,準(zhǔn)備去一家地鍋魚,看著同事职车,有的又胖了不少瘫俊,這年月四十來歲就肚子溜圓了,可怕般擦椤扛芽! 六點(diǎn)開飯,不到八點(diǎn)...
    藍(lán)晶LM閱讀 235評(píng)論 0 1