这里写目录标题
- 一、远程连接ubuntu
- 二、安装可视化界面
- 三、安装过程中的问题
一、远程连接ubuntu
输入root密码即可(这个为实例密码)
二、安装可视化界面
依次输入以下shell命令
apt-get update
apt-get install vnc4server
apt-get install xfce4
apt-get install ubuntu-desktop(这里可能会出现问题,请参照三)
sudo apt-get install xrdp
允许图形界面ROOT登陆
cd /usr/share/lightdm/lightdm.conf.d/
vim ./50-unity-greeter.conf
user-session=ubuntu
greeter-show-manual-login=true
all-guest=false
vim不会使用的请自行百度
vim /root/.profile
tty -s && mesg n || true
三、安装过程中的问题
出现如下问题
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
ubuntu-desktop : Depends: nautilus but it is not going to be installed
Recommends: gnome-disk-utility but it is not going to be installed
Recommends: gvfs-fuse but it is not going to be installed
Recommends: nautilus-share but it is not going to be installed
Recommends: usb-creator-gtk but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
解决方案1:更新软件源、或者更换软件源
apt-get update
apt-get upgrade
重新安装
apt-get install ubuntu-desktop
选择y即可
解决方案2:使用aptitude安装
sudo apt-get install aptitude
sudo aptitude install libopus-dev
sudo aptitude install ubuntu-desktop
一律选择y即可
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)