You are not logged in.

#1 2025-12-30 16:04:56

Deaddi999
Member
Registered: 2025-12-30
Posts: 3

Issue in the terminal post Installation in a VMWare VM

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

#2 2025-12-30 17:25:26

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,070

Re: Issue in the terminal post Installation in a VMWare VM

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

#3 2025-12-30 19:00:25

Deaddi999
Member
Registered: 2025-12-30
Posts: 3

Re: Issue in the terminal post Installation in a VMWare VM

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

#4 2025-12-30 19:45:15

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,070

Re: Issue in the terminal post Installation in a VMWare VM

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

#5 2025-12-30 20:30:41

Deaddi999
Member
Registered: 2025-12-30
Posts: 3

Re: Issue in the terminal post Installation in a VMWare VM

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

Board footer

Powered by FluxBB