歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> 關於Linux >> VirtualBox中為ArchLinux安裝Gnome3到部分記錄

VirtualBox中為ArchLinux安裝Gnome3到部分記錄

日期:2017/3/1 14:49:31   编辑:關於Linux
VirtualBox中為ArchLinux安裝Gnome3到部分記錄 首選安裝 pacman -S gnome gdm 其它設置: 下面開始安裝gnome,如果不喜歡用桌面環境下面的就當是廢話。 groupadd example1 useradd example2 - s / bin / bash - m - g example1 passwd example2 如果不設置用戶無法登錄gnome 安裝dbus 1 pacman - S dbus 然後設置xinitrc nano ~ / . xinitrc 添加 #!/bin/sh if [ - d / etc / X11 / xinit / xinitrc . d ] ; then for f in / etc / X11 / xinit / xinitrc . d / * ; do [ - x "$f" ] && . "$f" done unset f fi exec $ your_window_manager nano / etc / rc . conf DAEMONS = ( syslog - ng < strong > dbus < / strong > network crond ) 啟動DBUS守護進程: /etc/rc.d/dbus start 加載FUSE內核模塊:modprobe fuse pacman - Syu eselect news read news pacman - S xorg - xinit pacman - S xorg - server pacman - S xf86 - video - vesa pacman - S gnome pacman - S gnome - extra --根據自己的需要安裝擴展只需要輸入數字即可 pacman - S gdm 如果想每次直接啟動圖形界面,把gdm加入到DAEMONS nano /etc/rc.conf 找到DAEMONS 添加: DAEMONS=(syslog-ng dbus network crond gdm) startx 相關設置: 安裝基礎的 Xorg 包: # pacman -S xorg-server xorg-xinit xorg-utils xorg-server-utils 安裝 mesa 以獲得 3D 支持: # pacman -S mesa 安裝默認的測試環境: # pacman -S xorg-twm xorg-xclock xterm 最後,啟動 X 會話: $ startx
Copyright © Linux教程網 All Rights Reserved