thảo luận GNU/Linux, *nix - Thảo luận chung

  • Người tạo chủ đề Người tạo chủ đề idmresettrial
  • Ngày bắt đầu Ngày bắt đầu
Trạng thái
Không mở để trả lời thêm.
Mến cào các bác. Lại là em đây :)
Hôm nay con arch với sddm của e giở chứng. Nhập mật khẩu đúng nhưng ko cho vào, đợi tí lại bắt đăng nhập lại. Kẹt ở màn hình login luôn :beat_brick:
Đã thử mở tty2 thì đăng nhập bình thường với cli. Nhưng cái sddm ở tty1 thì chịu. :sweat:
Vậy đây là bệnh gì? Search ko ra bệnh :ROFLMAO::ROFLMAO:
P/s: E cài theo cái này. Gnome thì ok. Mà KDE thì :beat_brick:
Mã:
// Create unlocated space for Linux

// List disk
# lsblk

// Split partition
# cfdisk /dev/sda
	cfdisk /dev/sdb

// Format partitions
# mkfs.fat -F32 /dev/boot_partition
# mkfs.ext4 /dev/root_partition
# mkfs.ext4 /dev/home_partition
# mkswap /dev/swap_partition

// Mount partitions
# mount /dev/root_partition /mnt
# mkdir /mnt/home
# mount /dev/home_partition /mnt/home
# swapon /dev/swap_partition

// Check internet connection (In this instllation, we use cable)
# ping google.com			Ctrl+C to stop ping

// Chose mirror. Default mirror too slow
# pacman -Syy
# pacman -S reflector
# reflector -c "Taiwan" -f 12 -l 10 -n 12 --save /etc/pacman.d/mirrorlist

// Run script install base + nano editor
# pacstrap /mnt base linux linux-firmware nano
	// Wait...

// Generate an fstab file
# genfstab -U /mnt >> /mnt/etc/fstab

// Move to root (hardisk)
# arch-chroot /mnt

// Set timedate
# timedatectl set-timezone Asia/Ho_Chi_Minh

	//If set timedate not work, do the line
	# ln -sf /usr/share/zoneinfo/Asia/Ho_Chi_Minh /etc/localtime

// Get locale for system
# nano /etc/locale.gen
	// Uncomment 'en_US.UTF-8 UTF-8'

// Generate locale
# locale-gen
# echo LANG=en_US.UTF-8 > /etc/locale.conf
# export LANG=en_US.UTF-8

// Create host file
# echo arch > /etc/hostname
# touch /etc/hosts
# nano /etc/hosts						

// Add line at the end of file
127.0.0.1	localhost
::1		localhost
127.0.1.1	arch
	// Ctrl+O -> Enter -> Ctrl+X 

# passwd 				Set password root

# pacman -S sudo 		Install sudo

# useradd avarice 		Add new user
# passwd avarice 		Set password user

// Edit sudoers permission
# nano /etc/sudoers 

// Add bellow 'root ALL=(ALL) ALL'
avarice ALL=(ALL) ALL
	// Ctrl+O -> Enter -> Ctrl+X 

// Install booloader
# pacman -S grub efibootmgr
# mkdir /boot/efi
# mount /dev/sdb5 /boot/efi
# grub-install --target=x86_64-efi --bootloader-id=GRUB --efi-directory=/boot/efi
# grub-mkconfig -o /boot/grub/grub.cfg

// Install a desktop environment (KDE or Gnome)
# pacman -S xorg

//Gnome (Beauty, stable)
# pacman -S gnome
# systemctl enable gdm.service

	//KDE plasma (Lightweight, broken)
	# pacman -S plasma-meta
	# systemctl enable sddm.service
# systemctl enable NetworkManager.service

# exit
# reboot
	// Wait until it boot to GRUB, then take the USB out

Sent from Một Bát Cơm Không Có Đồ Ăn Kèm using vozFApp
 
Sửa lần cuối:
Mến cào các bác. Lại là em đây :)
Hôm nay con arch với sddm của e giở chứng. Nhập mật khẩu đúng nhưng ko cho vào, đợi tí lại bắt đăng nhập lại. Kẹt ở màn hình login luôn :beat_brick:
Đã thử mở tty2 thì đăng nhập bình thường với cli. Nhưng cái sddm ở tty1 thì chịu. :sweat:
Vậy đây là bệnh gì? Search ko ra bệnh :ROFLMAO::ROFLMAO:
P/s: E cài theo cái này. Gnome thì ok. Mà KDE thì :beat_brick:
Mã:
// Create unlocated space for Linux

// List disk
# lsblk

// Split partition
# cfdisk /dev/sda
    cfdisk /dev/sdb

// Format partitions
# mkfs.fat -F32 /dev/boot_partition
# mkfs.ext4 /dev/root_partition
# mkfs.ext4 /dev/home_partition
# mkswap /dev/swap_partition

// Mount partitions
# mount /dev/root_partition /mnt
# mkdir /mnt/home
# mount /dev/home_partition /mnt/home
# swapon /dev/swap_partition

