Unix Technical Forum

rxvt: can't open pseudo-pty (2.6.11.11)

This is a discussion on rxvt: can't open pseudo-pty (2.6.11.11) within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Hello All I've built my own 2.6.11.12 kernel and also used the 2.6.11.11 package from -current/testing and both times, ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-20-2008, 09:20 AM
John Bleichert
 
Posts: n/a
Default rxvt: can't open pseudo-pty (2.6.11.11)

Hello All

I've built my own 2.6.11.12 kernel and also used the 2.6.11.11 package
from -current/testing and both times, everything works fine (XFS, AFS,
sound, nvidia) but no xterms/rxvts/konsoles:

rxvt: can't open pseudo-pty

I've been googling intensely for 2 hours on this and can't figure it
out. In the kernel I built PTYs were enabled (256). Am I missing
something simple here? Can anyone help me with this?

Thanks - JB


--------------------------------------------
John Bleichert - syborg@earthlink.net
"Every policeman comes equipped with extended claws"
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-20-2008, 09:20 AM
Nick
 
Posts: n/a
Default Re: rxvt: can't open pseudo-pty (2.6.11.11)

John Bleichert wrote:

> Hello All
>
> I've built my own 2.6.11.12 kernel and also used the 2.6.11.11 package
> from -current/testing and both times, everything works fine (XFS, AFS,
> sound, nvidia) but no xterms/rxvts/konsoles:
>
> rxvt: can't open pseudo-pty
>
> I've been googling intensely for 2 hours on this and can't figure it
> out. In the kernel I built PTYs were enabled (256). Am I missing
> something simple here? Can anyone help me with this?


Maybe nothing to do with it here, but you never know. I upgraded from
2.4.31 to 2.6.11.12 yesterday. All works great, expect 'less' failed
(which then cascaded to 'man' failing also).

All I got was:

> less <some file>
>


It turns out to be a problem (typo?) in /etc/udev/rules.d/udev.rules

Try changing:

# pty devices
KERNEL="pty[p-za-e][0-9a-f]*", NAME="pty/m%n", SYMLINK="%k"
KERNEL="tty[p-za-e][0-9a-f]*", NAME="tty/s%n", SYMLINK="%k"

to:

# pty devices
KERNEL="pty[p-za-e][0-9a-f]*", NAME="pty/m%n", SYMLINK="%k"
KERNEL="tty[p-za-e][0-9a-f]*", NAME="pty/s%n", SYMLINK="%k"

(change is in second line tty -> pty)

Nick
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-20-2008, 09:20 AM
John Bleichert
 
Posts: n/a
Default Re: rxvt: can't open pseudo-pty (2.6.11.11)

Nick <nick@ukfsn.org> wrote:
> John Bleichert wrote:
>
>> Hello All
>>
>> I've built my own 2.6.11.12 kernel and also used the 2.6.11.11 package
>> from -current/testing and both times, everything works fine (XFS, AFS,
>> sound, nvidia) but no xterms/rxvts/konsoles:
>>
>> rxvt: can't open pseudo-pty
>>
>> I've been googling intensely for 2 hours on this and can't figure it
>> out. In the kernel I built PTYs were enabled (256). Am I missing
>> something simple here? Can anyone help me with this?

>
> Maybe nothing to do with it here, but you never know. I upgraded from
> 2.4.31 to 2.6.11.12 yesterday. All works great, expect 'less' failed
> (which then cascaded to 'man' failing also).
>
> All I got was:
>
>> less <some file>
>>

>
> It turns out to be a problem (typo?) in /etc/udev/rules.d/udev.rules
>
> Try changing:
>
> # pty devices
> KERNEL="pty[p-za-e][0-9a-f]*", NAME="pty/m%n", SYMLINK="%k"
> KERNEL="tty[p-za-e][0-9a-f]*", NAME="tty/s%n", SYMLINK="%k"
>
> to:
>
> # pty devices
> KERNEL="pty[p-za-e][0-9a-f]*", NAME="pty/m%n", SYMLINK="%k"
> KERNEL="tty[p-za-e][0-9a-f]*", NAME="pty/s%n", SYMLINK="%k"
>
> (change is in second line tty -> pty)
>
> Nick


No need - just needed to mount devpts on /dev/pts and all seems well.
Didn't see that one listed on any of the 2.4-2.6 conversion howtos,
someone here at work gave me the hint.

Thanks, though!

JB

--------------------------------------------
John Bleichert - syborg@earthlink.net
"Every policeman comes equipped with extended claws"
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 06:46 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com