Cool thing about Linux is that we can just give you a bunch of terminal commands to do it for you:
Step0: Ensure you have a normal user created and that you're logged in as him!
Code:
useradd -m -g users -G audio,lp,optical,storage,video,wheel,games,power,scanner -s /bin/bash username
passwd username
logout
(then login as username using virtual console)
Step1: Be root
Step2: Install lxde
If it prompts for something, just press enter to select the default.
Step3: Ensure you have dbus listed in your daemons.
Code:
echo '#
# /etc/rc.conf - Main Configuration for Arch Linux
#
# See 'man 5 rc.conf' for more details
#
# LOCALIZATION
# ------------
HARDWARECLOCK="UTC"
TIMEZONE=
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
LOCALE="en_US.UTF-8"
DAEMON_LOCALE="yes"
USECOLOR="yes"
# HARDWARE
# --------
MODULES=()
USEDMRAID="no"
USEBTRFS="no"
USELVM="no"
# NETWORKING
# ----------
HOSTNAME="myhost"
interface=
address=
netmask=
broadcast=
gateway=
NETWORK_PERSIST="no"
# DAEMONS
# -------
#
DAEMONS=(syslog-ng network crond dbus) #!!!!' > /etc/rc.conf
Step4: Ensure your system boots into X11 mode, and disable any login managers (because we don't have any!)
Code:
echo '#
# /etc/inittab
#
# Runlevels:
# 0 Halt
# 1(S) Single-user
# 2 Not used
# 3 Multi-user
# 4 Not used
# 5 X11
# 6 Reboot
## Only one of the following two lines can be uncommented!
# Boot to console
#id:3:initdefault: !!!!!!!!!!!
# Boot to X11 vvv!!
id:5:initdefault:
rc::sysinit:/etc/rc.sysinit
rs:S1:wait:/etc/rc.single
rm:2345:wait:/etc/rc.multi
rh:06:wait:/etc/rc.shutdown
su:S:wait:/sbin/sulogin -p
# -8 options fixes umlauts problem on login
c1:2345:respawn:/sbin/agetty -8 -s 38400 tty1 linux
c2:2345:respawn:/sbin/agetty -8 -s 38400 tty2 linux
c3:2345:respawn:/sbin/agetty -8 -s 38400 tty3 linux
#c4:2345:respawn:/sbin/agetty -8 -s 38400 tty4 linux
#c5:2345:respawn:/sbin/agetty -8 -s 38400 tty5 linux
#c6:2345:respawn:/sbin/agetty -8 -s 38400 tty6 linux
# Serial Virtual Console for KVM and others VMs
#s0:2345:respawn:/sbin/agetty -8 -s 9600 ttyS0 linux
# Hypervisor Virtual Console for Xen and KVM
#h0:2345:respawn:/sbin/agetty -8 -s 38400 hvc0 linux
ca::ctrlaltdel:/sbin/shutdown -t3 -r now
# Example lines for starting a login manager
#x:5:respawn:/usr/bin/xdm -nodaemon !!!!!!!!!!!!!!!!!!!!!
#x:5:respawn:/usr/sbin/gdm -nodaemon
#x:5:respawn:/usr/bin/kdm -nodaemon
#x:5:respawn:/usr/bin/slim >/dev/null 2>&1
# End of file' > /etc/inittab
Step5: Make sure consolekit is installed
Code:
pacman -S consolekit
Step6: Install required X packages
Code:
pacman -S xorg-server xorg-xinit xorg-server-utils mesa xf86-input-keyboard xf86-input-mouse
Step7: Install video drivers (You can just install the major opensource ones and be fine, or you can figure out what videocard you really have and install proper proprietary ones)
Code:
pacman -S xf86-video-nouveau xf86-video-ati xf86-video-intel
Step8: Prepare system to start x, and become a normal user
Step9: Create ~/.xinitrc
Code:
echo 'exec ck-launch-session dbus-launch startlxde' > ~/.xinitrc
Step10: Start X!
I may have forgotten something, not all systems are the same so this tutorial might not work perfectly for you. Feel free to ask me if something doesn't work or you don't understand something.
I tried to add exclamation points on important lines that you should pay attention to.