// Check internet connection (In this instllation, we use cable)
# ping google.com            Ctrl+C to stop ping

// Chose mirror. Default mirror too slow
# pacman -Syy
# pacman -S reflector
# reflector -c "Taiwan" -f 12 -l 10 -n 12 --save /etc/pacman.d/mirrorlist

// Run script install base + nano editor
# pacstrap /mnt base linux linux-firmware nano
    // Wait...

// Generate an fstab file
# genfstab -U /mnt >> /mnt/etc/fstab

// Move to root (hardisk)
# arch-chroot /mnt

// Set timedate
# timedatectl set-timezone Asia/Ho_Chi_Minh

    //If set timedate not work, do the line
    # ln -sf /usr/share/zoneinfo/Asia/Ho_Chi_Minh /etc/localtime

// Get locale for system
# nano /etc/locale.gen
    // Uncomment 'en_US.UTF-8 UTF-8'

// Generate locale
# locale-gen
# echo LANG=en_US.UTF-8 > /etc/locale.conf
# export LANG=en_US.UTF-8

// Create host file
# echo arch > /etc/hostname
# touch /etc/hosts
# nano /etc/hosts                      

// Add line at the end of file
127.0.0.1    localhost
::1        localhost
127.0.1.1    arch
    // Ctrl+O -> Enter -> Ctrl+X

# passwd                 Set password root

# pacman -S sudo         Install sudo

# useradd avarice         Add new user
# passwd avarice         Set password user

// Edit sudoers permission
# nano /etc/sudoers

// Add bellow 'root ALL=(ALL) ALL'
avarice ALL=(ALL) ALL
    // Ctrl+O -> Enter -> Ctrl+X

// Install booloader
# pacman -S grub efibootmgr
# mkdir /boot/efi
# mount /dev/sdb5 /boot/efi
# grub-install --target=x86_64-efi --bootloader-id=GRUB --efi-directory=/boot/efi
# grub-mkconfig -o /boot/grub/grub.cfg

// Install a desktop environment (KDE or Gnome)
# pacman -S xorg

//Gnome (Beauty, stable)
# pacman -S gnome
# systemctl enable gdm.service

    //KDE plasma (Lightweight, broken)
    # pacman -S plasma-meta
    # systemctl enable sddm.service
# systemctl enable NetworkManager.service

# exit
# reboot
    // Wait until it boot to GRUB, then take the USB out

Sent from Một Bát Cơm Không Có Đồ Ăn Kèm using vozFApp
Add 1 user khác, đăng nhập đc không?
Thêm cái nữa là đoạn này:
// Add line at the end of file
127.0.0.1 localhost
::1 localhost
127.0.1.1 arch
Hình như khác archwiki (không nhớ rõ lắm)
Mà cài kde thì thử cài plasma plasma-wayland-session kde-applications xem sao?
 
Add 1 user khác, đăng nhập đc không?
Thêm cái nữa là đoạn này:
// Add line at the end of file
127.0.0.1 localhost
::1 localhost
127.0.1.1 arch
Hình như khác archwiki (không nhớ rõ lắm)
Mà cài kde thì thử cài plasma plasma-wayland-session kde-applications xem sao?

Khác arch wiki thật. Nó là domain gì cơ. Cái dòng đấy e làm theo thằng itsfoss. Tại gnome ok nên cứ dùng.

Sent from Một Bát Cơm Không Có Đồ Ăn Kèm using vozFApp
 
Thử lại cài 3 gói thay vì chỉ cài kde meta xem sao? Mình cài 3 gói như kia thì thấy dùng bt

Cài 3 gói lắm app đi kèm lắm bác
Wz51zuD.png
nhìn nản ko muốn xoá
Fan97KZ.png


Sent from Một Bát Cơm Không Có Đồ Ăn Kèm using vozFApp
 
Mến cào các bác. Lại là em đây :)
Hôm nay con arch với sddm của e giở chứng. Nhập mật khẩu đúng nhưng ko cho vào, đợi tí lại bắt đăng nhập lại. Kẹt ở màn hình login luôn :beat_brick:
Đã thử mở tty2 thì đăng nhập bình thường với cli. Nhưng cái sddm ở tty1 thì chịu. :sweat:
Vậy đây là bệnh gì? Search ko ra bệnh :ROFLMAO::ROFLMAO:
P/s: E cài theo cái này. Gnome thì ok. Mà KDE thì :beat_brick:
Mã:
// Create unlocated space for Linux

// List disk
# lsblk

// Split partition
# cfdisk /dev/sda
    cfdisk /dev/sdb

// Format partitions
# mkfs.fat -F32 /dev/boot_partition
# mkfs.ext4 /dev/root_partition
# mkfs.ext4 /dev/home_partition
# mkswap /dev/swap_partition

// Mount partitions
# mount /dev/root_partition /mnt
# mkdir /mnt/home
# mount /dev/home_partition /mnt/home
# swapon /dev/swap_partition

// Check internet connection (In this instllation, we use cable)
# ping google.com            Ctrl+C to stop ping

