1. 首先换软件源。
2. 如果安装vim的时候出现问题,比如:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package vim is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'vim' has no installation candidate
执行 sudo apt-get update 就可以了
3. 如果刚刚安装上系统,没有中文输入法,也没有输入法的切换面板,执行:
killall ibus-daemon
ibus-daemon -d
然后就出现了输入法切换面板,点击,找到 preferences 选项,在 inputmethod 里面添加中文输入法就可以了。
4. 设置允许root 登录 :
vi /etc/lightdm/lightdm.conf.
在这个文件末尾加上下面两行代码
greeter-show-manual-login=true
allow-guest=false
保存退出。然后 sudo passwd root 设置root登录密码就可以了。