You are not logged in.
Hi.
I just installed arch following the installation guide on the wiki.
I have a usable system on a kvm on Gnome Boxes. I'm starting to add the GUI parts. So far I installed Hyprland and greetd and configured agreety. So I login and my config works, using the hyprland autoconfig file but I can't launch Kitty using the default keyboard shortcut because I forgot to install it. I close the hyprland session and login as root and the password is rejected. I change into tty3 and login as root normally and install kitty. I exit and close tty3 and jump back into tty2 and log in with my user account and hyprland loads but still can't make the kitty shortcut work.
What's happening?
Offline
What's happening?
You're mixing different topics and describe them as "does nots works lol", https://bbs.archlinux.org/viewtopic.php?id=57855
I'll take an educated guess: TTY2 runs some GUI login screen (DM), TTY3 a linux console.
Your DM doesn't allow you to log into a GUI session because that's an insane thing to do.
=> Is that the case?
As for kitty, resp. hyprland shortcuts: Please post your ~/.config/hypr/hyprland.conf
Offline
The program greetd is a log in manager daemon that can launch shells, graphical greeters or wayland sessions. In this case greetd uses agreety (CLI) on TTY2 and refuses the root password. If I login in with my user credentials, THEN it launches Hyprland in a wayland session. When I switch to TTY3 that terminal accepts the root credentials. I don't want to log in under root into a graphical session, I just wanted to install other stuff I was missing. But still it should be possible or at least refuse with an error message but it rejects the password like it's wrong.
After installing on TTY3 other missing stuff like thunar and waybar and an application launcher, the kitty shortcut started working normally. My default waybar looks weird though, like it's missing graphical elements. Also Hyprland is super sluggish on my Gnome Boxes, is wayland on a VM so bad performance wise?
Offline
Presuming you're using agreety on TTY3 as well it might be the keyboard layout - do you have a US QWERTY layout and/or is your (root) password QWERTY-safe?
Offline
agreety is configured to open on VT2 and the password is QWERTY-safe
Offline
So the issue is only w/ agreety (it is NOT running on TTY3)?
Anything in the journal?
https://www.reddit.com/r/archlinux/comm … n_to_root/
Might be a securetty problem.
Offline
also think it is a securetty. maybe something thinks tty2 is for graphical logins and removed it from the list?
this reminds me of the hacker files story about a system where the password only worked when standing up and failed when sitting down
but internet search doesn't exist anymore so i can't find it. enjoy my sleepless ramblings instead.
Offline
Yes it looks like it is a securetty problem. I can't paste but this is from tty3:
archboxvm greetd[521]: pam_securetty(greetd:auth): cannot determine user's tty
archboxvm greetd[521]: error: authentication error: pam_authenticate: SERVICE_ERR
archboxvm greetd[494]: client loop failed: i/o error: Broken pipe (os error 32)
archboxvm systemd[1]: Started Getty on tty3.
Cool story
BTW, I think I might've messed up the accounts permissions; I realized too late (after booting into the installed system without a window manager) that my home was just an fdisk created XFS lvm without any lvm configuration so I went back and blasted the partition and properly made the lvm volume and formatted it and then changed the permissions of /home and redacted fstab tor the new UUID, but there must be something I forgot or don't know I have to do because the /home is empty except for . files.
Offline
because the /home is empty except for . files
Create a $HOME for your user?
wrt securetty:
https://wiki.gentoo.org/wiki/PAM_secure … ne_the_TTY
Bun effectively don't use greetd to login as root - I cannot find a bugtracker for greet, you might have to mail the developer.
You could try to set the environment in greetd.service using https://wiki.archlinux.org/title/Systemd#Drop-in_files
Offline