This is an old revision of the document!
Multiple Xorg servers can be started from a virtual terminal console.
startx </path/to/displaymanager> -- <display> <virtual-terminal>
Start a Xorg server running fluxbox on display1 vt7.
startx /usr/bin/fluxbox -- :1 vt7
Start a Xorg server running emacs on display2 vt8.
startx /usr/bin/emacs -- :2 vt8
The chroot command changes the root directory. This can be useful when repairing a system in an unbootable state.
A luks encrypted volume must be decrypted before it can be mounted. The cryptsetup command can be used to decrypt an luks encrypted volume.
cryptsetup open --type luks /dev/<volume> cryptvg
Next the decrpyted volume will be mounted along with the /proc, /sys, and /dev directories.
mount /dev/cryptvg /mnt; cd /mnt; mount -t proc /proc proc; mount --rbind /sys sys; mount --rbind /dev dev
With the volume and directories mounted chroot into the new root directory.
chroot --userspace=<username> /mnt /bin/bash
Dependencies:
sudo pacman -Su seatd wlroots xcb-util-errors sway
Optional:
sudo pacman -Su swaybg swayidle swaylock wf-recorder
Uncomment line from /etc/lightdm/lightdm.config
sessions-directory=/usr/share/lightdm/sessions:/usr/share/xsessions:/usr/share/wayland-sessions
Configure /usr/share/wayland-sessions/sway.desktop.
[Desktop Entry] Name=Sway Comment=An i3-compatible Wayland compositor Exec=sway Type=Application
Configure $HOME/.dmrc
[Desktop] Language=en_US.utf8 Session=sway
Edit /etc/lightdm/lightdm.config and set user-session to sway.
user-session=sway