LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-01-2005, 11:08 PM   #1
atrain
Member
 
Registered: Apr 2004
Location: Toronto, Ontario
Distribution: Gentoo
Posts: 55

Rep: Reputation: 15
Udev, Konsole, funky errors


ok, as soon as i started using udev, i started getting issues. Untill recently, i could not use an X based konsole as a non-root user. I fixed that doing chmod 777 /dev/pty/*

Now, i get this error when i open a konsole in kde:
Code:
/dev/ttyp2 is not the slave for the master pty on fd 3
no colors appear, and when i tried to nano a file, it said:
Code:
Error opening terminal: bash.
I can bypass this by clicking File -> New Linux Console.
I have tried different versons of udev, but all give me this issue...

After i did chmod 777 /dev/pty/*, programs in /sbin and /usr/sbin do not work unless the full path is typed. I can put them back into $PATH, but that only works for that one session...

As non-root, most users who run mplayer get a Segmentation fault.
Same with many other programs, including supertux, and xawtv...

Thanks for all your help,
~ATrain
 
Old 02-02-2005, 10:30 PM   #2
atrain
Member
 
Registered: Apr 2004
Location: Toronto, Ontario
Distribution: Gentoo
Posts: 55

Original Poster
Rep: Reputation: 15
I have tried converting to an older version of udev, but that does not help.
 
Old 02-03-2005, 02:28 PM   #3
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
Did you do everything Here
 
Old 02-03-2005, 07:54 PM   #4
atrain
Member
 
Registered: Apr 2004
Location: Toronto, Ontario
Distribution: Gentoo
Posts: 55

Original Poster
Rep: Reputation: 15
yes, of course

When i try and run supertux:

Datadir: /usr/share/games/supertux
Sounds disabled
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".

Error: I could not set up video for 640x480 mode.
The Simple DirectMedia error that occured was:
Couldn't find matching GLX visual

looks like time for reinstall
 
Old 02-03-2005, 08:03 PM   #5
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
Post glxinfo,you need direct rendering,what kind of graphic card do you have.
 
Old 02-03-2005, 08:16 PM   #6
atrain
Member
 
Registered: Apr 2004
Location: Toronto, Ontario
Distribution: Gentoo
Posts: 55

Original Poster
Rep: Reputation: 15
# glxinfo
Segmentation fault
$ sudo glxinfo
name of display: :0.0
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Error: couldn't find RGB GLX visual

visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
----------------------------------------------------------------------
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
0x21 16 tc 1 0 0 c . . 0 0 0 0 0 0 0 0 0 0 0 0 0 None
Segmentation fault


i have a nvidia 5200, but i cant use the nvidia glx because it needs 1024x768, and my 17" monitor died, so im stuck on an old 15" which is whining at 800x600...

but supertux ran fine without glx working before...
 
Old 02-03-2005, 09:41 PM   #7
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
Quote:
Originally posted by atrain
yes, of course

When i try and run supertux:

Datadir: /usr/share/games/supertux
Sounds disabled
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".

Error: I could not set up video for 640x480 mode.
The Simple DirectMedia error that occured was:
Couldn't find matching GLX visual

looks like time for reinstall
looks like it wants glx now
 
Old 02-05-2005, 09:51 PM   #8
atrain
Member
 
Registered: Apr 2004
Location: Toronto, Ontario
Distribution: Gentoo
Posts: 55

Original Poster
Rep: Reputation: 15
ya oviously.....

now kpilot wont load, issue with libreadline, so im recompiling readline....

still havent fixed glx, but pritty sure its something else, because its affecting mplayer too....
 
Old 02-05-2005, 10:44 PM   #9
atrain
Member
 
Registered: Apr 2004
Location: Toronto, Ontario
Distribution: Gentoo
Posts: 55

Original Poster
Rep: Reputation: 15
Now i have things in usr/sbin and /sbin working again, randomly....

im having uft8 issues, where every program gives me "could not find locale "EN_EN" falling back on locale "C"

kpilot loads now, so i was able to finaly sync my palm

Last edited by atrain; 02-05-2005 at 10:45 PM.
 
Old 02-06-2005, 05:50 PM   #10
atrain
Member
 
Registered: Apr 2004
Location: Toronto, Ontario
Distribution: Gentoo
Posts: 55

Original Poster
Rep: Reputation: 15
glx works now. I got a 17" monitor today, so i can use nvidia glx drivers again...

segmation faults when non root users try and use it still....

Last edited by atrain; 02-06-2005 at 06:13 PM.
 
Old 02-06-2005, 07:40 PM   #11
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
Did you;
Code:
gpasswd -a youruser video
 
Old 02-06-2005, 08:43 PM   #12
atrain
Member
 
Registered: Apr 2004
Location: Toronto, Ontario
Distribution: Gentoo
Posts: 55

Original Poster
Rep: Reputation: 15
nope....
 
Old 02-06-2005, 08:56 PM   #13
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
Check it out!
 
Old 02-07-2005, 04:45 PM   #14
atrain
Member
 
Registered: Apr 2004
Location: Toronto, Ontario
Distribution: Gentoo
Posts: 55

Original Poster
Rep: Reputation: 15
Does not help. My user was already in the video group, and nvidia dirvers work fine, as long as its root using them...
 
Old 02-07-2005, 08:31 PM   #15
atrain
Member
 
Registered: Apr 2004
Location: Toronto, Ontario
Distribution: Gentoo
Posts: 55

Original Poster
Rep: Reputation: 15
decided to try sudo chmod 777 /dev/*

it worked....
So I now know that the issue IS a permission issue with UDEV....

Can somebody running gentoo + udev here give me their udev permission file please?
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
New Funky House Forum linuxhaxz General 2 08-03-2005 05:50 PM
Funky Monitor Issue RySk8er30 Linux - Hardware 1 05-28-2005 05:31 PM
Funky terminals TomalakBORG Slackware 1 03-19-2005 03:33 PM
Funky overlapping display Jimi_l Debian 9 08-10-2004 04:36 AM
funky ext3-fs errors Incanus Linux - General 6 07-03-2003 09:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:57 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