I don't have a Raspberry Pi, but I have been trying out Arch recently and did create some notes for myself. Below are my notes to get xfce or lxde up and running in Arch. It's not Jwm, but at least you'll have a working Desktop Environment. These notes will be easier to read if you copy them to a script and view it from geany.
Code: Select all
#!/bin/sh
# AFTER INSTALLING ARCH TO THE HARD-DRIVE:
#ADD NEW USER
adduser
#Additional groups: audio,video,optical,storage,power,wheel,games
nano /etc/sudoers
#give new user root permission
#UPDATING ARCH
pacman -Syy
pacman -S pacman
pacman -S filesystem --force
pacman -S tzdata
rm /etc/profile.d/locale.sh
pacman -Syu
#INSTALL X
pacman -S xorg-server xorg-xinit xorg-utils xorg-server-utils
pacman -S xorg-twm xorg-xclock xterm ttf-dejavu
#INSTALL VIDEO DRIVERS + DBUS
pacman -S xf86-video-vesa dbus
cp /etc/skel/.xinitrc /root
cp /etc/skel/.xinitrc /home/tman
#replace tman with your username
#ADDING DBUS TO STARTUP
nano /etc/rc.conf
#add "dbus" to beginnng of "DAEMONS" list
#reboot to get dbus running
#INSTALL A DESKTOP ENVIRONMENT
pacman -S lxde xfce
nano ~/.bash_profile
#add "export DESKTOP_SESSION=LXDE" to the last line (without quotes)
nano ~/.xinitrc
#add "exec ck-launch-session startlxde" without quotes
nano /home/tman/.xinitrc
#exec ck-launch-session startlxde
#CONFIGURE OPENBOX
cd /etc/xdg/openbox
mkdir ~/.config/openbox
cp * ~/.config/openbox
rm ~/.config/openbox/environment
#START LXDE OR XFCE FROM CONSOLE
#I have created go-lxde and go-xfce scripts to run the commands below:
xinit /usr/bin/ck-launch-session dbus-launch startlxde
xinit /usr/bin/ck-launch-session dbus-launch startxfce4