I find LXDE installation is the easiest among other desktop environments. LXDE includes openbox as its windows manager. Before I install any desktop environment I installed a few things and did a few works. Avoid upgrade Arch mindlessly unless it was really necessary...ArchLinux is not difficult to install but it is very easy to break, … Continue reading Arch Linux: Desktop environment (Start from X)
Contains two error: 1. /etc/mtab exits in filesystem 2. /etc/profile.d/locale.sh exits in filesystem General solution is to do pacman -Syu --force. It seemed previously failure to install anything useful in openbox were due to these two errors. After I did a force upgrade, problem resolved and I can install useful tools onto openbox.
Install OpenBox Transfer menu.xml, rc.xml and autostart in ~/.config/openbox Do this with normal user. Use ls -lah ~/.config/openbox to verify: Install pyxdg from the repo: pacman -S pyxdg Install xinit pacman -S xorg-xinit xinit is X.Org initialization program. Install Xorg server Xorg server is needed to start X, xinit will not work if there … Continue reading Arch Linux: Install OpenBox
Add a group groupadd cyrus -g 1000 To verify: cat /etc/group Add user and put to group cyrus useradd cyrus Verify the account cat /etc/passwd Understand the sequence of passwd file username:password:UID:GID:Name:Home directory:shell Clear text password does not store in /etc/passwd, password is salted and hashed and stored in /etc/shadow file.
I need a video driver in order to install X, and then OpenBox or other desktop manager. 1. Install libdrm-2.4.30-1. pacman -S libdrm 2. Install dkms. pacman -S dkms 3. Install virtualbox-archlinux-additions. pacman -S virtualbox-archlinux-additions 4. Manually load the drivers: modprobe -a vboxguest vboxsf vboxvideo Do a lsmod to confirm: 5. Include the three drivers … Continue reading Arch Linux: Video driver (virtualbox)
1. Create RSA key pairs: ssh-keygen. Save the generated key pairs as /etc/ssh/ssh_host_rsa_key 2. Turn on sshd service: sshd 3. Check if the service is present: netstat -antp |grep 22 4. Add a line in /etc/fstab to mount /dev/pts, this is so whenever Arch boots up /dev/pts will be mounted. At the same time mount … Continue reading Arch Linux: Turning on sshd
Only core.db is installed in the hard disk, extra.db and community.db have to be downloaded. To download these database, I will need to use Pacman to synchronize the database: pacman uses the mirrorlist located in /etc/pacman.d/mirrorlist file. Synchronizing repository database pacman -Sy Synchronizing and upgrade the system pacman -Syu Arch Linux advised to upgrade pacman … Continue reading Arch Linux: Pacman package manager