You are not logged in.
When logging in as root from my user with "su -"
I get this error : "tty: ttyname error: No such device"
It stills log me in but it's quite annoying.
Offline
So what runs "tty"? Shell rc? profile? Some custom pam module?
Can you run "tty" fom the root shell (and get a TTY or PTS reported)?
Offline
Alright so I've circumvented the issue but I'll explain it from the start.
I installed a fresh Arch install in a VM by hands because I wanted to practice, when installing KDE I forgot to install the package through pacman and went through discover (flathub). Konsole, Yakuake and others all give that same error whether it's with the root user or non-root user. tty from either of the shell report the same error : "tty: ttyname error: No such device"
I don't think I understand what you mean by TTY or PTS reposted. It seems the issue thought occurs only through terminals installed from discover and not pacman (so thankfully that works fine for now). I would like to discover where the problem is though because that'd be educational. Hopefully you can entertain that curiosity ?
Offline
I don't think I understand what you mean by TTY or PTS reposted.
"reported", https://man.archlinux.org/man/tty.1 will typically say something like "/dev/pts/8"
Edit: the problem is likely just the flatpak not-really-a-sandbox, see eg https://github.com/flatpak/flatpak-xdg-utils/issues/57
Last edited by seth (2025-12-30 19:49:54)
Offline
Alright well sounds like that's closed. Thanks for the answer and yes, typing "tty" on pacman installed terminal does give an output like "/dev/pts/*" so I now understand what you meant.
Offline