// Chose mirror. Default mirror too slow
# pacman -Syy
# pacman -S reflector
# reflector -c "Taiwan" -f 12 -l 10 -n 12 --save /etc/pacman.d/mirrorlist

// Run script install base + nano editor
# pacstrap /mnt base linux linux-firmware nano
    // Wait...

// Generate an fstab file
# genfstab -U /mnt >> /mnt/etc/fstab

// Move to root (hardisk)
# arch-chroot /mnt

// Set timedate
# timedatectl set-timezone Asia/Ho_Chi_Minh

    //If set timedate not work, do the line
    # ln -sf /usr/share/zoneinfo/Asia/Ho_Chi_Minh /etc/localtime

// Get locale for system
# nano /etc/locale.gen
    // Uncomment 'en_US.UTF-8 UTF-8'

// Generate locale
# locale-gen
# echo LANG=en_US.UTF-8 > /etc/locale.conf
# export LANG=en_US.UTF-8

// Create host file
# echo arch > /etc/hostname
# touch /etc/hosts
# nano /etc/hosts                       

// Add line at the end of file
127.0.0.1    localhost
::1        localhost
127.0.1.1    arch
    // Ctrl+O -> Enter -> Ctrl+X

# passwd                 Set password root

# pacman -S sudo         Install sudo

# useradd avarice         Add new user
# passwd avarice         Set password user

// Edit sudoers permission
# nano /etc/sudoers

// Add bellow 'root ALL=(ALL) ALL'
avarice ALL=(ALL) ALL
    // Ctrl+O -> Enter -> Ctrl+X

// Install booloader
# pacman -S grub efibootmgr
# mkdir /boot/efi
# mount /dev/sdb5 /boot/efi
# grub-install --target=x86_64-efi --bootloader-id=GRUB --efi-directory=/boot/efi
# grub-mkconfig -o /boot/grub/grub.cfg

// Install a desktop environment (KDE or Gnome)
# pacman -S xorg

//Gnome (Beauty, stable)
# pacman -S gnome
# systemctl enable gdm.service

    //KDE plasma (Lightweight, broken)
    # pacman -S plasma-meta
    # systemctl enable sddm.service
# systemctl enable NetworkManager.service

# exit
# reboot
    // Wait until it boot to GRUB, then take the USB out

Sent from Một Bát Cơm Không Có Đồ Ăn Kèm using vozFApp
base-devel?
 
Trên arch wiki nó chỉ bảo base thôi mà bác @@ base-devel có gì khác vậy

Sent from Một Bát Cơm Không Có Đồ Ăn Kèm using vozFApp
uh, base-devel là cái đống software dùng để build package aur các thứ, mà thím reinstall shadow thử đi, với cả cài lại Xorg xem
 
kGcsooB.jpg

Chỉ có cài bằng này. Mà nó nhất quyết ko cho login :beated:
Vừa xoá hết plasma-meta với xorg cài lại mà vẫn vậy

Sent from Một Bát Cơm Không Có Đồ Ăn Kèm using vozFApp
 
kGcsooB.jpg

Chỉ có cài bằng này. Mà nó nhất quyết ko cho login :beated:
Vừa xoá hết plasma-meta với xorg cài lại mà vẫn vậy

Sent from Một Bát Cơm Không Có Đồ Ăn Kèm using vozFApp

Search google đi cha, lỗi này thấy gào khá nhiều trên mạng và đầy người kêu solved. Đừng dùng tư duy gỡ hết ra cài lại nữa, tốn thời gín lại ko biết nó sai ở đâu.
 
kGcsooB.jpg

Chỉ có cài bằng này. Mà nó nhất quyết ko cho login :beated:
Vừa xoá hết plasma-meta với xorg cài lại mà vẫn vậy

Sent from Một Bát Cơm Không Có Đồ Ăn Kèm using vozFApp
Theo 1 archwiki là đủ rồi, đừng đọc linh tinh đâm loạn. Mà thôi vote qua openSUSE KDE đi cho nhanh. Mấy cái này cứ đúng quy trình là nó chạy thôi, mất thời gian thử nghiệm làm gì. :beauty:
Thích Arch based thì cài Manjaro cũng tạm.
 
Search google đi cha, lỗi này thấy gào khá nhiều trên mạng và đầy người kêu solved. Đừng dùng tư duy gỡ hết ra cài lại nữa, tốn thời gín lại ko biết nó sai ở đâu.

Search ko ra đấy chứ. Solved có cái nào đc đâu. Toàn lâu ko ai rep xong close.
Có 1 cái đúng thật thì mình check của mình ko giống. Arch wiki cũng ko thấy lỗi này. Đọc report trên kde nhiều mà có thấy trả lời đâu.

Sent from Một Bát Cơm Không Có Đồ Ăn Kèm using vozFApp
 
Trạng thái
Không mở để trả lời thêm.

Thống kê chủ đề

Ngày tạo
idmresettrial,
Người trả lời cuối
Fioren,
Trả lời
13.168
Lượt xem
1.529.243
Quay lại
Lên đầu trang