View previous topic :: View next topic |
Author |
Message |
McManus Apprentice
Joined: 10 Apr 2002 Posts: 176 Location: Austin, TX
|
Posted: Sat Sep 21, 2002 8:18 pm Post subject: xf86OpenConsole: Server must be suid root |
|
|
(Using Gentoo 1.4_rc1, XFree86_4.2.0, and NVidia vid. card...)
X works for root, but for non-root users I get this error
`xf86OpenConsole: Server must be suid root`
I did some searching on Google and the following two tricks were recommended:
1.) chmod +s XFree86
2.) chmod +s Xwrapper
For the first solution, chmod +s XFree86 doesn't fix anything, I still get the error.
For the second solution, well, I don't even have Xwrapper. I searched for that which led to a moderator pointing to this thread.
Any help/suggestions? _________________ McManus
----
Linux user #267375 - http://counter.li.org |
|
Back to top |
|
|
McManus Apprentice
Joined: 10 Apr 2002 Posts: 176 Location: Austin, TX
|
Posted: Tue Sep 24, 2002 4:46 am Post subject: |
|
|
argh, I give up. I'm just gonna nuke the system and re-install. Maybe it was just a fluke. (if that doesn't work, I might try building the system with -O2 instead of -O3, and then use -O3 for everything else). _________________ McManus
----
Linux user #267375 - http://counter.li.org |
|
Back to top |
|
|
McManus Apprentice
Joined: 10 Apr 2002 Posts: 176 Location: Austin, TX
|
Posted: Tue Oct 01, 2002 11:17 pm Post subject: |
|
|
well, it didn't work. I dunno what's up. I'm gonna play around and see if I can get it working, and if not, then I will try building my system with -O2 (system & X), and then everything else with -O3. C'mon, I know I can't be the _only_ person with this problem? _________________ McManus
----
Linux user #267375 - http://counter.li.org |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Tue Oct 01, 2002 11:20 pm Post subject: |
|
|
Are your permissions for /tmp correct? _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
McManus Apprentice
Joined: 10 Apr 2002 Posts: 176 Location: Austin, TX
|
Posted: Wed Oct 02, 2002 12:05 am Post subject: |
|
|
my permissions for /tmp are:
drwxrwxrwt
(it has the sticky bit set). Is this right? _________________ McManus
----
Linux user #267375 - http://counter.li.org |
|
Back to top |
|
|
Curious Bodhisattva
Joined: 13 May 2002 Posts: 395 Location: Sydney, Australia
|
Posted: Wed Oct 02, 2002 12:37 am Post subject: Re: xf86OpenConsole: Server must be suid root |
|
|
McManus wrote: | For the first solution, chmod +s XFree86 doesn't fix anything, I still get the error. |
XFree86 is owned by root, right? I would probably strace the whole thing and find out where it's perishing.
By the way, seeing as I emerged XFree86 with no problems, is it possible that this is an earlier error, perhaps at a filesystem level? Did you remember to extract your base tarballs with the 'p' option?
Feel free to MSN/PM me if you are still stuck.
-- Curious _________________ Are you down with the Hawk? |
|
Back to top |
|
|
McManus Apprentice
Joined: 10 Apr 2002 Posts: 176 Location: Austin, TX
|
Posted: Wed Oct 02, 2002 4:49 am Post subject: |
|
|
Yeah, it's owned by root, and yes I did install properly (used 'p' option as well ).
What did you mean by the strace? Can you give me an example? BTW, it works for root...
Also, I don't know if I mentioned this, but originally I got the error that /var/log/XFree86.4.0 (or whatever, this is from memory) was not writeable, as only root had permissions to write to it. I changed its permissions to a+rw (it's just a log file) and then I started to get the error about 'suid'. My biggest question right now is why do I not have an Xwrapper? (is that an XFree 3.3.x script and not in XFree 4.2.0?) My other question is whether or not I added my user properly (I've done it about a million times now, and even tried with the 'superadduser' program, but still no go). _________________ McManus
----
Linux user #267375 - http://counter.li.org |
|
Back to top |
|
|
McManus Apprentice
Joined: 10 Apr 2002 Posts: 176 Location: Austin, TX
|
Posted: Thu Oct 03, 2002 7:04 pm Post subject: |
|
|
update: xdm/kdm/gdm works, and I can use X from there... but overall it's still really annoying that I can't just 'startx' from the console, as I'm not very fond of xdm/kdm/gdm, since I have different X layouts (1 monitor, 2 monitor, or 3 monitors) and I dunno how to get xdm/kdm/gdm to play nicely with that. _________________ McManus
----
Linux user #267375 - http://counter.li.org |
|
Back to top |
|
|
McManus Apprentice
Joined: 10 Apr 2002 Posts: 176 Location: Austin, TX
|
Posted: Thu Oct 03, 2002 7:05 pm Post subject: |
|
|
Oh yeah, and -O2 (instead of -O3) didn't make any difference. *sigh*... _________________ McManus
----
Linux user #267375 - http://counter.li.org |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Thu Oct 03, 2002 7:13 pm Post subject: |
|
|
McManus wrote: | What did you mean by the strace? Can you give me an example? |
Code: | # emerge strace
$ strace -f startx |
_________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
McManus Apprentice
Joined: 10 Apr 2002 Posts: 176 Location: Austin, TX
|
Posted: Sat Oct 05, 2002 9:12 am Post subject: |
|
|
Hehe.... well... everything works now. My X issue and my 'su' issue. I don't know why. I re-downloaded the ISO and re-burned it (the file size is/was the same on both, so I guess the first burn was bad). I also used a few different compile options (all I added was -mmmx -msse -m3dnow -fomit-frame-pointer) and whala everything works now. (With the exception of mutt telling me {$HOME}/.maildir is not a mailbox, which I need to fix somehow...)
Thanks!
_________________ McManus
----
Linux user #267375 - http://counter.li.org |
|
Back to top |
|
|
|