Linux Ubuntu 16.04 启动后 桌面崩溃

Ubuntu16.04 启动后通过输入密码后  桌面闪退

可以尝试通过下面的命令更新unity配置

sudo apt-get update sudo apt-get upgrade sudo apt-get install --reinstall unity-settings-daemon sudo reboot

重启后应该恢复正常

如果还是不行可能是驱动问题, 可使用prime-select禁用或启用显卡
 sudo prime-select intel禁用显卡
 sudo reboot 重启系统
重启后顺利的进入系统了

如果永久性的解决这个问题, 可以重新安装显卡驱动, 操作如下:
sudo apt purge nvidia-*
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt update
sudo apt install nvidia-364


I use Nvidia's prime-select command to enable and disable the dedicated graphics card. (After using Ctrl+Alt+F1 and logging into the console) I disabled my GT 540M graphics card with sudo prime-select intel followed by sudo reboot. Upon reboot I was able to log into Unity.

Obviously this is more of a short-term fix and as the other answers have indicated, perhaps the long term solution will be related to replacing or upgrading the Nvidia drivers or allowing the existing unsigned driver to run by disabling secure boot. But hopefully this at least gets you to the desktop!

Edit: The Nvidia driver can now be installed using the official PPA, per this answer:

sudo apt purge nvidia-*
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt update
sudo apt install nvidia-364
 

转载于:https://www.cnblogs.com/donaldjohn/p/6726198.html

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
要配置Linux Ubuntu 16.04的网络,您可以按照以下步骤行操作: 1. 首先,确定您的网卡名称。您可以使用`ifconfig`命令来查看网卡名称。在引用中提到的例子中,网卡名称为ens33。请确保您使用的是正确的网卡名称。 2. 在Ubuntu 16.04中,您可以编辑`/etc/network/interfaces`文件来配置网络。使用以下命令打开该文件: ``` sudo nano /etc/network/interfaces ``` 3. 根据您的网络需求,可以选择以下两种方式来配置网络: - 静态IP配置:如果您希望使用静态IP地址,请添加以下内容到`/etc/network/interfaces`文件中: ``` auto ens33 iface ens33 inet static address 192.168.59.8 netmask 255.255.255.0 gateway 192.168.59.1 dns-nameservers 8.8.8.8 8.8.4.4 ``` 上述配置中,`address`为您希望设置的静态IP地址,`netmask`为子网掩码,`gateway`为网关地址,`dns-nameservers`为DNS服务器地址。 - 动态IP配置:如果您希望使用动态IP地址(DHCP),请添加以下内容到`/etc/network/interfaces`文件中: ``` auto ens33 iface ens33 inet dhcp ``` 4. 保存并关闭文件。使用`Ctrl + X`,然后按`Y`确认保存。 5. 重新启动网络服务以使更改生效。您可以使用以下命令: ``` sudo /etc/init.d/networking force-reload sudo /etc/init.d/networking restart ``` 通过以上步骤,您就可以配置Linux Ubuntu 16.04的网络了。请根据您的网络需求选择静态IP配置或动态IP配置,并确保使用正确的网卡名称。<span class="em">1</span><span class="em">2</span><span class="em">3</span>

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值