Unix Technical Forum

Kernel-2.6 and KDE oddity

This is a discussion on Kernel-2.6 and KDE oddity within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> OK, I've managed to get both my desktop and laptop running with Slack-9.1 (current) and 2.6.0-test11. Everything seems to ...


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-18-2008, 08:47 PM
Peter Christy
 
Posts: n/a
Default Kernel-2.6 and KDE oddity

OK, I've managed to get both my desktop and laptop running with Slack-9.1
(current) and 2.6.0-test11. Everything seems to work, sound, agp etc.

Except that on the desktop machine, I can no longer open a KDE console shell!
When I try I get an error message saying "Unable to open a suitable terminal
device"

It works OK as root (clue?) and works fine on the laptop for all users. It also
works fine for all users under 2.4.23.

Obviously, I've missed something somewhere.....

Your mission, should you choose to accept it, is to tell me what..... ;-)

--
Pete
christy@NOattglobalSPAM.net
(make the obvious amendments to reply!)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-18-2008, 08:47 PM
bards
 
Posts: n/a
Default Re: Kernel-2.6 and KDE oddity

Peter Christy wrote:
> OK, I've managed to get both my desktop and laptop running with Slack-9.1
> (current) and 2.6.0-test11. Everything seems to work, sound, agp etc.
>
> Except that on the desktop machine, I can no longer open a KDE console shell!
> When I try I get an error message saying "Unable to open a suitable terminal
> device"
>
> It works OK as root (clue?) and works fine on the laptop for all users. It also
> works fine for all users under 2.4.23.
>
> Obviously, I've missed something somewhere.....
>
> Your mission, should you choose to accept it, is to tell me what..... ;-)
>


There lives /usr/bin/konsole_grantpty which should be setuid root, maybe
this is the problem.

HTH.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-18-2008, 08:47 PM
Peter Christy
 
Posts: n/a
Default Re: Kernel-2.6 and KDE oddity

bards wrote:

> There lives /usr/bin/konsole_grantpty which should be setuid root, maybe
> this is the problem.


Er, no - don't have that file on either machine (and one works). Surely, that
would affect 2.4.23 as well?

--
Pete
christy@NOattglobalSPAM.net
(make the obvious amendments to reply!)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-18-2008, 08:47 PM
Molchun
 
Posts: n/a
Default Re: Kernel-2.6 and KDE oddity

Peter Christy wrote:

> Obviously, I've missed something somewhere.....


While configuring kernel on the misbehaving machine did you set
UNIX98_PTYS=yes ?

--
Jabber: molchun@jabber.org
PGP ID: 0x304563A8

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-18-2008, 08:48 PM
Peter Christy
 
Posts: n/a
Default Re: Kernel-2.6 and KDE oddity

Molchun wrote:

> While configuring kernel on the misbehaving machine did you set
> UNIX98_PTYS=yes ?


Good thought, but yes, I did configure it.

--
Pete
christy@NOattglobalSPAM.net
(make the obvious amendments to reply!)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-18-2008, 08:48 PM
=?UTF-8?B?0LTQsNC80ZjQsNC9INCzLg==?=
 
Posts: n/a
Default Re: Kernel-2.6 and KDE oddity


>> OK, I've managed to get both my desktop and laptop running with Slack-9.1
>> (current) and 2.6.0-test11. Everything seems to work, sound, agp etc.
>>
>> Except that on the desktop machine, I can no longer open a KDE console
>> shell! When I try I get an error message saying "Unable to open a
>> suitable terminal device"
>>
>> It works OK as root (clue?) and works fine on the laptop for all users.
>> It also works fine for all users under 2.4.23.
>>
>> Obviously, I've missed something somewhere.....
>>
>> Your mission, should you choose to accept it, is to tell me what..... ;-)


I don't have the original post on my nes server, so excuse me answering like
this....

There is one change in 2.6 vs 2.4 regarding PTYs, that I had a problem
with...


in 2.4 if you use the devfs filesystem, you didnt need the devpts
filesystem mounted in /dev/pts...

But in 2.6 the devfs filesystem is striped down, so you have to use the
devpts filesystem too. So check to make sure you have
devpts /dev/pts devpts gid=5,mode=620 0 0
in /etc/fstab, and that you have the devpts option in the kernel
(CONFIG_DEVPTS_FS=y).




--
Дамјан (jabberID:damjan@bagra.net.mk)

Intel: where Quality is job number 0.9998782345!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-18-2008, 08:49 PM
Peter Christy
 
Posts: n/a
Default Re: Kernel-2.6 and KDE oddity

?????? ?. wrote:

> There is one change in 2.6 vs 2.4 regarding PTYs, that I had a problem
> with...
>
>
> in 2.4 if you use the devfs filesystem, you didnt need the devpts
> filesystem mounted in /dev/pts...
>
> But in 2.6 the devfs filesystem is striped down, so you have to use the
> devpts filesystem too. So check to make sure you have
> devpts /dev/pts devpts gid=5,mode=620 0 0
> in /etc/fstab, and that you have the devpts option in the kernel
> (CONFIG_DEVPTS_FS=y).


Yahoo! Yes that was the correct answer, and you have won todays star prize!

Seriously, many thanks! I should have remembered that, because I remember
reading about it somewhere when I started messing about with 2.6. Somehow it
slipped down the drain and round the u-bend of my mind!

Well spotted!

--
Pete
christy@NOattglobalSPAM.net
(make the obvious amendments to reply!)
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 08:33 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