Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

XFree86 hates non root users!!! plz help!!!



David Loszewski <stealth215 at mediaone.net> writes:

> I did what you suggested and I still got the same error when trying to 
> do a 'startx' under a different user otherthan root.
> 
> I did  a 'ls -l' on wrapper to see what it came up with for permissions 
> and whis is what I got:
> 
>     sickness# ls -l /usr/X11R6/bin/Xwrapper
>     -rwsr-xr-x  1 root  wheel  7602 Sep  4 20:52 /usr/X11R6/bin/Xwrapper
> 
> thx,
> Dave

Hm. If the binary is set-uid root, but it still complains that it isn't,
then I can think of only two possibilities: either the filesystem it's on
is mounted nosuid, or it's misinterpreting some other condition and 
reporting
it incorrectly. For instance, if it's complaining because it cannot write
to an nfs-mounted directory. 

The third possibility, of course, is that there's another factor I'm 
overlooking :-P

As for the filesystem, here's an example of what I mean:

    % mount
    ....
    /dev/sda3 on / type ext2 (rw)
    ....
    /dev/hdd1 on /disk2 type ext2 (rw,noexec,nosuid,nodev,user=jabr)

Note that my root filesystem is mounted with the option "rw" (read/write),
whereas my /disk2 filesystem is mounted with a bunch of options including
"nosuid". The "nosuid" option tells the system to ignore the set-uid flag
on the file.




-- 
John Abreau / Executive Director, Boston Linux & Unix 
ICQ 28611923 / AIM abreauj / JABBER jabr at jabber.org / YAHOO abreauj
Email jabr at blu.org / WWW http://www.blu.org


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 344 bytes
Desc: not available
URL: <http://lists.blu.org/pipermail/discuss/attachments/20011207/5620fa46/attachment.sig>



BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org