用了一个月没有关机的VMWare + Ubuntu14.04 今天早上恢复虚拟机之后发现网络死活不能用了,
后来实在没有办法,
只能选择重启虚拟机,
好舍不得啊, 那么多文件和bash窗口要重新打开,
就因为右上角的网络图标,VMWare网卡设备无论怎样断开重连还是没反应。
离线
下次再碰到这种情况试一下这样: how-to-remove-network-manager-access-from-lightdm
To remove the network manager from LightDM I did the following...
1) I added the following line to /etc/rc.local
sudo service network-manager stop
2) I created a script in /usr/bin named network-manager-start that runs the following command:
sudo service network-manager start
3) I created another script in /usr/bin named network-manager-stop that runs the following command:
sudo service network-manager stop
4) I added the following two lines to /etc/lightdm/lightdm.conf:
session-setup-script=network-manager-start session-cleanup-script=network-manager-stop
离线