Arch Linux 需要安裝 Xorg 與相關的影像驅動程式 才能執行 GUI 的程式(例如跑一個桌面環境, ...)
安裝 Xorg
$ pacman -S xorg-server
$ (optional) pacman -S xorg-server-utils xorg-apps
安裝影像驅動
透過下述指令的輸出 可以得知要安裝哪一個影像驅動程式
$ lspci | grep -e VGA -e 3D
$ pacman -S xf86-video-ati # AMD/ATI
$ pacman -S xf86-video-intel # Intel
如果 Arch Linux 被安裝在 Virtualbox 上 不需要上面的步驟決定要安裝那一個驅動程式 而是 安裝 virtualbox-guest-utils (內含驅動程式)
# archlnux on virtualbox
$ pacman -S virtualbox-guest-utils
測試 X Window 環境是否正常
$ pacman -S xorg-xinit # xinit, startx
$ pacman -S xorg-twm xorg-xclock xterm
$ startx