VirtualBox 中为 ArchLinux 安装 Gnome3 到 部分记录

首选安装  bash

pacman -S gnome gdm ide


其它设置: 测试

下面开始安装gnome,若是不喜欢用桌面环境下面的就当是废话。 spa

1
2
3
4
5
groupadd   example1
 
useradd example2 - s / bin / bash - m    - g example1
 
passwd example2

若是不设置用户没法登陆gnome server

安装dbus 进程

1
pacman - S dbus

而后设置xinitrc it

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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 table

加载FUSE内核模块:modprobe fuse import

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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

相关文章
相关标签/搜索