[MPlayer-users] Re: gmplayer and SUID
Juan C. Gallardo
jgamo at cantv.net
Tue Jul 22 11:00:20 CEST 2003
I'm sorry I didn't give enough information.
I'm using a old laptop with an ATI videocard, the only way I manage to use
full screen with this video is using the vidix output driver.
This vidix need root permission to access the video memory, and be able to
work.
Reading the mplayer manual they say that or you run the program as a root or
you set the SUID bit.
Because Im the only user in my computer I though it wasn't a problem to set
the SUID bit.
The same as DGA...
I did and it worked fine, but only mplayer.
If you try to run gmplayer it seems like GTK don't allow the program to run
because is surpassing the X-server, and a small message say something about
doing a helper file.. which I have no idea how to do it.
Then looking again in internet I found a "helper" file, the one I wrote
before.
And even though I tried it, it didn't work. That's why I was asking if some
one else knows how to access the gmplayer once set the SUID bit.
I hope this time I explained better my self.
Juan C. Gallardo
----- Original Message -----
From: "Jonathan Rogers" <jonner at teegra.net>
To: "MPlayer user's list." <mplayer-users at mplayerhq.hu>
Sent: Tuesday, July 22, 2003 3:03 PM
Subject: [MPlayer-users] Re: gmplayer and SUID
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> Dominik Mierzejewski wrote:
> > On Monday, 21 July 2003, Juan C. Gallardo wrote:
> >
> >>To be able to use mplayer fullscreen I had to set the SUID bit of the
> >>program.
> >
> >
> > Huh? That's nonsense. Both mplayer and gmplayer work perfectly without
the
> > SUID bit set.
>
> Perhaps you should try RTFMing before blasting someone:
>
> ----------------------------from the docs-------------------------------
> DGA is short for Direct Graphics Access and is a means for a program to
> bypass the X-Server and directly modifying the framebuffer memory.
> Technically spoken this happens by mapping the framebuffer memory into
> the memory range of your process. This is allowed by the kernel only if
> you have superuser privileges. You can get these either by logging in as
> root or by setting the SUID bit on the MPlayer executable (not
recommended).
> ----------------------------from the docs-------------------------------
>
> However, Juan didn't give enough detail and we don't know if he is using
> DGA.
>
> Jonathan Rogers
>
> _______________________________________________
> RTFM!!! http://www.MPlayerHQ.hu/DOCS
> Search: http://www.MPlayerHQ.hu/cgi-bin/htsearch
> http://mplayerhq.hu/mailman/listinfo/mplayer-users
More information about the MPlayer-users
mailing list