Guest User

setup.sh for ArchLinuxARM on asus c101 pa

a guest
Dec 12th, 2019
293
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.15 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. #### Execute after https://pastebin.com/UHen1K5L
  4.  
  5. set -x -e -o pipefail
  6.  
  7. pacman-key --init
  8. pacman-key --populate archlinuxarm
  9.  
  10. timedatectl set-ntp true
  11. timedatectl set-timezone Europe/London
  12.  
  13. echo "LANG=en_GB.UTF-8" >> /etc/locale.conf        
  14.  
  15. echo "en_GB.UTF-8 UTF-8
  16. en_GB ISO-8859-1" >> /etc/locale.gen
  17.  
  18. locale-gen
  19.  
  20. useradd -m -g users -s /bin/bash xxx           
  21. echo "xxx" > /etc/hostname                       
  22.  
  23. echo "KEYMAP=ANSI-dvorak" >> /etc/vconsole.conf
  24.  
  25. echo "127.0.0.1 localhost
  26. ::1 localhost
  27. 127.0.1.1 mic.localdomain xxx" >> /etc/hosts   
  28.  
  29. # -------- install manually:    REQUIRES WIFI ACCESS    --------
  30. # pacman -S base-devel             # choose option 22                  
  31. # run visudo
  32. # set passd
  33.  
  34. # pacman -Syu
  35. # reboot
  36.  
  37. # GNOME INSTALLATION:
  38. # pacman -S xf86-video-vesa xterm xorg-server gnome gnome-extra gdm
  39. # systemctl enable gdm             
  40.  
  41. # RESULT:
  42. # 1. The same login loop occurs with gnome + lightdm and with gnome + lxdm
  43. # 2. The login loop does *not* occur with mate + lightdm  
  44. # 3. The login loop does *not* occur with plamsa + kde
  45. # 4. Tested only on asus c101 pa chromebook
  46. # 5. NEED TO TEST sddm (possble login ok)
Advertisement
Add Comment
Please, Sign In to add comment