LXC Arch Virtual Machine vs Container
From Jay's Cafe' Wiki
Revision as of 06:54, 2 January 2024 by Jayctheriot (talk | contribs)
- Build Process
- (VM) Set correct hostname. The hostname was not set by the template.
hostnamectl set-hostname <hostname>
- (both) Enable Multilibs
- (both) Install vim, openssh, x11-ssh-askpass, xorg-xauth, xorg. Select defaults on the install.
pacman -S --needed vim openssh x11-ssh-askpass xorg-xauth xorg
- (both) Edit /etc/ssh/sshd_config to allow remote log in using a keyboard.
- (both) Enable and start/restart sshd. Then check proper operation.
systemctl enable sshd
systemctl restart sshd
systemctl status sshd
- (container) Received the following non-fatal errors on install
- vcsu, vtcon, blkcg_punt_bio, raid5wq, scsi_tmf, writeback, md0 and others. All permission errors.
- (both) Install base-devel, git, lightdm, lxterm and xfce-terminal and blackbox.
- (container) Received the following non-fatal errors on install
pacman -S --needed base-devel go git lightdm blackbox lxterminal xfce4-terminal
- (container) More permission errors on the container version.
- (both) Create user and set password
useradd <user> -m -s /bin/bash -G root,wheel
passwd <user>
- (both)Install yay
su - <user>
mkdir -p sandbox/aur
cd sandbox/aur
git clone https://aur.archlinux.org/yay
cd yay
makepkg -is
- (both)Install x2goserver
yay x2goserver