LXC Arch Virtual Machine vs Container

From Jay's Cafe' Wiki
Revision as of 07:34, 2 January 2024 by Jayctheriot (talk | contribs)
  • Build Process
    • (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.

pacman -S --needed base-devel 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>