LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 04-09-2006, 03:29 AM   #1
DPSellyChan
LQ Newbie
 
Registered: Jan 2006
Location: Canada
Distribution: Fedora 7
Posts: 25

Rep: Reputation: 15
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.
 
Old 04-09-2006, 02:43 PM   #2
DPSellyChan
LQ Newbie
 
Registered: Jan 2006
Location: Canada
Distribution: Fedora 7
Posts: 25

Original Poster
Rep: Reputation: 15
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...
 
Old 04-10-2006, 02:17 AM   #3
DPSellyChan
LQ Newbie
 
Registered: Jan 2006
Location: Canada
Distribution: Fedora 7
Posts: 25

Original Poster
Rep: Reputation: 15
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?
 
Old 04-11-2006, 05:48 AM   #4
TreeHugger
Member
 
Registered: Jul 2003
Location: London
Distribution: ubuntu, mint, debian
Posts: 112

Rep: Reputation: 15
Unhappy

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.
 
Old 04-11-2006, 08:22 AM   #5
DPSellyChan
LQ Newbie
 
Registered: Jan 2006
Location: Canada
Distribution: Fedora 7
Posts: 25

Original Poster
Rep: Reputation: 15
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...
 
Old 04-11-2006, 08:49 AM   #6
TreeHugger
Member
 
Registered: Jul 2003
Location: London
Distribution: ubuntu, mint, debian
Posts: 112

Rep: Reputation: 15
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.
 
Old 04-12-2006, 03:44 PM   #7
DPSellyChan
LQ Newbie
 
Registered: Jan 2006
Location: Canada
Distribution: Fedora 7
Posts: 25

Original Poster
Rep: Reputation: 15
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.
 
Old 07-04-2006, 06:54 PM   #8
POWERade
LQ Newbie
 
Registered: May 2006
Location: TN
Distribution: PCLinuxOS, Kubuntu
Posts: 9

Rep: Reputation: 0
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

Last edited by POWERade; 07-04-2006 at 07:07 PM.
 
Old 07-05-2006, 05:33 AM   #9
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Rep: Reputation: 53
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
 
Old 07-05-2006, 01:31 PM   #10
POWERade
LQ Newbie
 
Registered: May 2006
Location: TN
Distribution: PCLinuxOS, Kubuntu
Posts: 9

Rep: Reputation: 0
^ 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]#

Last edited by POWERade; 07-05-2006 at 01:44 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgrade Fedora Core 4 (FC4) to Fedora Core 5 (FC5) hangs vogelap Fedora - Installation 10 05-22-2006 09:00 AM
Not enough pty's? chup Linux - General 0 11-23-2004 10:31 AM
X Window/Xterm from Fedora egurski Fedora 1 09-15-2004 03:13 PM
Pty's -- Hitting Limit! zepplin611 AIX 2 03-09-2004 08:48 AM
UNIX98 PTY's? wr3ck3d Linux - General 0 07-26-2003 06:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 07:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration