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

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



Hello Artur,

On 17-Aug-99, you wrote:

AZ> dunham@cse.msu.edu (Steve Dunham) writes:
AZ> 
AZ> -> Adam Di Carlo <adam@onshore.com> writes: ->
AZ> -> > This would make me think you perhaps are using the wrong X
AZ> server? -> > Which model of graphics card do you have (or Sun model
AZ> if you don't -> > know the card)? Which X server are you using? ->
AZ> -> One of our binaries (I think the 3.3.3.x ones in potato, and an
AZ> -> unofficial release of 3.3.2.3a) have the "access()" function call
AZ> -> removed (by me) because it ignores suid status. You'll have to
AZ> get a -> newer server, or "chmod 666 /dev/fb0".
AZ> 
AZ> I have already done it, but it doesn't work. 
AZ> + ls -al /dev/fb0
AZ> crw-rw-rw-   1 root     root      29,   0 Aug  6 12:26 /dev/fb0
AZ> 
AZ> I 'use' xserver-xsun 3.3.2.3a-11, but i've already tried
AZ> xserver-xsun 3.3.3.1-10.1 (from slink and from potato).
AZ> 
AZ> Still I can see:
AZ> 
AZ> strace of Xsun
AZ> 
AZ> access("/dev/fb0", R_OK|W_OK)           = 0
AZ> open("/dev/fb0", O_RDWR)                = 6
AZ> ioctl(6, FBIOGATTR, 0x2cf4f0)           = 0
AZ> ioctl(6, 0x80144604, 0x2c332c)          = 0
AZ> access("/dev/fb1", R_OK|W_OK)           = -1 ENOENT (No such file or
AZ> directory)
AZ> access("/dev/fb2", R_OK|W_OK)           = -1 ENOENT (No such file or
AZ> directory)
AZ> fstat(6, {st_mode=S_IFCHR|0666, st_rdev=makedev(29, 0), ...}) = 0
AZ> --- SIGBUS (Bus error) ---
AZ> +++ killed by SIGBUS +++
AZ> 
AZ> Any other ideas? Heelp! :-)
AZ> 
AZ> C ya!
AZ>                             -M.

It's strange that you haven't got any other fb modes, just /dev/fb0. 
Have you got /dev/fbcurrent?  I'm using the m68k famebuffer device and
got a whole load of /dev/fb'n' and /dev/fb'xx...xx' modes installed by
default.  Can you use fbset with your system?  Were you prompted to
make a Sun specific server or frame buffer server your default X server
when you installed it?

Regards,

LeeE
-- 

http://www.spatial.freeserve.co.uk




Reply to: