Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xf86OpenConsole: Server must be suid root
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
McManus
Apprentice
Apprentice


Joined: 10 Apr 2002
Posts: 176
Location: Austin, TX

PostPosted: Sat Sep 21, 2002 8:18 pm    Post subject: xf86OpenConsole: Server must be suid root Reply with quote

(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
View user's profile Send private message
McManus
Apprentice
Apprentice


Joined: 10 Apr 2002
Posts: 176
Location: Austin, TX

PostPosted: Tue Sep 24, 2002 4:46 am    Post subject: Reply with quote

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
View user's profile Send private message
McManus
Apprentice
Apprentice


Joined: 10 Apr 2002
Posts: 176
Location: Austin, TX

PostPosted: Tue Oct 01, 2002 11:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Tue Oct 01, 2002 11:20 pm    Post subject: Reply with quote

Are your permissions for /tmp correct?
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
McManus
Apprentice
Apprentice


Joined: 10 Apr 2002
Posts: 176
Location: Austin, TX

PostPosted: Wed Oct 02, 2002 12:05 am    Post subject: Reply with quote

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
View user's profile Send private message
Curious
Bodhisattva
Bodhisattva


Joined: 13 May 2002
Posts: 395
Location: Sydney, Australia

PostPosted: Wed Oct 02, 2002 12:37 am    Post subject: Re: xf86OpenConsole: Server must be suid root Reply with quote

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
View user's profile Send private message
McManus
Apprentice
Apprentice


Joined: 10 Apr 2002
Posts: 176
Location: Austin, TX

PostPosted: Wed Oct 02, 2002 4:49 am    Post subject: Reply with quote

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
View user's profile Send private message
McManus
Apprentice
Apprentice


Joined: 10 Apr 2002
Posts: 176
Location: Austin, TX

PostPosted: Thu Oct 03, 2002 7:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
McManus
Apprentice
Apprentice


Joined: 10 Apr 2002
Posts: 176
Location: Austin, TX

PostPosted: Thu Oct 03, 2002 7:05 pm    Post subject: Reply with quote

Oh yeah, and -O2 (instead of -O3) didn't make any difference. *sigh*...
_________________
McManus
----
Linux user #267375 - http://counter.li.org
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Thu Oct 03, 2002 7:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
McManus
Apprentice
Apprentice


Joined: 10 Apr 2002
Posts: 176
Location: Austin, TX

PostPosted: Sat Oct 05, 2002 9:12 am    Post subject: Reply with quote

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!

:oops:
_________________
McManus
----
Linux user #267375 - http://counter.li.org
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum