Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-11-2003, 07:02 AM
|
#1
|
Member
Registered: Jan 2003
Posts: 64
Rep:
|
DRI / Xwindows / Only working as root?
Hey all:
I have a Radeon 7500, and decided to try and get 3D acceleration working. I went to dri.sourceforge.net and downloaded the latest binary snapshot for radeon, and the 'extras' package. I followed the instructions exactly, and everything installed without difficulty.
Next I edited my XF86config-4 file, addiing:
Load "dri"
Section "DRI
Group 0
Mode 0666
EndSection
As root, I can 'startx' without any problems, and 3d acceleration is working. However, as a normal user X will not start. Unfortunately, a log file is not being generated.
Does anyone have some thoughts on this?
-Charlie
|
|
|
12-11-2003, 02:41 PM
|
#2
|
Member
Registered: Jan 2003
Posts: 64
Original Poster
Rep:
|
suid
Hey all:
Well, after much googling, the answer was that the new XFree86 binary installed from the 'Extras' package was not 'suid root'.
I needed to:
chmod 4711 /usr/X11R6/bin/XFree86
and then all was well.
-Charlie
|
|
|
12-11-2003, 02:49 PM
|
#3
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
The only "mistake" in your first aproach was
the groupid ... you should have set it to 100,
or something common to all users.
And where have you been looking for X's
logfile? I bet it will create a log every time
you run it.
Cheers,
Tink
|
|
|
12-11-2003, 03:47 PM
|
#4
|
Member
Registered: Mar 2003
Location: Berlin
Distribution: Slackware current
Posts: 310
Rep:
|
Re: suid
Quote:
Originally posted by hjles
Well, after much googling, the answer was that the new XFree86 binary installed from the 'Extras' package was not 'suid root'.
|
which package are you talking about? 
|
|
|
12-11-2003, 03:59 PM
|
#5
|
Member
Registered: Jan 2003
Posts: 64
Original Poster
Rep:
|
'Extras'
Hey:
The 'extras' package is available from the downloads section of dri.sourceforge. Basically, I think the binary snapshot for "Radeon" that I downloaded will not work without it, because there is "ABI" incompatibility with the pre-existing slackware Xserver. Keep in mind I am not recompiling Xwindows.
The "extras" is really just a binary XFree86 that use copy to /usr/X11R6/bin, replacing your current XFree86. I originally screwed up as I described before, and Tinkster was so kind to point out!
Of course, I understand very little of all this. I just want 3D to go faster, and now it does!
Tkinkster, isn't the default Slackware XFree86 binary 'suid root'? I'm not sure now...
-Charlie
|
|
|
12-11-2003, 04:52 PM
|
#6
|
Member
Registered: Oct 2003
Posts: 39
Rep:
|
Yup, the default XFree86 in Slackware 9.1 is suid. Full permissions on mine are 4711
|
|
|
All times are GMT -5. The time now is 11:04 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|