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

Re: (fwd) Re: How to do it? [Xserver]



dunham@cse.msu.edu (Steve Dunham) writes:

-> Adam Di Carlo <adam@onshore.com> writes:
-> 
-> > This would make me think you perhaps are using the wrong X server?
-> > Which model of graphics card do you have (or Sun model if you don't
-> > know the card)?  Which X server are you using?
-> 
-> One of our binaries (I think the 3.3.3.x ones in potato, and an
-> unofficial release of 3.3.2.3a) have the "access()" function call
-> removed (by me) because it ignores suid status.  You'll have to get a
-> newer server, or "chmod 666 /dev/fb0".

I have already done it, but it doesn't work. 
+ ls -al /dev/fb0
crw-rw-rw-   1 root     root      29,   0 Aug  6 12:26 /dev/fb0

I 'use' xserver-xsun 3.3.2.3a-11, but i've already tried
xserver-xsun 3.3.3.1-10.1 (from slink and from potato).

Still I can see:

strace of Xsun

access("/dev/fb0", R_OK|W_OK)           = 0
open("/dev/fb0", O_RDWR)                = 6
ioctl(6, FBIOGATTR, 0x2cf4f0)           = 0
ioctl(6, 0x80144604, 0x2c332c)          = 0
access("/dev/fb1", R_OK|W_OK)           = -1 ENOENT (No such file or
directory)
access("/dev/fb2", R_OK|W_OK)           = -1 ENOENT (No such file or
directory)
fstat(6, {st_mode=S_IFCHR|0666, st_rdev=makedev(29, 0), ...}) = 0
--- SIGBUS (Bus error) ---
+++ killed by SIGBUS +++

Any other ideas? Heelp! :-)

C ya!
							-M.
-- 
                email: magic@pg.gda.pl, Technical University of Gdansk, Poland.


Reply to: