文件系統用的Koheron提供的ubuntu16.04,將鏡像文件解壓後可以直接使用文件系統,具體使用命令的命令是fdisk 和mount
文件系統鏈接:https://www.koheron.com/software-development-kit/documentation/ubuntu-zynq/
此文件系統不帶用戶桌面,參考了Ubuntu桌面環境安裝教程:https://blog.csdn.net/wukai_std/article/details/55048823
圖形程序安裝
運行startx
命令檢查是否已安裝,若提示未安裝則執行: sudo apt-get install xinit
環境管理器
GNOME: sudo apt-get install gdm
OR
KDE: sudo apt-get install kdm
OR
Xface: sudo apt-get install xdm
桌面環境
sudo apt-get install Ubuntu-desktop
OR sudo apt-get install kubuntu-desktop
OR sudo apt-get install xubuntu-desktop
若網速不佳,或只想體驗基本功能可以安裝:
核心桌面環境
sudo apt-get install gnome-core
OR sudo apt-get install kde-core
OR sudo apt-get install xface4
注意! :若只安裝核心環境,可以考慮安裝以下常用:軟件:
新立得軟件包管理器
sudo apt-get install synaptic
無線上網模塊
sudo apt-get install network-manager
中文支持
sudo apt-get install language-support-zh
圖形界面開啓與關閉
取消自啓
# update-rc.d -f gdm remove
恢復自啓
# update-rc.d gdm defaults
我安裝的桌面是xubuntu-desktop
安裝完桌面圖形界面後,執行startx並不能成功執行,可能會報錯:
/etc/X11/xinit/xserverrc: 3: exec: /usr/bin/X: not found
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
遇到此問題執行:sudo apt-get install --no-install-recommends xserver-xorg-core xserver-xorg-input-all xserver-xorg-video-fbdev 此命令
完成後startx 可以看到桌面正常啓動了。