LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Fedora Core 5: Konsole/XTerm claim there are no PTY's (https://www.linuxquestions.org/questions/fedora-35/fedora-core-5-konsole-xterm-claim-there-are-no-ptys-433265/)

DPSellyChan 04-09-2006 03:29 AM

Fedora Core 5: Konsole/XTerm claim there are no PTY's
 
I just installed Fedora Core 5. Everything seemed to be working fine; then after a reboot, I started to get error messages from Konsole and Xterm. Both say the same thing; that there are no PTY's for them to claim. I've tried reinstalling both, I've tried changing permissions, but the error remains. Even if I try to boot into just a console (not Gnome or KDE), I get the same error.

DPSellyChan 04-09-2006 02:43 PM

Anyone? This is really going to suck if I have to keep having to switch using ALT+CTRL+F1 every time I want to do something related to the superuser...

DPSellyChan 04-10-2006 02:17 AM

Okay, some facts...

Konsole's exact error is:

Quote:

Konsole is unable to open a PTY (pseudo teletype). It is likely that this is due to an incorrect configuration of the PTY devices. Konsole needs to have read/write access to the PTY devices.
XTerm claims there are no PTY devices.

I went into /dev and noticed there are no pty entries anywhere (after reading that this may be a permission problem). What program could be preventing udev from generating the entries?

TreeHugger 04-11-2006 05:48 AM

I see this as well when I install udev. Currently I am searching for a solution, until then I keep udev uninstalled. It's not pretty and I don't like it but udev is over my head in terms of linux knowledge and what I'm finding out about it makes me think udev is a complex piece of machinery.

Post some more info if you found anything.

BTW, udev also changes the permissions on /dev/null which stops users writing to it and causes a constant flow of error logging.

DPSellyChan 04-11-2006 08:22 AM

In my case, the problem was I transferred over from Debian and kept my fstab file... but Fedora requires an entry in the fstab file for the PTY's...

TreeHugger 04-11-2006 08:49 AM

Bizarre coincidence then. I'm using debian and it's never had an entry in fstab for the PTYs. I'll check it out though.

DPSellyChan 04-12-2006 03:44 PM

Actually, that's what I meant. Debian doesn't have an entry for /dev/pts, but Fedora does. So when I copied my Debian fstab over, it caused this error.

POWERade 07-04-2006 06:54 PM

hi,
ok, i am having the same problem in PCLinuxOS
Quote:

Konsole is unable to open a PTY (pseudo teletype). It is likely that this is due to an incorrect configuration of the PTY devices. Konsole needs to have read/write access to the PTY devices.
i'm logged in as root and trying to install the Quake3 demo, and that is what I get.

i've been searching yahoo, google, and every linux forum i can find, but to no avail. actually, i am able to find only a very few references to this, and this thread is my best lead so far.

does anyone know how I can fix this?

and what IS a "PTY device" ?

I would REALLY appreciate help on this matter :)

Quote:

root@localhost q3]# mount /dev/pts
mount: none already mounted or /dev/pts busy
Quote:

Originally Posted by fstab
# This file is edited by fstab-sync - see 'man fstab-sync' for details

### Entries below this line were automatically added by hwdetect v0.5.9-20051025
# ROOT
/dev/root / rootfs defaults 0 0
# PROC
none /proc proc defaults 0 0
# PTS
none /dev/pts devpts mode=0620 0 0


BobNutfield 07-05-2006 05:33 AM

Hi

A PTY device is the pseudo terminal. Try adding this line to your fstab file and reboot:

Quote:

devpts /dev/pts devpts gid=5,mode=620 0 0
You care correct in your statement that Fedora does require this entry in fstab. Fedora will generate its own fstab file when you install. There is no need to copy over a file from a different distro.

Hope this helps

Bob

POWERade 07-05-2006 01:31 PM

^ thanx for your response.
unfortunately, it didn't help lol. :P

but i did come across this:
Quote:

[root@localhost q3]# info coreutils tty
info: Symbol `ospeed' has different size in shared object, consider re-linking

[root@localhost q3]#


All times are GMT -5. The time now is 07:08 AM.